#Zhi - Afterpay

1 messages ยท Page 1 of 1 (latest)

tawdry path
#

Hi ๐Ÿ‘‹

#

The I believe the Afterpay UI is controlled by Afterpay and not Stripe but let me double check something

thorn fox
#

I think this is controlled by the Stripe because we can pass in css override to customize that too, right?

tawdry path
#

In this guide we show adding the shipping address collection param to the checkout session
https://stripe.com/docs/payments/afterpay-clearpay/accept-a-payment

You can also set the billing address collection as well. Have you tried that?
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-billing_address_collection

Learn how to accept Afterpay (also known as Clearpay in the EU), a payment method in the US, CA, UK, AU, NZ, FR, and ES.

thorn fox
#

we are using paymentIntent now. Do we have to switch to payment session instead?

tawdry path
#

Okay so in that case are you using the Payment Element on the front-end?

thorn fox
#

yes

#

wonder if we have to use session or not

#

we are using card element now. In order to add afterpay, we are trying to switch to payment element.

#

do we need to use session for this case?

#

if we are going to add more method later on, will session going to be replaced again?

#

just want to know which one will take us for a longer path ๐Ÿ™‚