#StaberindeZA-subscription

1 messages · Page 1 of 1 (latest)

coarse heath
#

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?

harsh rampart
#

Ah OK. At the moment we are not passing in any additional parameters. So sometimes it creates an invoice, other times it doesn't.

coarse heath
#

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

harsh rampart
#

Oh I see that makes sense.

#

Do you happen to know where this is documented?

coarse heath
harsh rampart
#

Great, thank you so much. I think that answers my questions. Much appreciated