#jojilede
1 messages ยท Page 1 of 1 (latest)
Hello, can you send me the ID of an invoice for each of those scenarios? (in_123)
As in one that did autocharge and one that did not because of the discount
I can take a better look when I see how they specifically are configured
thanks ๐
didn't autocharge bc of the discount:
in_1NGk1BDTISXyBnp6VtXYcWpd
you know what I maybe dumb bc the issue is raised to me by somebody as described. but some invoices are really incomplete regardless if they have discount or not.
this is the last that worked on the dev:
in_1MUcmqDTISXyBnp6JyHzdLBk
Gotcha, that is good to know that you are seeing this regardless. Will see what you may need to do here
that last one worked. I'm thinking it maybe because of the card, but this is a stripe test card tho.
or the limit. not sure, hope you can help me thanks ๐
I think you may just need to advance the test clock time for that first subscription. In your finalize request, I can see that we returned a next_payment_attempt of 1686157200 (2023-06-07 17:00:00)
https://dashboard.stripe.com/test/logs/req_6RSQpwXJe12TmA
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
But looking at your test clock, its frozen time is an hour before then (2023-06-07 16:00:00)
I will look at the other invoice to check what happened differently, but that first invoice would charge automatically in production, just an hour after it was finalized.
gotcha, so this could just be happening only in dev right?
Yes, kind of. You would see the same behavior in prod, but the test clock is keeping time frozen at one point which seems to be what is keeping the invoice from charging automatically.
Understood. I will try moving the test clock
Yep and I confirmed this is the same thing with the other test invoice. We show a next_payment_attempt an hour after the invoice finalized and then an hour later we actually charged the invoice https://dashboard.stripe.com/test/logs/req_cPH6zgmSt75Drl
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
CONFIRMED! HAHA YEAH it worked
dang sorry, I panicked bc this is supposed to be deployed in prod soon.
No worries, totally get it. This exact thing tripped me up last week actually