简体   繁体   English

PayPal定期付款API

[英]PayPal Recurring Payments API

I'm working with PayPal Recurring Payments API now. 我现在正在使用PayPal Recurring Payments API。 But it happens that I need a specific feature. 但碰巧我需要一个特定的功能。 Let's think about the following scenario, 让我们考虑以下场景,

  • my costumer has a profile in my website that he pays 100U$ every month, but in a specific month there is a tax he must pay in the next month. 我的客户在我的网站上有一个个人资料,他每月支付100美元,但在特定月份,他必须在下个月缴纳税款。

Is there a way to add a tax just to next month, not as the TAXAMT, that is for all cycle. 有没有办法在下个月增加税,而不是TAXAMT,这适用于所有周期。 In other hand, maybe I want to give a discount to the next payment only, not for complete cycle. 另一方面,也许我只想给下一笔付款打折,而不是完整周期。 Is this possible? 这可能吗?

Recurring Payments profiles are meant to be setup with a single amount that will be charged on a regular basis. 定期付款配置文件旨在设置一个定期收费的金额。 You can adjust the amount, but then you'd have to adjust it back when/if necessary. 您可以调整金额,但是必要时您必须将其调整回来。 Also, if using Recurring Payments with Express Checkout you can only increase the amount by 20% every 90 days (or it might even be 120 days). 此外,如果使用快速结账的定期付款,您每90天只能增加20%(或甚至可能是120天)。

If you need to process additional charges every now and then I would recommend running an Authorization through Express Checkout or Payments Pro depending on what you're using. 如果您需要立即处理额外费用,我建议您根据自己使用的内容通过Express Checkout或Payments Pro运行授权。 You could simply authorize the person's credit card or account using a card verification / $0 authorization . 您可以使用卡验证/ $ 0授权简单地授权此人的信用卡或帐户。

From then on you can process additional payments of variable amounts using Reference Transactions ( DoReferenceTransaction ). 从那时起,您可以使用参考交易( DoReferenceTransaction )处理可变金额的额外付款。

You might also be interested in checking out Adaptive Payments , specifically Preapproval / Pay . 您可能还有兴趣查看自适应付款 ,特别是预付款 / 付款 This allows users to preapprove payments amounts based on criteria specified in the Preapproval request. 这允许用户根据预批准请求中指定的条件预先批准付款金额。 You can then submit payments on their behalf at any time as long as they fall within that preapproval profile. 然后,您可以随时代表他们提交付款,只要这些付款属于预先批准的个人资料。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM