#DoReVo
1 messages · Page 1 of 1 (latest)
hello! if you're referring to allowing the customer to have a list of cards to select from to pay on the Stripe hosted checkout session - it's not a feature offered currently.
To be able to have a payment method prefilled on the hosted checkout session depends on certain criteria. It's mentioned in
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer
In payment mode, the customer’s most recent card payment method will be used to prefill the email, name, card details, and billing address on the Checkout page. In subscription mode, the customer’s default payment method will be used if it’s a card, and otherwise the most recent card will be used.
A valid billing address, billing name and billing email are required on the payment method for Checkout to prefill the customer’s card details.
I see
But i noticed that, cards added and linked using this "link" thing, can be choosen during checkout. see image
The billing portal doesn't collect these details : billing address, billing name and billing email when creating a PaymentMethod from what i'm seeing
Link is a separate feature - if you add cards to Link, and you log in to Link on the Checkout Session. Then you'll be able to select those cards
Those 2 cards are added through customer billing portal, and linked using this "Link" thing by stripe when adding them.
Hmmm i see
Thanks