#sébastien

1 messages · Page 1 of 1 (latest)

fleet spadeBOT
frail egret
#

Hello 👋
Are you looking for the payment itself or just the checkout session?

night crest
#

I'm trying to see if in my endpoint I can add a check and verify my public (or secret) key. Is this info (or another that could be useful) found in the request sent by Stripe in POST?

frail egret
#

Are you just trying to make sure that the checkout session came from your own integration?

#

The checkout session ID should look something like cs_test_xxxxx (cs_live_xxxx for livemode)
which you can retrieve using your secret key on server-side which should allow you to confirm if the checkout session belongs to your account

night crest
#

Ok, thanks

frail egret
night crest
#

I will look into it. Thank you again and have a good evening