PayPal CreateRecurringPaymentsProfile 计费频率 [英] PayPal CreateRecurringPaymentsProfile Billing frequency
问题描述
我已经设法让我的网站使用贝宝计费 CreateRecurringPaymentsProfile 但是我对
I have manage to get my site to work with paypal billing CreateRecurringPaymentsProfile however I am confused regarding the fields of
计费周期和计费频率
如果我将第一个设置为每月,第二个设置为 12,希望它可以每月向我的客户收费,我会收到以下电子邮件:计费周期:每12个月"这是正确的吗?
If I set first to Monthly and second to 12 hoping it would charge my customers each month I get this is email: "Billing cycle:Every 12 Months" Is this correct?
如果我想让它每天充电怎么办?我尝试过天"和365",它说计费周期为 365 天,对我来说听起来像是每年之后.
What if I want it to charge daily? I tried doing 'Day' and '365' and it said billing cycle 365 days which sounds to me like after every year.
我在文档中也找不到任何明确的内容,所以请指导我.谢谢.
I couldn't find anything clear in the documentation as well so kindly direct me. Thanks.
推荐答案
您走在正确的轨道上.来自 PayPal 文档:
You're on the right track. From the PayPal docs:
每个结算周期支付一次.每个计费周期有 2组件:
Make one payment per billing cycle. Each billing cycle has 2 components:
- 计费周期指定计算计费周期的单位(如天或月).
- 计费频率指定构成计费周期的计费周期数.
例如,如果计费周期为月,计费频率为2,计费周期为2个月.如果计费周期是周并且计费频率为 6,PayPal 每 6 次安排付款几周.
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 个月一次.
In your stated example, setting BILLINGPERIOD
to Monthly
and BILLINGFREQUENCY
to 12
will schedule payments once every 12 months.
要安排付款每月一次,您必须将 BILLINGPERIOD
设置为 Monthly
并将 BILLINGFREQUENCY
设置为 1
.
To schedule payments once each month, you must set BILLINGPERIOD
to Monthly
and BILLINGFREQUENCY
to 1
.
同样,要安排每日付款,您必须将BILLINGPERIOD
设置为Day
并将BILLINGFREQUENCY
设置为1
.
Similarly, to schedule payments daily, you must set BILLINGPERIOD
to Day
and BILLINGFREQUENCY
to 1
.
这篇关于PayPal CreateRecurringPaymentsProfile 计费频率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!