#smartkiparis

1 messages ยท Page 1 of 1 (latest)

sleek caveBOT
civic sinew
#

Hello ๐Ÿ‘‹
You don't need a specific customer or a payment method ID to test manual confirmation.

You can pass confirmation_method: manual when creating the PaymentIntent

#

in test mode

#

and that should create a PaymentIntent that requires manual confirmation

jaunty wagon
#

And I need to test confirm method

#

How it works and waht it returns

#

after creation of that intent

#

and how I specify a test mode? by applying test api key?

#

will confirm method return PaymentIntent correctly if I do not specify Customer and his payment mthod>

civic sinew
#

All of these are good questions ๐Ÿ˜„ It'd be easier to understand if you just tested it

1/ You can create a PaymentIntent in test mode by using test API key
2/ If you pass in a payment method (pm_xxx ) when you create a PaymentIntent then the returned status should be required_confirmation
3/ If you don't pass in a payment method at creation then the returned status for the PaymentIntent should be requires_payment_method