[英]PayPal REST API Recurring Payments, but strategy for 1 payment / 6 months?
I have a nicely working recurring payments setup with the PayPal REST API. 我使用PayPal REST API进行了很好的定期付款设置。 However, I am scratching my head how to get this payment strategy to work:
但是,我正在摸索如何使这种付款策略生效:
__> 6 month long subscription cycle, infinitely repeating. __> 6个月的订阅周期,无限重复。 __> one-time payment for the 6-month period paid at start of subscription.
__>在订阅开始时支付的6个月期间的一次性付款。
For this I assume it would be an INFINITE setting, but the API does not have a setting for 6-months, only billing cycles for DAY, WEEK, MONTH, and YEAR. 为此,我假设它将是INFINITE设置,但是API没有6个月的设置,只有DAY,WEEK,MONTH和YEAR的计费周期。
Any thoughts or suggestions? 有什么想法或建议吗?
I think you just need to set the frequency_interval
to 6 and the frequency
to MONTH
in the billing plan's payment definition . 我想,你只需要设置
frequency_interval
6和frequency
,以MONTH
的计费计划的支付定义 。
frequency_interval string
frequency_interval 字符串
The interval at which the customer can be charged.
可以向客户收费的时间间隔。 Value cannot be greater than 12 months.
价值不能超过12个月。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.