#jcs_card-element-3ds
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/1295424018496622645
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Happy to provide more info
Hi ๐
Yes I will need more details about how you are collecting payment method data from your customers
What "trial implementation" are you referring to here?
So we offer a 7 day free trial for our users, where they enter their card details, and then they can cancel anytime, or stay subscribed which will bill them $9.99 once the free trial is finished
Its working for regular cards, but for cards that require 3DS its not prompting that during the free trial flow
so they successfully get the free trial, don't cancel, and then when stripe goes to bill them, its labled Incomplete because we dont have the 3ds authentication for their card
So basically, what are the steps we need to do to have it so the 3ds is prompted on the free trial when the user adds their card
What objects are you creating in Stripe?
What UI are you using to collect payment methods?
The UI is our custom Ui on our website -- let me get a response from re: the objects 1 second
i can share a screenshot if helpful?
We're using the API not a stripe page btw
We are using stripe.js
How?
we are using react, node and stripe.
const Stripe = require('stripe');
stripe node module.
Are you using the Payment Element?
So you are using the Card Element?
To collect payment method details and create Payment Methods?
Sorry but if you cannot explain your integration in words we are going to have a very tough time
ah okay 1 sec i thought the screenshots were helpful
These screenshots don't really help
But both Payment Element and Card Element should be collecting 3DS if the issuing bank requests it.
https://docs.stripe.com/payments/payment-card-element-comparison
Oh wait,
you're not using a Setup Intent here
that's the problem
ahh
(sorry im relaying your messages to lead dev and then he's answering)
playing a bit of telephone haha
Just creating the payment method directly will not perform any authentication steps
You can use the confirmCardSetup method with a Setup Intent client secret to save card details and perform steps to set the card up for off-session payments
ahhh okay that makes sense
Our recommended doc for this uses the Payment Element: https://docs.stripe.com/payments/save-and-reuse
boom okay i think you've given us enough to lead us down the right path now :p
but the same steps work for the Card element as well. You just use a different confirm function
Thanks so much
Great! Happy to help ๐
Thanks man!
It's why we're here
๐