我已经设法让我的网站使用 paypal billing CreateRecurringPaymentsProfile 但是我对
的字段感到困惑计费周期和计费频率
如果我将第一个设置为每月,第二个设置为 12,希望它每月向我的客户收费,我会收到以下电子邮件: “计费周期:每12个月” 这是正确的吗?
如果我想让它每天充电怎么办?我尝试了“天”和“365”,它说的是 365 天的计费周期,这对我来说听起来像是每年之后。
我在文档中也找不到任何明确的内容,请指导我。谢谢。
最佳答案
您走在正确的轨道上。来自PayPal docs :
Make one payment per billing cycle. Each billing cycle has 2 components:
- The billing period specifies the unit to calculate the billing cycle (such as days or months).
- The billing frequency specifies the number of billing periods that make up the billing cycle.
For example, if the billing period is Month and the billing frequency is 2, the billing cycle is 2 months. If the billing period is Week and the billing frequency is 6, PayPal schedules the payments every 6 weeks.
在您陈述的示例中,将 BILLINGPERIOD
设置为 Monthly
并将 BILLINGFREQUENCY
设置为 12
将安排付款 每 12 个月一次。
要安排付款每月一次,您必须将BILLINGPERIOD
设置为Monthly
并将BILLINGFREQUENCY
设置为 1
。
同样,要安排每日付款,您必须将BILLINGPERIOD
设置为Day
,将BILLINGFREQUENCY
设置为 1
。
关于PayPal CreateRecurringPaymentsProfile 计费频率,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9278615/