#bragma_error

1 messages ยท Page 1 of 1 (latest)

frank badgeBOT
#

๐Ÿ‘‹ 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.

sturdy crag
#

Hello

#

Can you provide the Invoice ID that you are testing with here?

hasty lagoon
#

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

sturdy crag
#

Thanks, looking

#

Okay and can you share the next Invoice that you tested with where you are still seeing it require 3DS?

hasty lagoon
#

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

sturdy crag
#

Thanks, looking

hasty lagoon
#

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

sturdy crag
#

When you pay the second Invoice can you try setting off_session: true?

hasty lagoon
#

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

sturdy crag
#

Oh indeed you are

#

Looking more, one sec

hasty lagoon
#

This is the log of my API call to "pay" endpoint

sturdy crag
#

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

hasty lagoon
#

Thanks!

sturdy crag
#

Sure

frank badgeBOT
lofty coral
#

Ok taking over here

hasty lagoon
#

๐Ÿ™‚

lofty coral
#

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

hasty lagoon
#

Uhm... So basically there is no way to use payment methods used in one-off invoices for future payments?

lofty coral
#

Correct

hasty lagoon
#

Ok, the only way is to make an explicit setup, correct?

lofty coral
#

Yeah

hasty lagoon
#

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?

lofty coral
#

with "one-off" invoices, you mean all invoices that are not part of a subscription, correct?
yes exactly

#

Subscription is different

#

That's meant for off-session usage

hasty lagoon
#

Ok. Too bad, I hoped to avoid an explicit setup

#

Thanks a lot!