How i implement the billing cycles in a suscription
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I try to implement a frequency in trial section of the api rest to suscription, that is the example of paypal
"billing_cycles": [
{
"frequency": {
"interval_unit": "MONTH",
"interval_count": 1
},
"tenure_type": "TRIAL",
"sequence": 1,
"total_cycles": 1,
"pricing_scheme": {
"fixed_price": {
"value": "10",
"currency_code": "USD"
}
}
},
{
"frequency": {
"interval_unit": "MONTH",
"interval_count": 1
},
"tenure_type": "REGULAR",
"sequence": 2,
"total_cycles": 12,
"pricing_scheme": {
"fixed_price": {
"value": "100",
"currency_code": "USD"
}
}
I need to add 14 days in tenure type "TRIAL" and a when the trial finish immediately start "REGULAR" tenure type a MONTH or ANUAL.
How can an implement this?
in the interval_unit i put the "DAY", i think cause the trial during 14 days.
in interval_count i put "14" the 14 days of trial, i think cause the trial during 14 days.
and in sequence and the total_cycles i not know what i put in both.
I understand in the sequence about the regular tenure_type in the sequence i will put 1 and the total cycles i want to add 99 a long term suscription.
Any help is welcome, thanks in advance
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Load paypal approval_url in popup window using sdk in SDKs
- Paypal Subscription in REST APIs
- Billing Plan override is not allowed due to insufficient permissions in PayPal Payments Standard
- How to implement volume-based subscription for webservice in REST APIs
- Paypal Subscription Checkout Can not process, Error 400 in PayPal Payments Standard