#cajcek_webhooks
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1255102778682900532
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
how can I listen for payment for a subscription or rejection of payment for a given subscription?
https://docs.stripe.com/billing/subscriptions/webhooks#payment-failures
ok, but currently I have bug with payments failures. When I try pay card eq:
4000000000009995 (card from this site https://docs.stripe.com/testing?testing-method=card-numbers#declined-payments) I have status code 200
and webhooks trigger payment_intent.payment_succeeded: paid
Can you share the eventId ?
yep
Thanks!
evt_3PVVvFDLkyBvca6o0mNxWMmc
The related payment_intent pi_3PVVvFDLkyBvca6o0v5HASGX was paid using this payment_method pm_1PVDi7DLkyBvca6oZA2Mn4WK which is 4242 card and not the one you were referring to.
You can check this using Stripe Dashboard
https://dashboard.stripe.com/test/payments/pi_3PVVvFDLkyBvca6o0v5HASGX
No worries, it happens!
Last question:
How can I check if the subscription has been paid? For which webhook?
super! thanks a lot!