#silicon_28
1 messages · Page 1 of 1 (latest)
Hi there!
hello
Can you share a Checkout Session ID (cs_xxx) where you don't see the metadata?
Also which webhook event are you listening to?
checkout.session.completed
where to find that
Hey i've found 2 records one with real card and one with 4242 test card can i send you the screen shot in dm
where to find that
You can share the Checkout Session URL if that's easier
in dm ?
Or just past the ID that is in the URL. It starts with cs_...
Oh wait I was looking at payment_intent.completed.
checkout.session.completed
does have the metadata however after i completed real payment it didn't send webhook to my server
Anyways here's the code : cs_live_a1rXOEUt5voCba0Z7u2UZ0sJ1PTy1NHf0IPWuo98YM0SjnmBvDDH82LGN8
the one with sent webhook is test and the one without any webhook is the live
Oh wait I was looking at payment_intent.completed.
Yes the metadata set on the Chekcout Session is only visible on the Checkout Session object.
After completing the payment it didn't send webhook to my server with live mode. it only sends the webhook in test mode
Your live webhook endpoint is not configured to listen to checkout.session.completed
So you need to update it, you can do so directly in your dashboard
I'll post my webhook code here
hmm
You are currently only listening to payment_intent.succeeded (see screenshot above)
You have two different webhook endpoint. The one in test mode is correctly configured:
I can finally launch my website
That's great to hear 🙂
Thank you so much for helping.