简体   繁体   English

用于捐赠的Paypal REST API

[英]Paypal REST API for Donations

I'm trying to create a custom form with the ability to process credit card direct donations, as well as paypal account donations, and the ability to select whether the amount paid is a regular monthly donation or a one time. 我正在尝试创建一个自定义表单,能够处理信用卡直接捐赠,以及paypal帐户捐赠,并能够选择支付的金额是每月定期捐赠还是一次性捐赠。 I cannot find documentation anywhere on how to use the paypal REST API for donations. 我无法在任何地方找到有关如何使用paypal REST API进行捐赠的文档。 There doesn't seem to be an intent type for donation anywhere, or any option for monthly or one time payments. 似乎没有任何地方的捐赠意向类型,或任何月度或一次性付款的选项。 Does anyone have any experience with this? 有人对这个有经验么? I understand how the commercial payment API works, but I'm not sure what options need to be changed for donations. 我理解商业支付API的工作原理,但我不确定捐赠需要更改哪些选项。

The easiest way is to add Buy Now button to your site. 最简单的方法是向您的网站添加“ 立即购买”按钮。 It is just plain HTML code, no server code is needed. 它只是简单的HTML代码,不需要服务器代码。 When someone donated you recieve email with details including amount of payment and email of donator. 当有人捐赠时,您会收到电子邮件,其中包含付款金额和捐赠者电子邮件等详细信息。 So you can reply him "Thank you" :) Please note, in some countries you should verify your paypal account before accepting payments. 所以你可以回答他“谢谢”:)请注意,在某些国家/地区,您应该在接受付款之前验证您的PayPal帐户。 It can be done in "View limits" menu. 可以在“查看限制”菜单中完成。

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

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