Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PayPal CreateRecurringPaymentsProfile Billing frequency

I have manage to get my site to work with paypal billing CreateRecurringPaymentsProfile however I am confused regarding the fields of

BILLINGPERIOD & BILLINGFREQUENCY

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?

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.

like image 370
Usman Zaheer Avatar asked Feb 14 '12 14:02

Usman Zaheer


1 Answers

You're on the right track. From the 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.

In your stated example, setting BILLINGPERIOD to Monthly and BILLINGFREQUENCY to 12 will schedule payments once every 12 months.

To schedule payments once each month, you must set BILLINGPERIOD to Monthly and BILLINGFREQUENCY to 1.

Similarly, to schedule payments daily, you must set BILLINGPERIOD to Day and BILLINGFREQUENCY to 1.

like image 110
Josh Avatar answered Sep 23 '22 05:09

Josh