#Martin Gaibisso

1 messages ยท Page 1 of 1 (latest)

stuck shoreBOT
south orbit
#

๐Ÿ‘‹ happy to help

#

would you mind sharing some examples?

thorn path
#

Hi @south orbit and thanks for your help. sure thing

#

pi_3Lolh6HmYibhktEv0ygYYKD0

#

shipping address data:

#

[22:10:03 10:16:16] Array
(
[country] =>
[postalCode] =>
[recipient] =>
[region] =>
[city] =>
[phone] => *****532
[sortingCode] =>
[dependentLocality] =>
[organization] =>
)

#

only phone present

#

got 2-3 exactly like this over the weekend. yet the billing address was complete

#

with only phone oddly enough and no other data

south orbit
#

will take a look in a second

thorn path
#

thanks!

south orbit
#

the PI you sent is not yet paid and doesn't have any shipping info

#

maybe you copied the wrong one instead

thorn path
#

the PI was created, but order failed our end since no valid shipping data. hence the PI never got confirmed

south orbit
#

hmmmm, interesting

#

maybe it's more of an Apple Pay issue then

thorn path
#

might be but I don't have any logs about it. only what you send

#

do you have access to internal logs about apple pay communication?

south orbit
#

where did you see those data?

thorn path
#

logs my end

south orbit
#

I meant during which phase of the integration

thorn path
#

this is the data you send after the on payment method

#

paymentRequest.on('paymentmethod', function(ev) {

south orbit
#

Oh I see

thorn path
#

billing data was full, yet shipping only had phone info

south orbit
#

the values that you are receiving are from Apple Pay

#

sometimes customers won't have a shipping address

thorn path
#

well, they are required to present one if you ask for it I presume

south orbit
#

in that case what I would suggest is to create a form yourself

thorn path
#

I don't think so. apple pay should handle that

#

you send a flag to "requestShippingAddress"

south orbit
#

sorry yes you're right

#

I missed that you're using Payment Request Button

thorn path
#

thats correct

south orbit
#

is this also happening for you in test mode?

#

are you able to only pass the phone number without the other fields?

#

I'm just trying to understand if this is Apple Pay or Stripe related

thorn path
#

I wasn't able to reproduce, I can try

blazing grove
#

Hello ๐Ÿ‘‹ tarzan is stepping out but I can help

#

Quick question, when that payment for pi_3Lolh6HmYibhktEv0ygYYKD0 failed, are you saying that the apple pay dialogue itself showed some error related to the customer's address? (And if so do you have the error message that was shown?)

thorn path
#

Hi Pompey. The only error message is from our system since we can not put an order through without shipping address. So after paymentMethod event, we validate the shipping address and since the data is empty we don't confirm the payment to stripe

#

Apple pay is not letting me add an empty shipping address so I don't think that is possible from their end

#

this does not appear to be happening with google pay

#

and not even all applePay transactions.

#

over the weekend, 1/3 orders were like this

#

Hi Pompey. just reading some logs and it might appear that we are not sending the requestShipping flag with all the orders which might explain this issue

blazing grove
#

Oh, if this is on the paymentMethod event from Stripe.js I think you are running in to a limitation of Apple's Apple Pay API

#

I need to double check this but as far as I remember there is a restriction that you can't get the full data for that client side. We still collect it and it should be on your payment intent server side after confirmation, but Apple partially redacts this info for customer privacy at some points and I think that event happens during one of them.

thorn path
#

I think this is a bug our end Pompey, since we are not requesting the shipping data on some orders apparently

#

I'll let you know otherwise, thanks for your time!

blazing grove
#

Ah thank you, I missed you saying that even though you said it pretty directly. Thanks for the heads up, definitely let us know

thorn path
#

have a good day!