#bp_api
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/1220260629042958346
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hmm where do you need to set the payment_method before you know it?
SetupIntent will create a payment method when you confirm it via one of our SDK
when we generate the setup_intent, is the only thing we need to pass in, the stripe customer ID?
How did you confirm this SetupIntent? req_Bb1vP3SbK84Xpb
Yes you pass in the customer_id and that's good
I have been generating them with the CLI just to test my PaymentElement
But if i dont give the CLI a payment_method it fails as it needs a payment_method according to the network tab logs
You mean the confirmation step?
Or the creation step?
The request you shared is the confirmation step btw: https://dashboard.stripe.com/test/logs/req_Bb1vP3SbK84Xpb It looks like using a frontend SDK
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
What is the confirmation step?
So for a SetupIntent you have 2 steps of Creating and Confirm. Creating is just ... creating an "intention" where Confirm is when you supply a real payment information of the customer to it
It's step 4 vs. step 5 on this guide