#thibault_checkout-paymentmethod-bug
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/1390591925794639883
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- thibault_code, 12 hours ago, 28 messages
hello! can you share the example PaymentMethod id?
Anyway, without a PaymentMethod id to look at, I'm guessing that is because the a valid billing address, billing name and billing email are required on the payment method for Checkout to prefill the customerโs card details - https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-customer
I think your PaymentMethod which is created via the SetupIntent doesn't have a billing address, billing name and billing email
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
hello
Hello. My colleague had to go so I am taking over. Please be aware this server is for synchronous live chats. We close threads that go inactive
Can you provide the ID of the payment method you expect to be displayed?
yes i know sorry
pm_1RgomfPu0E9QU25yp4tgkvY7 and pm_1RgqfVPu0E9QU25yezC0bAZA
i expect both to be able to be displayed
pm_1RgqfVPu0E9QU25yezC0bAZA cannot be displayed even if i delete pm_1RgomfPu0E9QU25yp4tgkvY7
For pm_1RgqfVPu0E9QU25yezC0bAZA can you add a billing_details.email value?
Hmm i'll try 2 min
Unfortunately this is occurring due to a known bug. It occurs after the Customer has provided all their info in the Checkout Session and some additional checks are run. The results of these checks are unsetting some of the values that the Customer provides and without these values we don't display those saved payment methods.
That is what I'm asking you to test. Adding back the billing details that were removed should enable redisplay
Is it possible to update a payment method to add email?
I don't find it in the api documentation
Yes. It's the billing_details.email parameter here: https://docs.stripe.com/api/payment_methods/update#update_payment_method-billing_details-email
No worries
ok its done. I retry
yeah it works
๐
So billing_details should be exactly the same
as the one from customer
Thanks for your help
Happy to shed what ๐ก I can ๐
byby
๐