#Alan Tse

1 messages · Page 1 of 1 (latest)

real gyroBOT
still stump
#

It should allow you to not specifying payment method type, if you are not passing confirm = true

toxic grail
#

req_Z04ulgEXseANMe

#

but i want to set the returnurl ,if i don't set the comfirm, the return url can't be set

#

req_uEcK0CT9haWdn3 there is another request without paymentmethodtype=card.

#

@still stump Whether applepay googlepay front-end comfirm backend paymentintent does not need to comfirm?

still stump
#

confirm means you need to have a customer payment method beforehand. You can't confirm without a payment method (we need something to charge)

toxic grail
#

so i can do not set the comfirm item

still stump
#

The ideal flow is to create Payment Intent on backend (without confirm=true), passing its client_secret to frontend then use frontend to confirm

toxic grail
#

Ok, so our backend doesn't need to call the comifrm interface anymore?

still stump
#
  • don't need to pass confirm: true in the parameter
toxic grail
still stump
#

Yep