Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Braintree update subscription from monthly to yearly [closed]

Tags:

braintree

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!

like image 395
Jim Vercoelen Avatar asked Apr 20 '17 08:04

Jim Vercoelen


People also ask

What is Braintree subscription?

A subscription allows you to charge your customers automatically in monthly increments for a service or product.


Video Answer


1 Answers

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.

like image 132
hollabaq Avatar answered Jan 04 '23 00:01

hollabaq