#jack11sparrow
1 messages · Page 1 of 1 (latest)
sure
"sub_1Nj70xFBOk0mujJ7kEZ9Qmpf"
Thanks! Give me a few minutes to look into this.
but renewal still failed
Why do you say that? I don't see any failed payment
its a subscription
so it should be renewwd after a day right?
why do we no receive any invoice.paid webhook request after a day?
The payment method is correctly set. However I see the invoices are still in draft status... looking into this.
Oh I fund the issue
Stripe sent you a webhook event invoice.created here: https://dashboard.stripe.com/test/events/evt_1NjTW1FBOk0mujJ7JelG6oiS
But your server returned a 500 error. In this case the invoice stays in draft status for three days instead of an hour.
So if you want the invoice to be finalized and paid, you shoudl fix your webhook endpoint.
This is expained here: https://stripe.com/docs/billing/subscriptions/webhooks#successful-invoice-finalization
what if we stop listening to this webhook, will that fix it
we only care about invoice.paid
what if we stop listening to this webhook, will that fix it
Yes that should work also
okay also one more thing is there any way to check this without waiting for a day
it takes a lot of time, as for one small fix we need to wait another day
Yes, use Test Clocks: https://stripe.com/docs/billing/testing/test-clocks
Yes, that was created specifically for subscriptions.