简体   繁体   English

如何设置 PayPal 结账

[英]How do I set up a PayPal checkout

I'm wanting to set up a PayPal checkout button so my customers can buy goods using PayPal.我想设置一个 PayPal 结帐按钮,以便我的客户可以使用 PayPal 购买商品。 I want a solution that relies on the server and it just the client side.我想要一个依赖于服务器而它只是客户端的解决方案。

I have been to the PayPal website and I have found all kinds of methods to enable the setting up of the API but I don't know which one to choose and the site does not explain much so I'm hopping you could tell me which method I should use to set it up?我去过 PayPal 网站,我找到了各种方法来启用 API 的设置,但我不知道该选择哪个,而且该网站也没有太多解释,所以我希望你能告诉我哪种方法我应该用什么方法来设置它?

Thanks谢谢

If you need a Checkout button, one of these demo patterns should get you started如果您需要结帐按钮,这些演示模式之一应该可以帮助您入门

Option #1: No server-side code needed. 选项#1:不需要服务器端代码。

Option #2: Requires server-side code for payment setup and capture. 选项#2:需要使用服务器端代码进行付款设置和捕获。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM