Hello everyone,
I am trying to implement the following scenario:
My product is a streaming platform where users can subscribe. The subscription/billing plan should look like this:
In the first 3 months the user pays a monthly price of 3 EUR and afterwards the regular monthly price of 10 EUR should be applied.
How should my billing plan look like to achieve this?
I have tried to create a billing plan with a trial and a regular billing cycle. The problem is that for the trial billing cycle total_cycles must be 1, but I need 3 😞 (https://developer.paypal.com/docs/api/subscriptions/v1/#definition-billing_cycle)
This is how my billing plan roughly looks like, but in this case I get an exception with: "INVALID_TRIAL_BILLING_TOTAL_CYCLES","description":"Total cycles for trial billing must be '1'."
{"name":"Billing Plan Test", "description":"Billing Plan Test", "product_id":"XXXXXX", "billing_cycles": [{ "frequency":{"interval_unit":"MONTH","interval_count":1}, "sequence":1, "total_cycles":3, "tenure_type":"TRIAL", "pricing_scheme":{"fixed_price":{"value":3,"currency_code":"EUR"}} },{ "frequency":{"interval_unit":"MONTH","interval_count":1}, "sequence":2, "total_cycles":0, "tenure_type":"REGULAR", "pricing_scheme":{"fixed_price":{"value":10,"currency_code":"EUR"}} }] }
I am new to all this, so maybe my approach is completely wrong? Any help is much appreciated 🙂
... View more