#bragma_error
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/1286317851736670284
๐ 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.
- bragma_best-practices, 37 minutes ago, 29 messages
- bragma_best-practices, 2 days ago, 21 messages
- bragma_unexpected, 5 days ago, 33 messages
- bragma_best-practices, 6 days ago, 27 messages
Sure
This is the first invoice, the one that had the PI with setup: in_1Q0kEQGUavQZ0B3ilFHf3yXq
The associated payment intent with the setup_future_usage is pi_3Q0kERGUavQZ0B3i33ojjZZu
Thanks, looking
Okay and can you share the next Invoice that you tested with where you are still seeing it require 3DS?
Instead, this is the PI that failed
pi_3Q0kG4GUavQZ0B3i1FHJ1Bri
Ths invoice should be in_1Q0kG2GUavQZ0B3iD2ciwXCf
I am using this card and complete 3DS on first payment 4000002500003155
Thanks, looking
I am double checking, it seems the setup for off_session went ok
But then any other invoice I create for that customer, fail when calling the pay method
When you pay the second Invoice can you try setting off_session: true?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Uhm, sure, let me check the code. I think I am doing this
invoice = await invoiceService.PayAsync(
invoice.Id,
new InvoicePayOptions
{
OffSession = true,
Expand = new List<string> { "payment_intent" }
})
I am doing that
Looking with some colleagues
We aren't positive why this would be prompting 3DS here as you did set up the PM on the initial Invoice
Will circle back
Thanks!
Sure
Ok taking over here
๐
We heard back from some colleagues on this that this is expected behavior. You can't override the setup_future_usage behavior on one-off invoices. For all one-off invoices, we assume the paytment method will not be used for off_session future payments
Uhm... So basically there is no way to use payment methods used in one-off invoices for future payments?
Correct
Ok, the only way is to make an explicit setup, correct?
Yeah
Ok thanks. Just last question: with "one-off" invoices, you mean all invoices that are not part of a subscription, correct? What about the first invoice of a subscription?