#hogon_docs
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/1329022763008004106
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, let me help you with this.
Why do you need to update the PaymentMethod details? If you don't have a Customer attached you won't be able to reuse the PM, so there is no reason to update the details.
In any case, as the error message suggests, it's not possible.
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
We want to improve the data quality of 3DS verification
Are you updating it before making a charge?
yes
Okay.
Where do you see this error message?
How are you collecting the PaymentMethod exactly?
I encountered this error when calling the API locally. The PaymentMethod is created on the frontend and then passed to our backend with the PaymentMethod ID.
Could you please share the Request ID req_xxx? https://support.stripe.com/questions/finding-the-id-for-an-api-request
How did you create the PaymentMethod? Could you please share the PM ID?
pmid: pm_1QhRAmB02sbMzSSPU4oji0WG
These can be provided via the customer object or the billing details field in a payment method object. These fields being populated should also contribute to better authentication rates.
As the docs suggest, you should use the Customer object.
You could use the billing details before you create the PaymentMethod, how exactly depends on your integration.
I see that in the request to create the PaymentMethod you're already providing the email and name. Why do you want to update it again? https://dashboard.stripe.com/test/logs/req_ofiQJZNACy7VxQ
The PM ID already exists because I included the name and email when creating it locally. However, in our production environment, we are creating the payment method on the frontend without including the name and email. Therefore, we want to modify the payment method on the backend.
it's just not possible without attaching it to a customer. You should design the flow so that you know the address/email at the time when you create the PaymentMethod. The Update PaymentMethod API is designed for the use case of a returning customer updating their details on a customer details page etc.
So, we only add the name and email when creating the payment method, is that correct?
yes