#aidenispro-checkout

1 messages ยท Page 1 of 1 (latest)

lusty mulch
#

๐Ÿ‘‹ happy to help, would you mind moving your message into this thread?

silver garnet
#

It's all good! I figured how to make it work by using stripe.checkout.sessions.retrieve

lusty mulch
#

you could also listen to the webhook event checkout.session.completed

silver garnet
#

Oh that's cool

lusty mulch
silver garnet
#

Is there also a way to check if a session ID is valid?

#

Oh nevermind I could just use .catch() to catch errors

timber sand
#

Hey, taking over here. Let me know if there's any follow-up Qs I can answer!

silver garnet
timber sand
#

Generally your customer would supply billing/shipping address on the hosted payment page

silver garnet
#

only the country of the purchase

timber sand
silver garnet
#

awesome thanks

timber sand
#

np!

silver garnet
#

@timber sand With checkout.sessions.create how can I allow the user to apply a promotion code?

timber sand
silver garnet
#

Thankyou !!!

timber sand
#

np!