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:
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!
A subscription allows you to charge your customers automatically in monthly increments for a service or product.
Full disclosure: I work at Braintree. If you have any further questions, feel free to contact support.
Your proposed solution would work. You can't update an existing subscription's billing frequency.
As a workaround, you can cancel the existing subscription in either the Control Panel or using subscription.cancel. Then, create a new one that factors in the old subscription's balance using add discounts or add-ons.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With