#dat-checkout-fulfillment

1 messages · Page 1 of 1 (latest)

iron vortexBOT
hard sluice
#

dat-checkout-fulfillment

runic kelp
#

I have the checkout session working. Can you reference me the name of the fields so I can store this information in my database?

#

the parameters is what im looking for.

hard sluice
#

The code you shared is to create the Checkout Session. It's before the payment.
What you need to do is look at the information after the payment succeeds. That's what the doc I shared explained

runic kelp
#

oh okay. thank you. Ill get back to you

hard sluice
#

try it in Test mode, complete one and share the Checkout Session id and then I'll show you some parts of it

runic kelp
#

where can I find the checkout session id?

hard sluice
#

it's the cs_test_123. It's the id property when you create that Checkout Session. You really should store this in your database after creation and before redirecting the Customer

runic kelp
#

cs_test_b1svhaE97mPwbQaN49lYpPcPQyq9xcerlyQYbVEaZAwXmLLsBl4VXCbpqq

#

Does this seem about right?

hard sluice
#

This is the checkout.session.completed Event that we send to your WebhookEndpoint after the payment completes on Checkout. It describes the whole Checkout Session and it has details such as customer_details which you were asking about