#tymm_api

1 messages ¡ Page 1 of 1 (latest)

tight slateBOT
#

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

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

coral kestrel
#

hello! Gimme a while to take a look!

#

I assume you want to collect a PaymentMethod before allowing the customer to start a trial?

void thorn
#

no that i already did

#

u can check this payment intent pi_3Q8BkzLouXJU4FDJ1khv31fY

#

or this subscription sub_1Q8BHALouXJU4FDJqnH6SApH

#

u can see that a payment method was bound to the subscription

#

but at the time of collection it failed because of 3ds

#

this is a collection that happens after the free trial ends, so it is being done without customer's interaction

coral kestrel
#

okay, so this is a test transaction and you're using a test card that requires 3DS on all transactions.

void thorn
#

yeah

coral kestrel
#

To be clear, in real life, since you're using Checkout Sessions, Stripe will initiate 3DS when we collect the card when required. There's always the possibility (albeit very rare) that the bank may subsequently still require 3DS even for a recurring / off-session transaction and that's not something which we can control

#

to try and help with that, Stripe does have a setting whereby Stripe will send an email to the customer to ask them to confirm the transaction

#

maybe what you want to test with is the 3155 test card instead : https://docs.stripe.com/testing#authentication-and-setup

Use test cards to validate your Stripe integration without moving real money. Test a variety of international scenarios, including successful and declined payments, card errors, disputes, and bank authentication. You can also test non-card payment methods and redirects.

void thorn
#

ok so the card that i was using is suppose to fail in these situations?

coral kestrel
#

yep, the card you are using is meant to fail in the situation you mentioned

void thorn
#

aight, thanks