koudoku icon indicating copy to clipboard operation
koudoku copied to clipboard

Disable prorated subscription updates

Open hanchang opened this issue 10 years ago • 5 comments

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

hanchang avatar Apr 14 '14 23:04 hanchang

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 avatar Apr 21 '14 13:04 yas4891

@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.

andrewculver avatar Apr 21 '14 13:04 andrewculver

This would be pretty easy to implement, actually. If anyone wants to jump in and do this, it would be greatly appreciated.

andrewculver avatar Apr 21 '14 14:04 andrewculver

I'm taking a stab at it and will hopefully have a PR with tests by the end of this week.

hanchang avatar Apr 21 '14 17:04 hanchang

@hanchang The PR you provided broke Koudoku. Could you please update it?

Cheers, Christoph

yas4891 avatar Oct 15 '14 18:10 yas4891