I think that should be "ssl://" before the domain. On Mon, Nov 19, 2012 at 9:00 AM, Daniel <[email protected]> wrote: > OK, I tried: http://www.sandbox.paypal.com > ... and I got the following error: > > 2012-11-19 13:56:35 Warning: Warning (2): fsockopen() [<a > href='function.fsockopen'>function.fsockopen</a>]: unable to connect to > http://www.sandbox.paypal.com:80 (Unable to find the socket transport > "http" - did you forget to enable it when you configured PHP?) in > [/home/f20easy/epdshadow/Controller/SubsController.php, line 282] > Trace: > fsockopen - [internal], line ?? > SubsController::process_ipn() - APP/Controller/SubsController.php, line 282 > ReflectionMethod::invokeArgs() - [internal], line ?? > Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485 > Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186 > Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161 > [main] - ROOT/public_html/index.php, line 100 > > > On Sunday, 18 November 2012 10:31:07 UTC, Sipatshi wrote: >> >> >> try this: http://www.sandbox.paypal.com >> >> I believe you forgot the http:// >> >> ________________________________ >> Von: Daniel <[email protected]> >> An: [email protected] >> Gesendet: 2:01 Sonntag, 18.November 2012 >> Betreff: No response from PayPal sandbox server >> >> In my controller I have a PayPal IPN listener which can receive a message >> from PayPal. However when it tries to communicate back to PayPal with the >> following command: >> >> $fp = fsockopen('www.sandbox.paypal.com', 443, $errno, $errstr, 30); >> >> ... it causes the following error: >> >> 2012-11-18 00:44:59 Warning: Warning (2): fsockopen() [<a >> href='function.fsockopen'>function.fsockopen</a>]: php_network_getaddresses: >> getaddrinfo failed: Name or service not known in >> [/home/f20easy/epdshadow/Controller/SubsController.php, line 271] >> >> Trace: >> fsockopen - [internal], line ?? >> SubsController::process_ipn() - APP/Controller/SubsController.php, line >> 271 >> >> ReflectionMethod::invokeArgs() - [internal], line ?? >> Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485 >> Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186 >> Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161 >> [main] - ROOT/public_html/index.php, line 100 >> 2012-11-18 00:44:59 Warning: Warning (2): fsockopen() [<a >> href='http://php.net/function.fsockopen'>function.fsockopen</a>]: unable to >> connect to :443 (php_network_getaddresses: getaddrinfo failed: Name or >> service not known) in >> [/home/f20easy/epdshadow/Controller/SubsController.php, line 271] >> >> Trace: >> fsockopen - [internal], line ?? >> SubsController::process_ipn() - APP/Controller/SubsController.php, line >> 271 >> >> ReflectionMethod::invokeArgs() - [internal], line ?? >> Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485 >> Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186 >> Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161 >> [main] - ROOT/public_html/index.php, line 100 >> >> It seems as though the address is not correct. >> >> Thanks. >> -- >> Like Us on FaceBook https://www.facebook.com/CakePHP >> Find us on Twitter http://twitter.com/CakePHP >> >> --- >> You received this message because you are subscribed to the Google Groups >> "CakePHP" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> >> Visit this group at http://groups.google.com/group/cake-php?hl=en. >> >> >> >> > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > Find us on Twitter http://twitter.com/CakePHP > > --- > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > Visit this group at http://groups.google.com/group/cake-php?hl=en. > >
-- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php?hl=en.
