#meisei81_best-practices
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/1338720442554519562
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello, can you share the request id [0] or PaymentIntent id?
[0] https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Hi, the paymentIntentId: pi_3QpzFOE2ZZnUHRVW0yqQBxKO.
How to reduce the 3ds operations? We want to optimize the payment flow.
is the customer on-session?
The payment was created by using the Stripe invoice API in server side. The customers are imperceptible
okay, so essentially, you're saying the customer is off-session when this payment occurs?
Yes. But we'll need to lead them to re-authenticate when the payment needs 3ds operation.
If the customer is off-session, you'll want to indicate so : https://docs.stripe.com/api/payment_intents/confirm#confirm_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.
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.
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?
in very rare cases, the issuer may still require authentication, you'll see the error authentication_require
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?
underlying an Invoice, is a PaymentIntent. Based off your API requests, you're confirming the PaymentIntent : https://dashboard.stripe.com/logs/req_PwFc1h6bksu7cB
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Got it. I'll try it later.