I'm using paypal as payment gateway and want to create recurring profile like
but when i'm adding BILLINGPERIOD=year&BILLINGFREQUENCY=3
as params,
getting error from paypal api :
And getting Error :
Billing frequency must be > 0 and be less than or equal to one year
Error Message: Invalid billing frequencyError Code: 11516
Error Severity Code: Error
Please help me here.
This isn't possible with the paypal api, you need to create your own mechanism.
From the paypal api:
The combination of BillingPeriod and BillingFrequency cannot exceed one year.
If the billingperiod
is Month
you can set the billingfrequency
to e.g. 1, 4, 9 and 12 but not to 13.
If the billingperiod
is Year
you can set the billingfrequency
only to 1.
Source: https://developer.paypal.com/docs/classic/api/merchant/CreateRecurringPaymentsProfile_API_Operation_NVP/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With