gpt4 book ai didi

paypal - 更改 PayPal 订阅金额

转载 作者:太空宇宙 更新时间:2023-11-03 15:38:56 24 4
gpt4 key购买 nike

我们使用 PayPal 订阅来自动进行每月持续捐款。用户最初创建一个订阅,其中包含一些预先确定的每月捐赠金额(例如,每月 50 美元)。这会创建一个我们通过 IPN 处理的定期订阅。那里一切都好。但是,我们的界面允许用户进入并更改他们每月的捐赠金额,比如从 50 美元/月更改为 100 美元/月。我想知道如何更改 PayPal 订阅以反射(reflect)这个新金额?

PayPal 的 NVP API 中有一个名为“UpdateRecurringPaymentsProfile”的方法,它说我可以更新订阅金额,但不幸的是它说:

对于使用 Express Checkout 的定期付款,付款金额每 180 天增加的幅度不得超过 20%(从创建配置文件时开始)。

(引用:https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_r_UpdateRecurringPaymentsProfile)

老实说,PayPal 的 API 非常困惑,所以我不确定我是否在使用 Express Checkout。 (我们正在使用简单的网站支付标准 API 创建订阅按钮)。

这行得通吗?如果没有,是否有替代方案来实现我们的需求?

谢谢!

最佳答案

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).

我希望重读以上内容,您会意识到您回答了自己的问题:您使用的是网站支付标准 (WPS) 而不是快速结账 (EC)。

使用 WPS,您可以创建一个 subscription modify button但这是非常不灵活的,我不推荐它。

With EC, you can modify subscriptions as well (page 99):

Use the UpdateRecurringPaymentsProfile API to modify a recurring payments profile.

NOTE: You can also modify recurring payments profiles from the PayPal website.

You can only modify the following specific information about an active or suspended profile:

  • Subscriber name or address
  • Past due or outstanding amount
  • Whether to bill the outstanding amount with the next billing cycle
  • Maximum number of failed payments allowed
  • Profile description and reference
  • Number of additional billing cycles
  • Billing amount, tax amount, or shipping amount

NOTE: You cannot modify the billing frequency or billing period of a profile. You can modify the number of billing cycles in the profile.

NOTE: For recurring payments with Express Checkout, certain updates, such as billing amount, are not allowed within 3 days of the scheduled billing date, and an error is returned.

You can modify the following profile information during the trial period or regular payment period:

  • Billing amount (excluding tax and shipping)
  • Number of billing cycles

有了这些信息......为了获得最大的灵 active :

看看创建Billing Agreement IDs through Express Checkout .您将需要在您的 PayPal 帐户上启用引用交易(与商家支持人员联系以完成此操作)。

使用 BAID,您可以控制向客户收费的时间、收费金额,以及与交易相关的几乎所有其他事项。缺点与好处相同……您(请参阅“必须”)控制一切。

关于paypal - 更改 PayPal 订阅金额,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7640723/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com