#reyansh-sharma_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1400456833877151885
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Share the sub_xxx please
sub_1RcYsdLK3iTU9phiLcLzmVm8
Is one of the subscription along with few other with same issue.
I don't see a new invoice on 24/6 for that subscription?
Let me check
We created a new invoice on 21/7: in_1RnRBBLK3iTU9phiUgVHEFGj
Was there any delay in payments? Webhook synced the data on 24rth it seems.
Using Invoice paid event to get the information so thought it was created on 24rth
in_1RcYsdLK3iTU9phif4gQR54Z was the initial invoice and it was paid on 21/6
Paid via card which is synchronous so happened immediately on sub creation
Yes that's correct.
I can't speak to any delays on your webhook processing. Our logs are vague now as the event is outside of retention but invoice.paid event seems like it was delivered on 21st to multiple endpoints
All acknowledged with a 2xx response
Assuming you meant the invoice.paid event for second payment on 21st July.
Nope, that's the event for the initial invoice when you created the sub
you asked about 6/24 โ there's no invoice generated around that time at all so not sure what you're referring to
I am so sorry what I meant was:
- First payment on 6/21 for $91.70 --> all good.
- Second payment on 7/24 for $71.66 which was supposed to be created & charged on 21st not 24rth -- Question about this one
Hi, taking over as my teammate needs to step away. Let me catch up.
Sure thanks
You can confirm that the invoice was created at 7/21: https://dashboard.stripe.com/events/evt_1RnRBCLK3iTU9phiIkBxxNwR
However, if Stripe fails to receive a successful response to invoice.created even then finalising all invoices with automatic collection is delayed for up to 72 hours.
Since we did not get 200 on that event as documented here: https://docs.stripe.com/billing/subscriptions/webhooks we waited 72 hours.
Also can you check why the second invoice is of less amount than first?
This is working as expected, and moving forward you will need to ensure that you respond with 200 in this case:
Did you update the subscription with a discount?
Nope I don't think we requested any discount for the invoice/subscription. Is there a discount applied?
It looks like you made a request to pass a coupon: https://dashboard.stripe.com/logs/req_a58irDl3cThdAW on 7/10.
Please review your code and ensure you're not making unintended updates to your subscription
Thanks @daring wharf I think I am good for now with the information provided. Will reach out again in case needed.
Also the 72 hours delay could be related to webhook URL having some issues I will review the logs for the same in case we have any track of the request unless the endpoint was not working on 21st.
There were multiple invoices which were supposed to sync on 21st but all got synced on 24rth.