#Stelios - Checkout
1 messages · Page 1 of 1 (latest)
Hi there!
A valid billing address, billing name and billing email are required on the payment method for Checkout to prefill the customer's card details.
This is mentioned here: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-customer
@jovial marlin I added a name, a billing email (same as account email checkbox), and a billing address to the customer account and Checkout pages still don't display the customer default payment card details, any other ideas?
to the customer account
It needs to be added to the PaymentMethod object, not the customer
@jovial marlin I filled the fields cardholder name, street, city, zip, coutry on all payment methods of my customer but the checkout page still doesn't show the card details of his default payment method. Do I need to fill some payment_method or payment_method_type field when creating a checkout session from the API?
Can you share the Checkout Session ID?
```cs_test_a17zUDeYEQEYH5fqpVffaX6Jv2gl7Qqj0YeV6HcCzwUNjKe2XFwZhua4M7```
Thanks! Give me a few minutes to look into this.
This customer doesn't have an email, so it's expected to not work:
A valid billing address, billing name and billing email are required on the payment method for Checkout to prefill the customer’s card details.
@jovial marlin the email is already pre-filled in the checkout page and I can see an email in on the customer id cus_M68EXqdOQ9Tont
Yes but I think you need to also set the email on the Payement Method.
👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!