更改 PayPal 订阅金额
我们使用 PayPal 订阅自动进行每月持续捐款。用户最初创建具有预先确定的每月捐赠金额(例如,50 美元/月)的订阅。这将创建一个定期订阅,我们通过 IPN 对其进行处理。那里一切都好。但是,我们的界面允许用户进入并更改他们的每月捐赠金额,例如从 50 美元/月更改为 100 美元/月。我想知道如何更改 PayPal 订阅以反映这一新金额?
PayPal的NVP API中有一个名为“UpdateRecurringPaymentsProfile”的方法,它说我可以更新订阅金额,但不幸的是它说:
对于使用Express Checkout进行定期付款,每180付款金额最多可以增加20%天(从创建配置文件时开始)。
说实话,PayPal的API非常混乱,所以我不确定我是否使用快速结帐。 (我们正在使用简单的网站支付标准 API 创建订阅按钮)。
这行得通吗?如果没有,是否有其他方法可以实现我们的需求?
谢谢!
We are using PayPal subscriptions to automatically make ongoing monthly donations. The user initially creates a subscription with some pre-determined monthly donation amount (e.g., say $50/month). This creates a recurring subscription which we process by way of IPN. All good there. But, our interface allows the user to come in and change their monthly donation amount, say from $50/month to $100/month. I am wondering how I can change the PayPal subscription to reflect this new amount?
There is a method in PayPal's NVP API called "UpdateRecurringPaymentsProfile" which says I can update the subscription amount, but unfortunately it says:
For recurring payments with Express Checkout, the payment amount can be increased by no more than 20% every 180 days (starting when the profile is created).
To be honest, PayPal's API's are quite confusing so I'm not sure if I am using the Express Checkout or not. (We are creating Subscription buttons using the simple Website Payment Standard API).
Will this work? If not, is there an alternative to achieve what we need?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我希望重读以上内容,您会意识到您回答了自己的问题:您使用的是网站付款标准 (WPS),而不是快速结帐 (EC)。
使用 WPS,您可以创建订阅修改按钮 但这非常不灵活,我不推荐它。
使用 EC,您还可以修改订阅(第 99 页):< /a>
有了这些信息...为了获得最大的灵活性:
查看创建 通过 Express Checkout 的结算协议 ID。您需要在您的 PayPal 帐户上启用参考交易(与商家支持人员联系以完成此操作)。
通过 BAID,您可以控制向客户收费的时间、收费金额以及与交易有关的几乎所有其他内容。缺点与优点相同......您(参见“必须”)控制一切。
I hope rereading the above, you will realize that you answered your own question: You are using Website Payments Standard (WPS) not Express Checkout (EC).
With WPS, you can create a subscription modify button but this is super inflexible and I would not recommend it.
With EC, you can modify subscriptions as well (page 99):
With that information out of the way... For the most flexibility:
Look at creating Billing Agreement IDs through Express Checkout. You will need to get Reference Transactions enabled on your PayPal account (talk to merchant support to get this done).
With a BAID, you control when your customers are charged, how much they are charged, and pretty much anything else having to do with the transaction. The drawback is the same as the benefit.. you (see 'have to') control it all.