app/concerns/tellimus/subscription.rb in tellimus-0.0.4 vs app/concerns/tellimus/subscription.rb in tellimus-0.1.0
- old
+ new
@@ -30,10 +30,10 @@
prepare_for_upgrade if upgrading?
# update the package level with braintree.
Tellimus.gateway.subscription.update(
self.braintree_id,
- plan_id: self.plan.braintree_id
+ plan_id: self.plan.braintree_id,
prorate_charges: true,
price: self.plan.price
)
finalize_downgrade! if downgrading?