OK, I tried: http://www.sandbox.paypal.com
... and I got the following error:
... 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
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.comI believe you forgot the http://
Von: Daniel <danw...@gmail.com>
An: cake...@googlegroups.com
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 1002012-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 100It 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 cake...@googlegroups.com.
To unsubscribe from this group, send email to cake-php+u...@googlegroups.com .
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 cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
No comments:
Post a Comment