https://www.paypalobjects.com/en_US/ebook/PP_Sandbox_UserGuide/testing_ec_with_nvp.html
https://www.paypalobjects.com/en_US/ebook/PP_Sandbox_UserGuide/testing_ec_with_nvp.html
I created paypal sandbox account both buyer and seller. In seller account i created one buy button then i include in my application. the NVP is working fine and give's ack but How to call the webservice in $.ajax. How to set the header and how to pass as JSOn? thanks in advance
我创建了paypal沙盒帐户买家和卖家。在卖家帐户中我创建了一个购买按钮,然后我包含在我的应用程序中NVP工作正常并给出了确认但如何在$ .ajax中调用web服务。如何设置标题以及如何传递为JSOn?提前致谢
1 个解决方案
#1
0
You can't use the PayPal API's through jQuery. This sort of thing must be processed server-side.
你不能通过jQuery使用PayPal API。这种事情必须在服务器端处理。
#1
0
You can't use the PayPal API's through jQuery. This sort of thing must be processed server-side.
你不能通过jQuery使用PayPal API。这种事情必须在服务器端处理。