koudoku
koudoku copied to clipboard
Disable prorated subscription updates
Right now it doesn't seem like there's a way to specify that updates in subscriptions should not refund a prorated amount.
https://stackoverflow.com/questions/18221899/turning-off-prorating-of-subscription-for-stripe-in-rails-to-refund-full-amount
Hi,
The link you provided points to a question that is about Stripe in general and does not seem specific to Koudoku. Could you explain how this affects koudoku?
Cheers, Christoph
@yas4891 Disabling the proration of subscriptions is a flag that's passed when a customer changes their plan, so providing the option for this flag to be set would be something internal to Koudoku and probably configured via the koudoku.rb
initializer.
This would be pretty easy to implement, actually. If anyone wants to jump in and do this, it would be greatly appreciated.
I'm taking a stab at it and will hopefully have a PR with tests by the end of this week.
@hanchang The PR you provided broke Koudoku. Could you please update it?
Cheers, Christoph