Hi all Braintree experts (and others)
We are currently working on this app which uses Braintree for all the payment stuff.
The idea is pretty simple; an user can either subscribe for a monthly or yearly membership.
For some reason Braintree decided us not to update an existing subscription from monthly to yearly and visa versa so easily.
If you are stubborn like me and try it any way, you'll receive the following error message:
Cannot update subscription to a plan with a different billing frequency.
Updating a subscription within the same billing cycle comes with the neath option; proratedCharges
, which calculates and handles the difference in price.
Now my question is: What is the best way to change from monthly to yearly (and visa versa) with the difference in price calculated and handled (like proratedCharges does)?
I was thinking of:
- Checking the balance of the current subscription
- Canceling the current subscription
- Creating a new subscription with the difference from the balance included (one time discount, or price increase, not even sure if that's possible)
Because Braintree doesn't really says a lot for this matter, and the fact that money will be involved, I really want to get this done right. So I am validating with you guys. Thanks!