#StaberindeZA-subscription
1 messages · Page 1 of 1 (latest)
It depends on what you're passing in when you update the subscription. What behavior do you want to happen? If you want it to always immediately cut a new Invoice, then are you passing in proration_behavior: always_invoice in your update request?
Ah OK. At the moment we are not passing in any additional parameters. So sometimes it creates an invoice, other times it doesn't.
Yeah if you want it to always create a new invoice you'll need to pass in always_invoice. If you don't pass in anything it'll default to create_prorations and it'll only create an invoice immediately in certain situations (moving from a free price to paid, moving to a price w/ a different interval, etc.)
We talk about this a lot in the API ref for updating a subscription: https://stripe.com/docs/api/subscriptions/update?event_types-payment_intent.payment_failed
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Great, thank you so much. I think that answers my questions. Much appreciated