#mp_api

1 messages ¡ Page 1 of 1 (latest)

frank skyBOT
#

👋 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/1290571079219150860

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

foggy wingBOT
brisk owl
#

cus_QuONDLiMSUIopT

near marsh
#

When a payment method is not attached to a customer, it can only be used once. In this case, when pm_1Q2ZbgJqE5f9ucQhLoxzy736 was created (https://dashboard.stripe.com/logs/req_YrEiRjSDyVe6bU), it was not attached to a customer and was used to complete a payment (https://dashboard.stripe.com/logs/req_UMUAZ0PsvnTqRS). If you would like to re-use a payment method, you will need to attach it to a customer first.

brisk owl
#

How did that happen?

#

I believe it was used only once?

#

Looking at the customer, they have tried three times to make a payment and the above was the first one?

near marsh
#

Looking at the customer, they have tried three times to make a payment and the above was the first one?

Can you share the payment intents for the 3 attempts?

brisk owl
#
  1. pi_3Q2ZazJqE5f9ucQh1tVw3SQB

  2. pi_3Q2Zb6JqE5f9ucQh1yQoLg3a

  3. pi_3Q2ZfFJqE5f9ucQh0LZT8prf

#

I am only interested in pi_3Q2ZazJqE5f9ucQh1tVw3SQB as thatg was the first payment made

#

Usually you create a customer first and then attach a payment right? I am clueless how did the above happen

near marsh
frank skyBOT
brisk owl
#

What is usually the process like?

cloud frost
#

which process?

brisk owl
#

I mean how does a payment get attached before creating a customer

cloud frost
#

or in other integration approaches, the payment method is attached when confirming a SetupIntent

brisk owl
#

Sorry for the back and forth.

We have been using the same process so I don't know why the above issue happened

cloud frost
#

looks to me like maybe you have a bug where you create two different subscriptions and then the problem which leads to confusion/complication

brisk owl
#

How do you know it is two identical requests? Both links have the same request id

cloud frost