#gmgarrison_api
1 messages ยท Page 1 of 1 (latest)
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.
- gmgarrison_api, 5 days ago, 14 messages
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1260279517461610598
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
yep you can and like always, recommend trying!
i.e. create a PaymentMethod, create a PaymentMethod and attach to Customer and list PMs and see both come back and the customer field on each
I did try, but I've got a few hundred payment methods and almost all of them are attached so too many to look through manually
That's great to confirm
And if I find a detached method and I know which customer it belongs to, I can use this:
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
?
yes, pls try it and confirm in test mode!
(but the answer is yes, I'm trying to help you help yourself too)
Or is that not possible through the API? I just got an error: This PaymentMethod was previously used without being attached to a Customer or was detached from a Customer, and may not be used again.
Is this something that the customer will have to do through the UI in checkout?
no so that's a limitation
can you share the request ID for me to confirm?
request ID of the failing request
Hi there ๐ taking over, as my colleague needs to step away
Give me a few minutes to get caught up.
No problem
ah yeah that PaymentMethod was attached to a diff customer prev then detached
PaymentMethods can only be attached to one customer max and cannot be re-attached after a detachment
If I knew the original customer, would I be able to reattach it to them?
Or you're saying the detachment is final no matter what
Hi there ๐ taking over, as my colleague needs to step away
The detachment puts the Payment Method in a terminal state. There's no way to reattach it after it has been detached