#smtlaissezfaire

1 messages · Page 1 of 1 (latest)

calm sentinelBOT
grim vine
#

Hello! If you specify an existing customer when creating the Checkout Session the resulting Checkout page will display an eligible saved Payment Method if one exists. If you're not seeing one show up then the ones stored on the customer specified aren't eligible to be displayed.

late zodiac
#

Thanks, yeah I read that in docs. A few questions: 1) Can I access all of the payment methods, not just the default one? 2) What makes a payment method eligible?

grim vine
#

For #1 no, it must be the default. For #2, generally speaking it needs to be a Payment Method (not a legacy object like a Card or Source), and it needs to have been properly set up for future use in the past.

late zodiac
#

So I'm sending the customer id but don't see the payment method info filled in (I do see the email + zip filled in though)

#

I don't think it's using legacy objects. Also we're using setup_future_usage: 'off_session'

#

I'm not sure if the first call that created the card set that property though

grim vine
#

Can you give me the Customer ID or the Checkout Session ID so I can take a look?

late zodiac
#

sure, test mode: cus_OYiYaLz5NplX00

#

the $515.24 change was the one I was specifically looking at - pi_3NleBpFqoqH9giIE1J8aq0Zc

grim vine
#

Looking, hang on...

late zodiac
#

Thanks!

grim vine
late zodiac
#

Oh. So you can'd do subscriptions in payment mode I assume

grim vine
#

Correct.

late zodiac
#

"In subscription mode, Stripe processes the customer’s default payment method if it’s a card. Otherwise Stripe processes the most recent card. The Checkout page requires a valid billing address to prefill the customer’s card details."

#

I'm not sure I understand that part

grim vine
#

What part do you have a question about?

late zodiac
#

So what does " Stripe processes the customer’s default payment method if it’s a card" mean?

#

Doesn't that mean they don't have to fill out the form or?

grim vine
#

It means it will use a card, but it won't use something like an ACH account, or some other form of payment.

late zodiac
#

Oh gotcha. Ok, so sounds like I need a different flow if I'm going to give the user's a selection

grim vine
#

Yeah, if you want to present all of their saved payment info as options you would need to build your own UI for that.

late zodiac
#

Gotcha, ok thank you!