如何修改 PayPal 定期付款
我正在尝试实现以下场景:
- 用户批准选定包大小的定期每周付款(订阅)
- 用户每周可以: A。 取消特定一周的送货并避免支付本周的费用 b. 仅此一次修改包裹尺寸并减少/增加费用 C。 除了每周套餐之外,添加其他项目并收取费用
查看文档,我没有找到允许我根据需要修改订阅的 API。
有人可以指导我找到正确的文档或提供代码片段吗?
谢谢, 约西
I’m trying to implement the following scenario:
- User approves a recurrent weekly payment (subscription) for a selected package size
- Every week the user can:
a. Cancel a specific week delivery and avoid paying for this week
b. Modify the package size and pay less/more for this time only
c. Add additional items and get charged for them in addition to theweekly package
Looking at the documentation I did not find the APIs that allowing me to modify the subscription according to my needs.
Can someone please direct me to the right documentation or provide a code snippet?
Thanks,
Yossi
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为这是不受支持的。 对于这些用例,您可能希望研究 Spreedly 和 Zuora.com 等订阅管理服务。
I think this is unsupported. You may wish to look into subscription management services like Spreedly and Zuora.com for these use cases.
我不相信这是可能的。 我正在尝试实现类似的事情。 我尝试过的是发布具有免费试用期的订阅修改。 但似乎订阅修改时会忽略试用期参数(a1,t1,p1)。 我发现一些(非官方)参考资料表明免费期无法插入现有订阅中,而这正是我们所需要的。
我很沮丧这不受支持。 我想不出一个干净的方法来解决它。
I don't believe this is possible. I'm trying to implement a similar thing. What I've tried is to issue a subscription modification with a free trial period. But it seems that the trial period parameters (a1,t1,p1) are ignored on a subscription modification. I've found some (unofficial) references that free periods cannot be inserted into an existing subscription, which is exactly what we need.
I'm pretty bummed this isn't supported. I cannot think of a clean way around it.