Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow prorate: false on Subscription.update #254

Merged
merged 1 commit into from Sep 16, 2017

Conversation

taylordowns2000
Copy link
Contributor

Hi there,

Stripe allows you to send prorate: false in the post body on Subscription update so that they don't automatically prorate when a customer changes plans. We did this in stripity_stripe 1.6, and I'd like to keep doing it in 2.0.

Have tested and it works for me. Would love to know what you think. I call:

Stripe.Subscription.update(subscription_token, %{plan: plan_name, prorate: false}, [])

Thanks!

Hi there,

Stripe allows you to send `prorate: false` in the post body on Subscription update so that they don't automatically prorate when a customer changes plans. We did this in stripity_stripe 1.6, and I'd like to keep doing it in 2.0.

Have tested and it works for me. Would love to know what you think.

Thanks!
@coveralls
Copy link

Coverage Status

Coverage remained the same at 24.164% when pulling b2ed2c7 on taylordowns2000:patch-1 into d19f529 on code-corps:2.0.

@joshsmith joshsmith merged commit 4e0c656 into beam-community:2.0 Sep 16, 2017
@joshsmith
Copy link
Contributor

Thanks for this! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants