#alanartemest_04580

1 messages · Page 1 of 1 (latest)

wind hazelBOT
prime laurel
#

Can you share your code you use to initialise ECE?

rose abyss
prime laurel
rose abyss
#

yes

prime laurel
#

Which event is the data in your initial screenshot from?

rose abyss
#

we have the same issue, we cannot collect billing details using Paypal. The same is working using both ApplePay and GPay

prime laurel
#

Ok, but which event(s) (click, confirm, cancel) are you listening to in your integration that receives that JSON payload with the empty strings? The API link you shared is an internal API – you shouldn't be using that

rose abyss
#

it's the confirm event

prime laurel
#

So, again, where is that original screenshot taken from? Where is the code that logs those values?

rose abyss
#

billingDetails is an object containing black string, except for the country

prime laurel
#

Ok, so billingDetails[address]?

rose abyss
#

yes

prime laurel
#

Ok, looking into this

#

Ok, this looks like a current limitation. PayPal doesn't make the billing address available to us

rose abyss
#

is this an expected behaviour, or sounds like a bug on their side?

#

should I raise an issue on your Github?

prime laurel
#

It's expected right now unfortunately. It's feedback I'll relay with the ECE team

#

We will add notes to the docs to clarify this limitation

rose abyss
#

could you suggest me a way to exclude Paypal from the Express Checkout without removing it by dashboard? as we want to keep it available on normal checkout

prime laurel
#

Let me check, don't think you can right now. Confirming

#

That will omit PayPal from the ECE and only show Apple Pay and Google Pay

#

We're actually working on some improvements to make it easier to control which wallets are shown, but the above should work for now

rose abyss
#

I was aware of this solution before, but unfortunately it makes all payments not working, returning this error:

"message": "Payment details were collected through Stripe Elements using payment_method_types and cannot be confirmed with a Payment Intent configured with automatic payment methods."
"type": "invalid_request_error"

prime laurel
#

Yeah you'll need to adjust your PI creation call to also include payment_method_types: ['card']

#

As I said, it's a but cumbersome but we're working on improving it

rose abyss
#

ok. have you an ETA for the improvements you mentioned? just to know if we should postpone the go live

prime laurel
#

Nothing I can share just now. If you share your acct_xxx ID I can let the team know you're interested and they'll reach out once there's availability. Sometimes they run betas for new stuff like this