#tarjei_off-session-3ds
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/1252630213414617159
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi ๐ can you tell me a bit more about the subsequent payment? Are you making a call to pay an existing Invoice, or are you creating a new Payment Intent for that payment?
Hi
The first
We explicitly confirm the paymentintent for the latest unpaid invoice
Gotcha, are you setting off_session to true to indicate you're doing that off session?
yep ๐
Or is the concern here moreso that you're being prompted for 3DS twice?
SetupFutureUsage = "off_session"
That's a different parameter
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
tarjei_off-session-3ds
so, I tried this and I still only get use_stripe_sdk as the next_action
Can you share an example? What are you expecting to see instead?
I'm expecting to get a redirect url instead
Can I send you the ID of the paymentintent?
Yeah, that'll work
pi_3PT3dIDUHs147Fvg3GcPocbV
Thank you, taking a look
cheers
It looks like the most recent confirmation request for that hit an error:
https://dashboard.stripe.com/test/logs/req_UBLGCFvvlGTw5j
because you're trying to use setup_future_usage and off_session together, which doesn't make sense and isn't supported.
You're using an already set up Payment Method for this confirmation request?
Ok
Yeah, fetching the id from the latest invoice if unpaid
in this situation the payment method should already be set up for future usage so I guess we can get rid of that
Well, not really, I think. Because I'm realizing you aren't creating these intents, so I think that setting is set for you.
right
Hello there
I'm jumping in to help out as the server is busy today.
Is there any specific reason you're handling 3DS manually? Just want to be on the same page here ๐
I think the issue here is possibly due to how you're providing an existing payment method and also setting setup_future_usage to off_session at the same time...
https://dashboard.stripe.com/test/logs/req_bVgvnQu9W11PXT
The PaymentMethod you're providing in the request above, was that set up for off session use already?
If so, you can just provide the payment method and set confirm: true in the request which attempts to confirm the PaymentIntent
@sage cypress want to make sure you saw above
Ok! Thanks a lot, will try that