#khadim-yaseen_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/1278344755377471488
📝 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.
- khadim-yaseen_docs, 35 minutes ago, 12 messages
Hello
PaymentRequest button and PaymentElement are a bit different surfaces when it comes to working with payment flows.
When you say
I need a way to confirm the payment method or card before creating the subscription.
What exactly does that mean? Are you trying to make sure it is a valid payment method?
Yes that's what i mean.
Stripe will run a validation when you attempt to confirm the Intent generated for the subscription. But like my colleagues mentioned earlier, there's no real way of knowing if the payment will succeed 100% prior to charging the card.
The equivalent of PaymentRequest button flow you've mentioned would be: https://docs.stripe.com/payments/build-a-two-step-confirmation-legacy
but it has been deprecated in favour of Confirmation Tokens: https://docs.stripe.com/payments/build-a-two-step-confirmation
I can't use a two step integration. I need it to be on the single page.
So Does it mean I can't accept a payment from the user before creating a subscription?
You can't charge the payment method before confirming Intent associated with the subscription invoice, no..
I believe my colleague suggested a workaround which also comes with caveats: #1278321428336480268 message
Okay. Is there a way that Incomplete subscriptions don't get created on stripe dashboard or just doesn't show up there?
You can use filters on the dashboard
Alright Thanks @honest radish
Appreciate your help and time as well🙂