#_api
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/1374881611010539631
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi! What's the Payment Method ID you were expecting to see in that list?
pm_1RRLKIAgvxDs8mMHhSGt4o7a
or any of the current ones connected to that test customer
My guess is that's because it's not a 'usable payment method' in its current state.
https://dashboard.stripe.com/test/events/evt_1RRLKJAgvxDs8mMHxr64c6fx The related Setup Intent event's next_action field indicates what's needed, and even includes a hosted verification URL.
what happens if a customer wants to come back later and verify. Is there a way to pull all required actions for a customer
I suspect if you ran the server-side API call - i.e., with a Secret Key - you'd see it.
...and by "it" I mean the Payment Method.
Oh. That's what you did.
Hmm.
Have you tried using this API instead? https://docs.stripe.com/api/payment_methods/list#list_payment_methods-customer
yes thats the stripe.customers.listPaymentMethods method its the same api call
Actually I think that's a different one: https://docs.stripe.com/api/payment_methods/customer_list
They seem to do the same api call, neither return the payment methods that require verification
What was the Request ID on that one?
req_AvpsFATOPtI2bY
Ok, I've confirmed two things:
- We do not list Payment Methods that have not been attached to the Customer, and the initial Request ID you shared related to the Payment Method you mentioned was not yet attached to the Customer as it was not verified; and
- The second request - the one you made most recently against livemode - should have returned one result according to our logs, but I can't see the response you receive when you run it.
Do you mind re-running that last one again, and sharing the complete JSON response you get?
Ive decided to just put a notice for users that they need to save the verification url if they want to verify later or start a new stripe setup session
thank you for the help tho
That will definitely work - and you're very welcome! ๐