#Dan Rosewarne-afterpay-shipping-address
1 messages ยท Page 1 of 1 (latest)
Hi there ๐ sincere apologies about the delay. Afterpay does require both shipping and billing details of the customer.
https://stripe.com/docs/payments/afterpay-clearpay/accept-a-payment#collect-payment-method-details
๐ Hi @cosmic grove thanks for getting back to us. As we're creating the payment intent ahead of the choice of payment method and when we only know the amount we're having to put in a shipping address that is the same for everyone. We're using payment element and a ruby backend
The flow we're using is
- Load the checkout by creating a payment intent on the server and returning to the client so Elements can initialise with the client secret.
- Let the user choose the payment method and pay
- Confirm the payment on the client with stripe.confirmPayment
- Fulfil the order on our backend with the successful payment intent.
How would we adapt this flow to collect a shipping address as part of the payment elements lifecycle or at least set it to be the same as the billing address?
Thanks for that, taking a closer look.
@flint kiln / @spring garnet still around? sorry this thread got missed, catching up (juggling a few threads, your other one too)