更改 PayPal 订阅金额

发布于 2024-12-08 01:27:23 字数 768 浏览 0 评论 0原文

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

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非常混乱,所以我不确定我是否使用快速结帐。 (我们正在使用简单的网站支付标准 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).

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

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 技术交流群。

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

发布评论

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

评论(1

颜漓半夏 2024-12-15 01:27:23

我不确定我是否使用快速结账。 (我们正在使用简单的网站支付标准 API 创建订阅按钮)。

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

使用 WPS,您可以创建订阅修改按钮 但这非常不灵活,我不推荐它。

使用 EC,您还可以修改订阅(第 99 页):< /a>

使用 UpdateRecurringPaymentsProfile API 修改定期付款资料。

注意:您还可以从 PayPal 网站修改定期付款资料。

您只能修改有关活动或暂停的个人资料的以下特定信息:

  • 订阅者姓名或地址
  • 逾期或未付金额
  • 是否在下一个结算周期对未结金额进行结算
  • 允许的最大付款失败次数
  • 个人资料描述和参考
  • 额外结算周期数
  • 帐单金额、税额或运费金额

注意:您无法修改配置文件的计费频率或计费周期。你可以
修改配置文件中的计费周期数。

注意:对于使用 Express Checkout 进行定期付款,某些更新(例如账单)
金额,在预定账单日期的 3 天内不允许,并且错误
回来了。

您可以在试用期间或定期付款期间修改以下个人资料信息
期间:

  • 账单金额(不含税费和运费)
  • 计费周期数

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

查看创建 通过 Express Checkout 的结算协议 ID。您需要在您的 PayPal 帐户上启用参考交易(与商家支持人员联系以完成此操作)。

通过 BAID,您可以控制向客户收费的时间、收费金额以及与交易有关的几乎所有其他内容。缺点与优点相同......您(参见“必须”)控制一切。

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

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

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

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.

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