#Zhi - Afterpay
1 messages ยท Page 1 of 1 (latest)
Hi ๐
The I believe the Afterpay UI is controlled by Afterpay and not Stripe but let me double check something
I think this is controlled by the Stripe because we can pass in css override to customize that too, right?
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
we are using paymentIntent now. Do we have to switch to payment session instead?
Okay so in that case are you using the Payment Element on the front-end?
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 ๐