integrate paypal payments advanced with curl in php -


I need to integrate advanced paypal payments into a website. I have configured the necessary settings on manager.paypal.com .

I am now using the safe http request curl. But curl_exec does not return anything here is my code. I have confirmed that all the variables have the correct values.

  $ ch = curl_init (); Curl_setopt ($ CH, CURLOPT_URL, $ pf_host_addr); Curl_setopt ($ CH, CURLOPT_RETURNTRANSFER, TRUE); Curl_setopt ($ ch, CURLOPT_POST, true); Curl_setopt ($ ch, CURLOPT_POSTFIELDS, $ postdata); $ Resp = curl_exec ($ ch); If (! $ Resp) {return "

unsuccessful "; }

I failed as output

official document This page is quite useful



Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -