#redpanda
1 messages · Page 1 of 1 (latest)
hello @tacit junco! are you referring to the invoice status, or subscription status? cause there is no status called draft for a subscription - https://stripe.com/docs/billing/subscriptions/overview#subscription-statuses
Oh, yes I do
sorry @tacit junco, i don't really understand what you meant by yes i do
Sorry, I meant to answer to: are you referring to the invoice status but overread the or part
So it's safe to change things on the subscription while the invoice is in draft state?
e.g. changing cancel_at_period_end / default_payment_method
those are fine and yes, it's fine to update while the invoice is in draft state
Ok one more question I asked above: Does the draft state on the invoice exist when a subscription is renewed?
Or is it just after a trial period for that 1 hour
When subscriptions renew, Stripe:
1. Creates an invoice.
2. Leaves the invoice in a draft state for about an hour.
3. Attempts to finalize and pay the invoice.
4. Changes the invoice status to paid if payment succeeds.
Okay so if I set cancel_at_period_end during draft state for example it would apply to the renewed subscription's period end?
yes, that's right!
Just trying to understand the edge-case where a user would change this during this 1-hour period and then complain with "I pressed cancel and I still got renewed"
If that makes sense
@tacit junco let me test this out and get back to you
It's probably fine since current_period_end also updates in draft state