#silicon_28

1 messages · Page 1 of 1 (latest)

glass lintelBOT
boreal umbra
#

Hi there!

jaunty ore
#

hello

boreal umbra
#

Can you share a Checkout Session ID (cs_xxx) where you don't see the metadata?

#

Also which webhook event are you listening to?

jaunty ore
#

checkout.session.completed

jaunty ore
#

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

boreal umbra
#

where to find that
You can share the Checkout Session URL if that's easier

boreal umbra
#

Or just past the ID that is in the URL. It starts with cs_...

jaunty ore
#

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

boreal umbra
#

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.

jaunty ore
boreal umbra
#

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

jaunty ore
#

I'll post my webhook code here

boreal umbra
#

It's not code, it's the configuration in your dashboard

jaunty ore
#

hmm

boreal umbra
#

You are currently only listening to payment_intent.succeeded (see screenshot above)

jaunty ore
#

Oh

#

do they change when i switch from test mode to live mode ?

#

Oh my god it worked.

boreal umbra
#

You have two different webhook endpoint. The one in test mode is correctly configured:

jaunty ore
#

I can finally launch my website

boreal umbra
#

That's great to hear 🙂

jaunty ore
#

Thank you so much for helping.