#Martin Gaibisso
1 messages ยท Page 1 of 1 (latest)
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
will take a look in a second
thanks!
the PI you sent is not yet paid and doesn't have any shipping info
maybe you copied the wrong one instead
the PI was created, but order failed our end since no valid shipping data. hence the PI never got confirmed
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?
where did you see those data?
logs my end
I meant during which phase of the integration
this is the data you send after the on payment method
paymentRequest.on('paymentmethod', function(ev) {
Oh I see
billing data was full, yet shipping only had phone info
the values that you are receiving are from Apple Pay
sometimes customers won't have a shipping address
well, they are required to present one if you ask for it I presume
in that case what I would suggest is to create a form yourself
I don't follow
I don't think so. apple pay should handle that
you send a flag to "requestShippingAddress"
sorry yes you're right
I missed that you're using Payment Request Button
thats correct
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
I wasn't able to reproduce, I can try
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?)
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
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.
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!
Ah thank you, I missed you saying that even though you said it pretty directly. Thanks for the heads up, definitely let us know
have a good day!