#Amantel-checkout-webhook-events
1 messages Ā· Page 1 of 1 (latest)
Hey there! You're right, that should work. To confirm you're using Checkout with your test keys?
Jepp. That's the same application.
Can you share the ID of the Checkout Session? Or the event you're expecting to receive?
I use webhook secret that I got from stripe CLI and STRIPE_SECRET_KEY that I got, well, from Stripe
sure
I think the ID of checkout session is... cs_test_a1DcMlse5tZQxz6197hZ0OHAqB7mjFvhNUkaKpV5559nAG1q18CqOAFTsV
Perfect, checking!
All those from Stripe CLI work as expected, but not the one with an email (that's from the app)
Also here is an event ID in question evt_3JxSurFeXtFWFlL105fLbIbj
Also interesting moment.
If you go to event in stripe GUI there is a block 'Webhook attempts'.
And there is nothing there for any of the events - even ones that actually used webhook to send data
So this is the payment_intent.succeeded event related to your Checkout Session: https://dashboard.stripe.com/test/events/evt_3JxT2GFeXtFWFlL10BiPdaY9
Are there any errors in your terminal or your code?
This is expected when you're using the CLI (as you are in this case). You can see them in the section below
"Webhook CLI responses" ? But those are responses... on the other hand that's still OK, I guess
So this is the payment_intent.succeeded event related to your Checkout Session: https://dashboard.stripe.com/test/events/evt_3JxT2GFeXtFWFlL10BiPdaY9
Let's see
I see that in the logs, yes
šµ Charge id: ch_3JxT2GFeXtFWFlL10Qj9P0fl
ā
Success: evt_3JxT2GFeXtFWFlL10BiPdaY9
š° PaymentIntent status: succeeded
ā
Success: evt_3JxT2GFeXtFWFlL10HAhgz7q
š¤·āāļø Unhandled event type: payment_intent.created```
second success
Does that resolve your question?
M... not yet.
Let me try again, from the scratch, to make a payment
So I 'payed', got transfered back to the localwebsite with session info
(cs_test_a1VQCAZetrS0BbQkGgX2LHQzIp1uauPxKOnL6fi0pe0zHskw6cpLwRy0nj / pi_3JxTapFeXtFWFlL11vNpTfEe), but there is nothing on the webhook
oh
hold on
there is!
Sorry, there was a lot of stuff in the log and webhook output got pushed out of the view
Ha! So everything is actually working! Great
Thanks for the help!
Np!