#Davi_d
1 messages · Page 1 of 1 (latest)
Hi there. Ultimately it's up to the bank
They may or may not require it
Is this in live mode?
it's in test mode
so what we're doing is calling a default_incomplete stripe.subscription.create , and then passing the client secret to the FE w/ Stripe Elements
The test card we use to do the initial subscription payment is this one
Can you share the subscription id? Some test cards require 3ds auth on every charge
sure
pi_3MmMbbETU8N2v5f41A3MSSdW
sub_1MmMaiETU8N2v5f4Nv3T5meD
also just curious if when we renew a subscription that has a 3DS-required card, if that would still require 3DS
it's just a bit confusing lol
Hi, stepping in and taking a look here
thanks!
hey! coworker of David's. Thanks for the help!
From looking at this request id, https://dashboard.stripe.com/test/logs/req_e6AjV3KAc7fyvG it looks like you're saving the payment method on subscription, https://stripe.com/docs/api/subscriptions/create#create_subscription-payment_settings-save_default_payment_method which saves the pm_ when a subscription payment succeeds, however, it's not set up for off session payments therefore, you're seeing this payment fail due to 3DS: https://dashboard.stripe.com/test/invoices/in_1MmMbbETU8N2v5f4jRxRFFGP
thanks for looking!
so what steps should we be taking to set up the card for off session payments? There's an off_session param we can pass into Stripe.subscription.create, but the documentation isn't clear about what values it takse
I was under the impression that creating a subscription, and associating a payment method with the payment intent/subscription would automatically set up the PM for off session usage
yeah, what is the recommended flow for allowing for off session creationg
Looking and will provide more details shortly
i guess for extra clarity. Initial subscription works, we then try to upgrade a subscription, (go from 4-7 dollars). So not sure if that requires 3DS as well? that change in price.
I think the card that you should use is 4000003800000446, https://stripe.com/docs/testing#authentication-and-setup
can you tell us why? you don't think this would be an issue with real users?
like our actual users will come in with cards that require 3DS. We want to make sure those work for off session payments.
and also when renewing existing subscriptions ^
Yeap, trying to get our documentation here.
I'm also getting confirmation from a teammate, thank you for your patience
I was able to confirm that if you pass off_session: true with that card: https://stripe.com/docs/api/subscriptions/create#create_subscription-off_session it would work as expected.
Can you try that?
so that is a field in the subscription creation
and it shoudl be a boolean set to true
Yeap
That is correct