#sankyo_api
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/1344603386762367079
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
I think that is expected for on-session payments yes:
It requires authentication for one-off and other on-session payments.
Thank you I'll try to off-session payments.
I tried off-session payment intent, but had an error.
Stripe::PaymentIntent.create(
{
amount:,
currency: CURRENCY,
customer: option[:stripe_customer_id],
capture_method: MANUAL_CAPTURE_METHOD,
description: option[:description],
payment_method: option[:stripe_payment_method_id],
metadata: option[:metadata],
off_session: true,
confirm: true
}
The error was,
Your card was declined. This transaction requires authentication.
Is there any way to perform 3DS authentication only during setup intent, and not when confirming payment intent?
Could you please share the Request ID req_xxx? https://support.stripe.com/questions/finding-the-id-for-an-api-request
req_3gp4PNmVYSw7xR
The test card you used simulates a rare case where 3DS is always triggered, which is not suitable for off-session transactions, so the behavior is expected: https://docs.stripe.com/testing#3d-secure-mobile-challenge-flows
I real life this will not normally happen, and you can simulate a more relalistic scenario with "Authenticate unless set up" card - 4000002500003155
I tried this card 4000002500003155
But, I got the same error if I used off_session payment.
When I used on_session payment, I got the status requires_action, but I already completed 3DS actions.
off_session request req_bDtAKY8Ux6H9W6
on_session request req_vlqpsmR7q4TUvY
This off_session request still uses the 0094 card.
You need to create a new PaymentMethod with SetupIntent with the new 3155 card .
sorry.
hi! I'm taking over this thread. let me know if you have other questions!