#Zhi - Afterpay payment failure

1 messages · Page 1 of 1 (latest)

stiff pollen
#

Hi there! Do you have a request ID for this failed confirmation? It should look like req_xxx

long summit
#

let me check

#

req_cynHlxiLKPXI8P

stiff pollen
#

Thanks! Looks like the PaymentIntent does not have a shipping address, which explains the failure

long summit
#

is the shipping address seller's address or buyer's address?

stiff pollen
#

buyer's address

long summit
#

what would be the best flow?
when to collect buyer's address?
when page loaded, the payment intent will be created right away

#

does this mean we have to collect shipping address first then show the payment option?

#

we don't have two step to collect shipping address and payment,

#

any suggestion?

stiff pollen
#

The guide is just an illustration of how it can be done (shipping address on PaymentIntent creation, billing address passed client side) but, you're right, that assumes you've already collected the customer's shipping details