#Milos Milosevic

1 messages · Page 1 of 1 (latest)

daring pilotBOT
rancid summit
#

Hello! Do you have a checkout sesion ID I can take a look at?

lusty raven
#

In checkout sesson Everything is fine.

So when I try to access in webHook for event payment_intent.successful event.object.data.metadata I have an empty array.

I will send you checkout ID of last created session in 1 hour.

rancid summit
#

Yup if I have the Checkout Session ID I can see what's going on

daring pilotBOT
rancid summit
#

Do yoyu need to wait one hour to send us the checkout session ID? Is there a reason you can't send it now?

lusty raven
#

cs_test_a1P0FTyJ95YS5Km3VBqTnvXumqThKYSNbb0dQ8oR7g8DVWOH5zhZYSsEpJ

#

the whole session is here, no I could not do that before, no special reson why. Thank you in advance!

main veldt
#

That's an open checkout session

#

No payment_intent.succeeded event was sent

#

That's not sent until you successfully pay

#

If you complete the session, you should get payment_intent.succeeded event with your metadata

lusty raven
#

And how I can see that in test version?

main veldt
#

Complete the checkout session

#

with a test card

lusty raven
#

Ok. I have question. If I was in test mode. I created AND completed session with test values (4242...) and event payment_intent.successful occured - AND metadata in payment intent object in event is empty - how to avoid that?

Or... Are you telling me that ONLY in LIVE version I can access to metadata?

main veldt
#

No that should be successful in test mode too

#

Please share a checkout session id where this happened

#

The one you shared earlier was open so it couldn't have been that one

#

Or an event id