#Davi_d

1 messages · Page 1 of 1 (latest)

gaunt gardenBOT
serene swallow
#

Hi there. Ultimately it's up to the bank

#

They may or may not require it

#

Is this in live mode?

fresh oxide
#

it's in test mode

serene swallow
#

Ah

#

What card are you using?

fresh oxide
#

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

serene swallow
#

Can you share the subscription id? Some test cards require 3ds auth on every charge

fresh oxide
#

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

gaunt gardenBOT
old arrow
#

Hi, stepping in and taking a look here

fresh oxide
#

thanks!

outer onyx
#

hey! coworker of David's. Thanks for the help!

old arrow
#

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

outer onyx
#

thanks for looking!

fresh oxide
#

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

outer onyx
#

yeah, what is the recommended flow for allowing for off session creationg

old arrow
#

Looking and will provide more details shortly

outer onyx
#

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.

old arrow
outer onyx
#

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.

fresh oxide
#

and also when renewing existing subscriptions ^

old arrow
#

Yeap, trying to get our documentation here.

#

I'm also getting confirmation from a teammate, thank you for your patience

#

Can you try that?

outer onyx
#

so that is a field in the subscription creation

#

and it shoudl be a boolean set to true

old arrow
#

Yeap

fresh oxide
#

so if we do that, it would work with the original test card we tried?

old arrow
#

That is correct