Billing plan with regular cycle and 3 months trial cycle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 🙂
- Labels:
-
Payouts Rest APIs
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- I Have PayPal API Billing Authentication Failure Python-Flask in REST APIs
- [JS-SDK] Trying to upgrade a subscription with a prorata charge, but still can't understand how in SDKs
- Emails after purchase of a Subscription Product in PayPal Payments Standard
- Anyone else have Fraud Filters that are not working? Been like this for about 6 months now in NVP/SOAP APIs
- Missing some transactions in List transactions for subscription API in REST APIs