我想将 Paypal 整合到我的成员(member)网站。在我检查了 paypal 文档后,我意识到我找不到任何关于如何更改用户订阅计划的信息,例如一些用户成为“基本”计划但在被要求使用“专业”之后。
在 api 文档中找不到此函数 https://developer.paypal.com/docs/api/subscriptions/v1/#subscriptions
这样做的最佳做法是什么?
最佳答案
根据 https://developer.paypal.com/docs/subscriptions/customize/revise-subscriptions/
You can upgrade or downgrade a subscription by changing the plan and/or quantity of the subscription. Changing from one plan to another is allowed only across plans within the same product.
For example, you can revise a subscription from a $10 basic plan to a $14 premium plan, or revise a five software licenses monthly subscription to 10 licenses per month.
Subscription revisions require the buyer's consent. If the buyer doesn't consent, they continue to be billed according to their current subscription. All successful revisions are effective in the next billing cycle.
虽然有时“修订订阅”部分未正确呈现,但已记录在此处。 https://developer.paypal.com/api/subscriptions/v1/#subscriptions_revise
关于paypal - 我如何更改 paypal api 中的订阅计划,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56653622/