#muhammadawais
1 messages · Page 1 of 1 (latest)
Good question, looking in to it. What are you using to display afterpay? Sounds like the Payment Element?
Yes
Are you collecting address info via our separate Address Element, or something else?
Testing now, my payment element is not trying to collect address info for afterpay, so I am unsure if I am setting something up wrong in my test
I am collecting information in a separate form and then passing it stripe.
pi_3Oc5MBByUJsnqYRU1oCLlxH1
Sorry, afterpay does not collect address info on Payment Element.
Stripe will redirect us to afterpay site and there they collect info.
I have been testing it via test credentials and there is no such thing on strip test page for afterpay.
But when it's in production they collect the info and lot of other stuff
Gotcha, so to make sure I am getting this right: the afterpay page in production collects province info but that is not present on the Stripe objects that are created?
It's present in stripe object, but there is a form on afterpay site, that form does not list the provinces.
As far as I know, we don't control what the form looks like on the afterpay side, so there isn't an API thing you can do here. I will raise this internally with Stripe in case we do affect that, but I would recommend also reaching out to afterpay to let them know that it would be a better experience for your users if this list was present
Okay
Can you please check it with the internal team that, maybe I am passing something wrong?
pi_3Oc5MBByUJsnqYRU1oCLlxH1
That looks fine, not seeing any options on the payment intent or its afterpay options that would affect this https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_options-afterpay_clearpay
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Okay