#meisei81_best-practices

1 messages · Page 1 of 1 (latest)

lunar tigerBOT
#

👋 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/1338720442554519562

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

wintry nimbus
exotic walrus
#

Hi, the paymentIntentId: pi_3QpzFOE2ZZnUHRVW0yqQBxKO.

#

How to reduce the 3ds operations? We want to optimize the payment flow.

wintry nimbus
#

is the customer on-session?

exotic walrus
#

The payment was created by using the Stripe invoice API in server side. The customers are imperceptible

wintry nimbus
#

okay, so essentially, you're saying the customer is off-session when this payment occurs?

exotic walrus
#

Yes. But we'll need to lead them to re-authenticate when the payment needs 3ds operation.

wintry nimbus
#

like what is mentioned here : https://docs.stripe.com/payments/save-and-reuse#charge-saved-payment-method

Set off_session to true to indicate that the customer isn’t in your checkout flow during a payment attempt and can’t fulfill an authentication request made by a partner, such as a card issuer, bank, or other payment institution. If, during your checkout flow, a partner requests authentication, Stripe requests exemptions using customer information from a previous on-session transaction. If the conditions for exemption aren’t met, the PaymentIntent might throw an error.

Learn how to save a customer's payment method using a SetupIntent.

exotic walrus
#

So, if I set the off-session=true in this API, then we can complete directly the payment flow in server side and the customer would be imperceptible?

wintry nimbus
#

in very rare cases, the issuer may still require authentication, you'll see the error authentication_require

exotic walrus
#

In our auto renew flow, we're using invoice APIs, not using any payment intent API. Is there any similar parameters for the invoice API?

wintry nimbus
exotic walrus
#

Got it. I'll try it later.