#hero_checkout-savedpms
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1282804980616532028
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there
Billing address will be saved to the PaymentMethod, not the Customer
As far as auto-filling details in Checkout, we'll only auto fill details tied to a saved PaymentMethod for a given customer and only if that PaymentMethod has an an email, name, card details, and billing address: https://docs.stripe.com/api/checkout/sessions/create?create_checkout_session-customer=
But how can i create a invoice for that order and the given address which was filled on checkout?
If that Checkout Session was inpaymentmode, you can useinvoice_creation.enabledto create an Invoice automatically: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-invoice_creation
Hey thanks for the quick answer.
For the invoice i will test that thanks.
What does it mean that the paymentMethod is saved?
The first time i created the customer he will go to the checkout and type in his credit card and address information.
The email is prefilled as i creat the session with the already existing customer id.
Sorry for the delay!
I recommend reviewing this: https://docs.stripe.com/payments/save-during-payment?platform=web&ui=stripe-hosted#save-payment-method
No problem.
That is exactly what i was looking for. Thanks for your help
Just one more question.
It will only save the last used one? So if entered multiple different payment methods, it will not give me a selection for all saved ones?
Correct, Checkout Sessions will not show customers a list of all their saved payment methods