#lekt9-checkout-webhook-events
1 messages · Page 1 of 1 (latest)
evt_1LBGMfFZMofI31ocwbSiECri
Ah, you're using the CLI?
We wouldn't show failed CLI attempts in the Dashboard I don't think
I suspect there's an error being thrown in your webhook handler when you try to receive checkout.session.completed events
What CLI command are you using to listen for events?
i’m not using the cli
the stripe dashboard doesn’t include anything on checkout session completed events on the webhooks page
Ah, ok. The webhook you have setup is a Connect webhook: https://dashboard.stripe.com/test/webhooks/we_1L9hMRFZMofI31ockclmV4js
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
That will listen for events on your connected accounts.
i did and included the event
https://dashboard.stripe.com/test/events/evt_1LBGMfFZMofI31ocwbSiECri happened on your platform account
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
So you need to configure a non-Connect webhook
wait let me send a screenshot of my code and dashboard configuration
I'm looking at your Dashboard now
You have a single webhook, which is configured for your connected accounts: https://stripe.com/docs/connect/webhooks
In this case, that checkout.session.completed event fired on your platform account. There's no webhook configured for those events
ah
okay let me give it a shot
awesome! I got the webhook to trigger!
thank you so much!
np!
should I be handling async_payment_succeeded or completed
It depends, what kind of payment methods are you accepting?
card and PayNow
You won't need to concern yourself with async events then as they're both 'instant' PMs
The async events are mostly for banking PMs, where it can take X days for the payment to fail/succeed
thats strange, but async_payment_succeeded triggered when I used paynow
its a qr code payment method
Hmm, reading the docs that shouldn't fire: https://stripe.com/docs/payments/paynow/accept-a-payment?platform=web#web-post-payment
strange, never mind. in any case ill just handle both the same way, there cant be much harm in doing that right?
Can you share that evt_xxx ID?
we_1LBH49FZMofI31ockP24wLZ1
yes this one