#gmgarrison_api

1 messages ยท Page 1 of 1 (latest)

valid pantherBOT
kind mirageBOT
#

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.

valid pantherBOT
#

๐Ÿ‘‹ 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.

plucky tide
#

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

golden vale
#

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:

#

?

plucky tide
#

yes, pls try it and confirm in test mode!

#

(but the answer is yes, I'm trying to help you help yourself too)

golden vale
#

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?

valid pantherBOT
plucky tide
#

no so that's a limitation

#

can you share the request ID for me to confirm?

#

request ID of the failing request

golden vale
#

Sure, one sec

#

req_9OabXxGNsURQSN

small remnant
#

Hi there ๐Ÿ‘‹ taking over, as my colleague needs to step away

Give me a few minutes to get caught up.

golden vale
#

No problem

plucky tide
#

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

golden vale
#

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

small remnant
#

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

golden vale
#

Okay, got it. Thank you for your help!!

#

Have a great day