#smartkiparis

1 messages · Page 1 of 1 (latest)

spring sigilBOT
brave tide
#

Hi there

#

When you say "money is locked" do you mean that the card was actually authorized but not captured?

west cosmos
#

yes

brave tide
#

Then you look at the status of the PaymentIntent and it will be in requires_capture

west cosmos
#

status is requires_payment_method

#

we add a proper customer

#

He has a payment method

#

I form a payment intent for authorization like this

brave tide
#

Yeah that doesn't actually authorize though

#

You need to pass confirm: true and the PaymentMethod ID as well to authorize the card

west cosmos
#

which field should I use to pass PaymentMethodId? Can I get this Id from last charge of this customer?

#

payment_method?

brave tide
#

Yes payment_method

#

And yes you can get the PaymentMethod ID from the previous charge

west cosmos
#

Can I use payment_method from last PaymentIntent?

#

for this customer