#ahsan-terminal-m2

1 messages · Page 1 of 1 (latest)

void oreBOT
somber sonnet
#

It should be the same as long as processPayment(...) was called for the same PaymentIntent

obsidian oak
#

So we will pass the same PaymentIntentId(From Client side) in capture_payment_intent on the server side ?

somber sonnet
#

Yes

void oreBOT
obsidian oak
#

What if we dont call collectPaymentMethod and processPayment from client side and directly call the capture_payment_intent api with the same paymentIntentID return while creating paymentIntent?

somber sonnet
#

That won't work

obsidian oak
#

I just want to understand the process

somber sonnet
#

You can't capture a Payment that's not in requires_capture status

obsidian oak
#

Ohh okay got it.

somber sonnet
#

NP! 🙂 Happy to help

obsidian oak
#

Can you send me the doc link where "status": "requires_payment_method" statuses are mentioned

void oreBOT
scarlet sandal