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