#shubham_code
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/1225328159965188167
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- shubham_docs, 21 hours ago, 11 messages
- shubham_error, 6 days ago, 22 messages
Setup Intent can only be confirmed when a payment method is collected from the customer. However, there is no payment_method set in https://dashboard.stripe.com/test/logs/req_ugGznabT49gWNa
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
So How do I proceed with saving the card info?
First collect the card info then create setup intent?
Can you provide more information?
Where is your integration on? Web, iOS or Android?
Android
This is the guide to follow: https://docs.stripe.com/payments/save-and-reuse?platform=android&mobile-ui=payment-element
After the Setup Intent is created, the client-side should show Payment Sheet to collect the payment method details to complete the setup process
I'm trying to do the same but the API errors out that I haven't provided a payment method while creating the setup intent
You shouldn't set confirm to true in the request
.setConfirm(true) should only be set if the payment method has been collected
Oh. Sorry understood.
I'd recommend checking Step 2 to see how a Setup Intent should be created: https://docs.stripe.com/payments/save-and-reuse?platform=android&mobile-ui=payment-element#add-server-endpoint