#pengz_docs
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1262867614586372217
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello, it should - yes!
Thanks Hanzo. Could you please clarify how we're supposed to use the Confirmation Token? Are we supposed to create it once a customer has filled out the form? And are we supposed to then send that token to Stripe API when we want to retrieve the customer's payment info?
Its step 4 and 5 in the doc you shared...
When the customer fills out the payment method details, you'd create confirmation token which you can choose to send to your server-side code (step 4)
Your server-side code would retrieve the token to see payment method details (step 5) and use that to build the page that'd be your
"review their credit card details a few pages later"
Then once customer clicks checkout, you'd create the PaymentIntent and confirm payment (step 6 and 7)
Ah i see. So its important that we store this token somewhere once we've created it right?
Yup
Got it. Thank you for your help