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
... View more