#cris_setupintent-mandate
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/1278418495373054145
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
cris_setupintent-mandate
@vital ember when you say
why the mandate isn't being configured
what do you mean exactly? Are you expecting an error? Are you testing a specifc flow?
Mandates aren't really needed for card payments (except in India)
I am using the SetupIntent object to save a credit card configured for 3DS (3D Secure) authorization. My goal is to perform an initial credit card setup by sending a link to the client to configure a SetupIntent. During testing with credit card numbers that require 3DS, I created the SetupIntent with the appropriate mandate_data. The request was completed without errors, but the response and Stripe dashboard didn't display any mandate information. Subsequently, when I attempted to use the saved card for a subscription purchase, Stripe still prompted the 3DS step, even though the card was saved with a SetupIntent. According to the documentation, to avoid 3DS authentication during offline sessions, the mandates need to be properly configured. (https://docs.stripe.com/payments/setup-intents#mandates)
yeah we don't show/render any Mandate for card payments so it's all expected
internally we have a record of you doing 3DS and will do the right thing
One question more, if I configured a SetupIntent with a card that asks for 3DS auth, Can I use that card to purchase a subscription in offline mode, without the cardholder intervention?
๐
Yes a PaymentMethod that is set up via a SetupIntent can then be charged later on for off session payments (either via Subscription or one-off)
You can test this all out in test mode
I tested that but it failed. But I'm using the 5.31.0 JavaStripe library version, to purchase the subscription, can be that the reason?
No the library shouldn't matter
What was the error?
And what test card did you use?
This is the SetupIntent -> seti_1PsGKZ49NNKdO11vd3Eijzhh
And this is the Payment failure ->
pi_3PsGO949NNKdO11v0Pg26Ru0
Hmm okay yeah that does look fine but you are indeed on a very old and deprecated Subscription creation path here
So, should I update my java library and this should work?
I'd definitely recommend updating your library regardless and using https://docs.stripe.com/api/subscriptions/create to create your Subscription
And yes, it should work