#shimmmaz
1 messages · Page 1 of 1 (latest)
Hi. Could you please summarise the question?
What's the Invoice ID?
This invoice went from draft to paid without going through finalized before: in_1NGIyMCFsGKEw9heJRNzm3Io
my flow depends on the invoice first finalizing and then getting paid
I see that it was paid the moment it after it was finalized. You didn't receive the webhook notification?
Are you with me?
"status_transitions": {
"finalized_at": 1696114800,
"marked_uncollectible_at": null,
"paid_at": 1696114800,
"voided_at": null
},
finalized and paid are at the same moment. Does this just happen because I am in test mode and using test clocks?
will it behave differently in live?
Is it only a single instance of this behavior?
no it happens for every invoice I am using with test clocks
Have you tried using Invoices in Test mode, but without Test clocks?
How do I test a scheduled subscription becoming active and paid without using test clocks?
I need to create an invoice on my end and then mark it as paid when it is paid.
I recommend you do it in one step, in both cases:
- if the event is
invoice.finalized- create your invoice - if the event is
invoice.paid- create your invoice and mark it as paid
I like that, will do.
Now I have this problem:
https://stripe.com/docs/error-codes#customer-max-subscriptions Why am I getting this error, or is this a test account kind of error?
This is Test clock issue. You can just create another one, there's no limit on Test clocks.