|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-12-30 08:30 UTC] stas@php.net
-Status: Open
+Status: Not a bug
[2014-12-30 08:30 UTC] stas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 21:00:01 2025 UTC |
Description: ------------ $ch = curl_init(); $url = 'api-3t.sandbox.paypal.com'.'?'. http_build_query($params); curl_setopt_array($ch, array( CURLOPT_URL => $url, CURLOPT_RETURNTRANSFER => 1 ) ); if(!$response = curl_exec($ch)) { trigger_error(curl_error($ch)); } curl_close($ch); parse_str($response, $arrResponse); print_r($arrResponse); exit; Test script: --------------- working on paypal integartion using php....during making a call to paypal sandbox account API i am gettinng Recv Failure error....i am confusing this error is related to coding or ssl and firewall Please help me out for this problem. Expected result: ---------------- after authenticating to paypal it will return ACk = Success Actual result: -------------- after authenticating to paypal it will return ACk = Success