#bart

1 messages · Page 1 of 1 (latest)

limber breachBOT
young burrow
#

Hi! Let me help you with this.

#

How are you collecting this info currently?

toxic bear
#

currently i'm using old integration

#

seprately Stripe & PayPal

#

and i'm moving into Payment Elements on UI and webhooks to parse the data and enable access on my side

#

so i'm looking into a way to guarantee that I will have country and postcode information

#

(i mean postcode probs only to US for tax purposes)

#

i can do it either via forcing it on UI (for Google Pay, Paypal etc is not showing up)

#

or i need to know that you will acquire that information from those providers and allow me to get it via Stripe API

#

(for example via PaymentIntent customer field)

#

through my testing on sandbox seconds option seems to be working fine for Google & Apple

#

not for PayPal

#

but not sure yet about when using real money

young burrow
#

The Test mode tries to be as close to Live mode as possible, so if we are collecting the country and post code in Test, it will be working the same way in Live mode.
However, I understand the problem is in PayPal, right?
Could you please share the PaymentIntent ID pi_xxx?

toxic bear
#

yes indeed main concern is PayPal

#

sure

#

one sec

#

pi_3NEXFdHhzXcPYLMM1rVt1T67

young burrow
#

Hm, I see that the billing_details of the Charge object is empty. Is it where you get the address from for other payment methods?

toxic bear
#

yes indeed

#

for others it seems to be populated based on my real data either for stripe (for card) or from wallets (for Google & Apple)

young burrow
#

PayPal is new, so it might not work the same way in Test mode for now.
Do you mind testing it in Live mode? Normally, at least the country should be populated (PayPal is not available in the US for now)

#

Sorry, it's not available for US-based Stripe accounts, but customers worldwide can use it to pay. My bad.

toxic bear
#

right that's fine

#

will have UK based accoutn

young burrow
toxic bear
#

ok so is it safe to assume if i get customer details in Prod that's actually gonna always be there (i mean sync from provider to Stripe?)

#

yes address element looks good as well 🙂

toxic bear
#

sweet thx

young burrow
#

Happy to help!