infinite subscriptions (subscription with infinite plan)

fajnalowiec
Contributor
Contributor

Hi, so the quesion is: "how to properly create infinite subscription"? By infinite, I mean without showing strange numbers like "998 installments":
kupka.png

The first line "$100 billed every 3 months" is my description and it's ok. The next two lines are build automatically based on the billing cycles connected with the plan. The 2nd billing cycle should be infinite. I dont want to show the user strange numbers like 998. If it's infinite it should be written: "infinite (with anytime cancel option)" or smth which makes more sense and does not look strange.

There's also bug in your api:

https://developer.paypal.com/docs/api/subscriptions/v1/#definition-billing_cycle

Total cycles Maximum value is 998, not 999. Probably validation comparison error.

Let me know please, how I should handle this scenario.

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

dario_persia
New Community Member

Try to use "auto_renewal = true".

https://developer.paypal.com/docs/api/subscriptions/v1/#subscriptions

 

"Indicates whether the subscription auto-renews after the billing cycles complete."

 

Hope this is usefull.

View solution in original post

Login to Me Too
3 REPLIES 3

dario_persia
New Community Member

I've the same problem. Any idea?

Login to Me Too
Solved

dario_persia
New Community Member

Try to use "auto_renewal = true".

https://developer.paypal.com/docs/api/subscriptions/v1/#subscriptions

 

"Indicates whether the subscription auto-renews after the billing cycles complete."

 

Hope this is usefull.

Login to Me Too

fajnalowiec
Contributor
Contributor

yes, I was thinking about the same 🙂

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.