PayPal Express Checkout示例代码

时间:2011-06-16 10:21:49

标签: jquery paypal

我希望我的网站集成到PayPal Express Check Out。我想知道是否有可能使用JQuery和任何示例或示例代码供我参考...谢谢^^

2 个答案:

答案 0 :(得分:1)

没有。即使你可以,你也会向每个人公开你自己的API凭证。

答案 1 :(得分:1)

http://www.paypalobjects.com/en_US/ebook/PP_APIReference/expresscheckout.html

The Express Checkout API consists of three distinct SOAP requests 
that you make at the three integration points during a customer checkout. 

您可以通过jQuery

执行SOAP请求

http://openlandscape.wordpress.com/2009/09/25/call-soap-xm-web-services-with-jquery-ajax/

,因为您必须拥有与Paypal API通信的凭据,然后您无法仅使用jQuery(前端)

This example assumes that you have set up the mechanism you will 
use to communicate with the PayPal server and have a PayPal business account 
with API credentials.

https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_ECSimpleIntegration

两种类型的Paypal凭证:

https://www.paypalobjects.com/IntegrationCenter/ic_certificate.html