#monove

1 messages · Page 1 of 1 (latest)

timber loomBOT
mystic kite
#

The provided PaymentMethod was previously used with a PaymentIntent without Customer attachment, shared with a connected account without Customer attachment, or was detached from a Customer. It may not be used again. To use a PaymentMethod multiple times, you must attach it to a Customer first.

#

As the error notes, you will need to attach the PaymentMethod to a customer before the PaymentMethod is charged to be able to use it again

floral glen
#

But that payment intent was already attached to a customer (on our platform account)

timber loomBOT
floral glen
#

We were not saving the card during a payment

#

It was previously attached to a customer and then cloned

lone pecan
#

👋 stepping in here as Pompey needs to step away

#

After you clone a PaymentMethod you should attach it to a Customer on the Connected Account if you are going to re-use it on the Connected Account

#

Otherwise it is single use and you would have to clone it again from the platform

floral glen
#

what you said is precisely what we did

#

and do. we clone for every transaction

lone pecan
#

Yeah but that PaymentMethod was already used with pi_3NuxjB2VHPZxU7K20cVXdbW3

#

So you can't create a new PaymentIntent and use that PaymentMethod again

floral glen
#

can we discuss that payment intent. how was a new payment pi_3NuxjB2VHPZxU7K20cVXdbW3 for £75.21 created

#

like how are there 4 more events to that payment intent if the initial creation of it failed

lone pecan
#

The creation did not fail for that PaymentIntent. The Charge was declined.

floral glen
#

req_Xu5SLpn65vwR4e

lone pecan
#

Sure that is a bit misleading. The creation request failed.

#

But the PaymentIntent was still created... for instance you can retrieve it.

#

It is a 402 error

#

Indicating a card_error