#Oigen

1 messages · Page 1 of 1 (latest)

vagrant oracleBOT
prime wraith
#

Hi there, subscriptoin_update means an invoice is created because an update to a susbcription. For example, change the billing interval (i.e., a monthly price to a yearly price), or the proration_behaviour is set to invoice_immediately.

#

These scenarios are different from invoices created because of subscription_cycle

primal dagger
#

ok, ok. But what about the subscription reason?

prime wraith
#

You mean the billing_reason ?

primal dagger
#

Yeah, I see a separate one in the doc

#

it's called subscription

primal dagger
#

😳

prime wraith
#

Thanks for waiting. Discord is busy and I'm checking on this.

#

subscription is for old invoices where we can't tell subscription_cycle, subscription_update and subscription_threshold apart. New invoices should never set this as state.

primal dagger
#

Could you please explain what does 'old invoices' mean? Is it a previous Stripe behaviour? Or it means, that invoices in some point will be considered as old and billing reason will be set to subscription?

prime wraith
#

Yes that's the behaviour of old Stripe API.