jaymedavis / stripe.net

Maintained by Stripe
https://github.com/stripe/stripe-dotnet
Apache License 2.0
4 stars 0 forks source link

Update a subscription - This isn't an issue #1

Open mokumax opened 7 years ago

mokumax commented 7 years ago

Hi,

Is there a way to update a customer's existing subscription using this library? If so, could you point me in the right direction? I've been able to create the customer and subscription but can't figure out how to change it.

Thanks,

Iamabdul commented 6 years ago

You can upgrade and downgrade a plan for the subscription, which is kind of a work around for what you're looking for if you want to change the price of a subscription. https://stripe.com/docs/subscriptions/upgrading-downgrading , let me know if that helps?

jaymedavis commented 6 years ago

From the thread on the maintenance repo, seems this is probably handled now @mokumax? The answer was using the BillingCycleAnchor on the update option I believe, for passers by.

p.s. [ oops ]