如何修改 PayPal 定期付款

发布于 2024-07-18 08:42:04 字数 252 浏览 6 评论 0原文

我正在尝试实现以下场景:

  1. 用户批准选定包大小的定期每周付款(订阅)
  2. 用户每周可以: A。 取消特定一周的送货并避免支付本周的费用 b. 仅此一次修改包裹尺寸并减少/增加费用 C。 除了每周套餐之外,添加其他项目并收取费用

查看文档,我没有找到允许我根据需要修改订阅的 API。

有人可以指导我找到正确的文档或提供代码片段吗?

谢谢, 约西

I’m trying to implement the following scenario:

  1. User approves a recurrent weekly payment (subscription) for a selected package size
  2. 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

猫七 2024-07-25 08:42:04

我认为这是不受支持的。 对于这些用例,您可能希望研究 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.

白昼 2024-07-25 08:42:04

我不相信这是可能的。 我正在尝试实现类似的事情。 我尝试过的是发布具有免费试用期的订阅修改。 但似乎订阅修改时会忽略试用期参数(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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文