Sample code or demo for Digital Goods for PayPal Express Checkout in HTML? [closed]

…衆ロ難τιáo~ 提交于 2020-01-23 07:44:50

问题


The documentation for implementing PayPal Express Checkout in HTML is a little cryptic. In particular, we are interested in implementing the Digital Goods for Express Checkout experience in HTML.

Is it similar to the code for the HTML implementation of Website Payments Standard? The documentation for Payments Standard seems clearer to us, but perhaps we are looking in the wrong place. Is there a better resource to consult than this one: https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_IntroducingExpressCheckoutDG

Best of all, could anyone share sample code of an HTML implementation for the Digital Goods for Express Checkout?

Thanks!


回答1:


You will need some sort of server side language to be completely secure with Express Checkout. Express Checkout is not intended to be used only with HTTP POST and GET requests because your API credentials are required, and that can be viewed in a POST/GET.

But Express checkout essentially has 3 API calls, Set, Get, Do.

The Digital Goods feature of Express Checkout works pretty much the same as the standard Express Checkout functionality, except you can use iframes and a 'mini-browser' version of checkout.




回答2:


Here is a post on the PayPal developer blog with sample code:

https://www.x.com/blogs/matt/2011/02/15/another-digital-goods-demo (Link is dead)

It used to contain a working demo, but it was taken down for some reason.



来源:https://stackoverflow.com/questions/5252478/sample-code-or-demo-for-digital-goods-for-paypal-express-checkout-in-html

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!