Integrating DoDirect API using php in PayPal
I am trying to get the Paypal issue resolved whereby the users are made to make payments using the Do Direct method of Paypal... please suggest me some sort of开发者_如何学JAVA tutorial for this implementation..
Check the paypal integration center, I think what you're calling "do direct" is the Express checkout process.
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_r_SetExpressCheckout
For Direct payment you have to use the NVP api. Here's an example using Cake PHP and cURL but I think you can port it easily to pure PHP.
http://bakery.cakephp.org/articles/view/paypal-datasource
official paypal docs as SleepyCod pointed out
_https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_NVPAPIOverview#id09C2F060QRO
and
here is a sample code
https://cms.paypal.com/cms_content/US/en_US/files/developer/nvp_DoDirectPayment_php.txt
精彩评论