#Invalid-request-eerror

1 messages · Page 1 of 1 (latest)

severe bobcat
#

Hi there, the error is pretty self-explanatory. Can you tell me what is confusing you?

eager folio
#

idont rly understand where is the problem

severe bobcat
#

Can you provide the request ID?

#

It looks like req_xxxxx

eager folio
#

req_mfFDD22P2vDZjN

#

ty

#

this is pretty self-explanatory but how do I fix it ?

#

this is my problem

#

XD

severe bobcat
#

Looking

#

Once a PaymentMethod is detached it is consumed and can't be used in the future.

#

You can only use a PaymentMethod with one Customer on the account

#

Otherwise you need to recollect card details if you want to use the same card with a different Customer object

eager folio
#

one paymentMethod with one customer?

severe bobcat
#

Correct

eager folio
#

what if ive mil of customers

severe bobcat
#

I don't understand.

#

Let's back up

#

What are you trying to accomplish?

eager folio
#

if i have 1M customers?

severe bobcat
#

Then each of those customers has their own credit card, no?

#

So they would each have an attached payment method

eager folio
#

yes i need to go with 1M paymentMethod?

severe bobcat
#

Well you collect a PaymentMethod from a customer when they pay, right?

eager folio
#

yes

severe bobcat
#

So then yeah.... you would collect as many different PaymentMethods as your customers provide you to pay with.

#

The point of the Customer object within Stripe is to allow you to re-use PaymentMethods without needing to collect the card details again.

eager folio
severe bobcat
#

But you wouldn't use the same Customer object to represent multiple different real customers

severe bobcat
#

Where do you see they could still pay?

eager folio
#

the request

#

if they have no card attached, how they did the request?

severe bobcat
#

The request failed

#

The one you provided

#

In terms of how it occurred... I can't tell you that. That is your own integration that you need to debug.

#

Are you a developer?

eager folio
#

no pm

#

its here right?

#

yes i think so

severe bobcat
#

I recommend working with your developer to debug here for why you are de-taching a PaymentMethod that you then want to attempt to charge later on.

eager folio
#

sorry one more question

#

if one user did multiple times of attach/detach card action, it might cause this error right?

severe bobcat
#

Correct

#

You can't attach a card again after you detach it

#

The card is essentially deleted after being detached from a customer

eager folio
#

oh which is to say if i deleted my card A , Im not able to add card A?

#

anymore?

severe bobcat
#

Correct.

#

You would have to collect the card details again in that case.

#

There is no reason really to delete the card unless you never plan for it to be used again.