#pqvst

1 messages ยท Page 1 of 1 (latest)

silent thornBOT
zinc geyser
#

Hello ๐Ÿ‘‹
I don't think checkout supports prefilling card information w/ subscriptions. Let me double check..

#

hmm not finding any docs for this. Quick question, are you setting setup_future_usage parameter when you create a checkout session in subscription mode?

somber warren
#

no, i tried, but it says not compatible with subscription mode

zinc geyser
#

Ah I wonder if the parameter is only limited to payment mode

somber warren
#

indeed

zinc geyser
#

yup that's what I thought since the payment intent lives on the invoice for subscriptions

drowsy saffron
#

Creating a setup intent then using that for subscriptions might be the way.

somber warren
#

actually. weird. i just tested creating a fresh customer, and now it worked ๐Ÿค”

#

it pre-filled my payment method from the first subscription

#

so, i'm thinking maybe it stopped doing that if i change card on the subscription

zinc geyser
#

Ah Intersting...
I know Checkout prefills the last successful PaymentMethod that the customer has used for payment (via Checkout) but the above behavior I wasn't totally sure about.

somber warren
#

it looks like when updating payment methods i update the subscriptions default payment method. maybe that's why.

maybe i should update the customer default payment method instead.

zinc geyser
#

probably, would recommend running multiple tests to be 100% certain

somber warren
#

i do have another, unrelated question

#

we're using stripe checkout with multiple currencies

#

is it by-design that the currency doesn't change when changing country in checkout?

#

for example, i am swedish, my payment card is swedish, and billed in SEK

i am temporarily in a different EU country, so checkout preselects that country and EUR

i manually change to "Sweden" - but the currency doesn't change to SEK. it stays in EUR

zinc geyser
#

That's correct, I think it depends on geolocation

somber warren
#

hmm ok

#

and i'm guessing checkout doesn't support letting the user choose currency in any other way?

zinc geyser
#

Not really!

somber warren
#

alright. thanks for your help!