#carlosbilangieri_requries-action
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1249701248978915443
📝 Have more to share? Add 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.
- carlosbilangieri_api, 29 minutes ago, 11 messages
- carlosbilangieri_api, 5 days ago, 12 messages
hi there!
what's your question?
the next step with this PaymentIntent is to confirm it on the frontend to start the 3DS flow: https://docs.stripe.com/js/payment_intents/confirm_card_payment#stripe_confirm_card_payment-attached
Hi there👋 jumping in as my teammate needs to step away. How are you surfacing Stripe's UI components in your flow? requires_action indicates your customer needs to take an action in order for the payment to be approved by their issuer. You'll need a way to surface the authentication flow to your customers.
I also see this is a livemode transaction, did you get this working in testmode before attempting to go live with it?
I am creating the payment method using
then I bring back the PaymentIntent info with
And are then processing a payment with it later? Are you intending for that to be an off-session payment? If so, the parameter indicating that is missing.
Ahhh it should be off-session?
If that's the flow you're building, you will need a mechanism to let your customers come back on session and complete authentication requirements if the issuer requires authentication be completed for them to approve a transaction, which is ultimately their decision to make.
I'm not sure, is your customer on session or not when you're processing the subsequent payment?
They are not..
Then yes, that sounds like an off-session payment and I'd suggest setting off_session to true to indicate that:
https://docs.stripe.com/api/payment_intents/create#create_payment_intent-off_session
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Using that will slightly adjust the behavior if the issuer requires authentication be complete, the intent shouldn't move to a requires_action state, but will rather fail.
We discuss in our guide for building this flow here:
https://docs.stripe.com/payments/save-during-payment?platform=web&ui=elements#charge-saved-payment-method
There's still the possibility that the issuer will require authentication on these subsequent payments, in which case the payment will fail and you'll need a way to bring your customer on session so they can provide new payment method details or handle the required authentication challenge.
In testmode, you can use our test cards to simulate that to ensure your flow can handle it as expected:
https://docs.stripe.com/testing#authentication-and-setup
The second card in that section simulates 3DS always needing to be completed for payments to be successful.
Ohhh
I have tested and now got success....
Do you think even using off_session=true it can move to requires_action status?
No, it can't, you can confirm that in testmode, but you seem to still be doing your "testing" in livemode which is creating real payments.
We offer a testmode for testing purposes, and I'd strongly recommend leveraging it while you're still building your flows:
https://docs.stripe.com/test-mode
I know... I did a loads of testing...
Okay, fair, but wanted to flag since there are no testmode requests being made from the account you're using currently.
I have tested using another account... If using the off_session=true and I got the requires_action..
What should I do?
Is there any flow to follow?
Can you share that request ID?
I have not done this test yet... just guessing...
If that happens, you should let me know because that's incorrect system behavior and not what you'll see if you test this.