#jack-checkout-fulfillment

1 messages · Page 1 of 1 (latest)

wheat shellBOT
idle spruce
#

Hi 👋

What webhook event are you listening to ?

queen canopy
#

checkoutsession

#

completed

#

cs_test_b1OJmIoGXvJvK5sOuvOFISrdfaCi8SWPbBy84MwQXWTUr0X3LcgTg2Ss6v

idle spruce
#

That is going to return the Checkout Session object.

#

The Checkout Session will have the ID for the payment intent and you can use that to retrieve the Payment Intent.

queen canopy
#

i need ID only, but its not there

idle spruce
#

Can you share an example event ID?

queen canopy
#

"id": "evt_1O1tbMFBOk0mujJ7ZAjn3XtZ",

idle spruce
#

Oh

#

The amount is $0

#

So we won't generate a Payment Intent in that case

queen canopy
#

ahh i see
it will be there otherwise right?

idle spruce
#

Yes, if you charge an amount

wheat shellBOT