#Cheelin
1 messages · Page 1 of 1 (latest)
Hi there,
Do you mean by collecting the customer phone number from GooglePay integration ?
yes
I've already set this but still not work
paymentRequest = stripe.paymentRequest({
country: 'US',
requestPayerName: true,
requestPayerEmail: true,
requestShipping: true,
requestPayerPhone: true,
shippingOptions: [],
disableWallets: ['link'],
...options
});
btw, we aim to collect receipient phone but not payer phone~
we aim to collect receipient phone but not payer phone
I don't think I'm following here, what is the different ?
For Google Pay, you can collect just the phone number of the person who does the payments
from our process, payer is the one who pay for the order, but receipient is the one who will receive the final product.
Probably you should collect it in your APP, Google Pay just collects the payer phone AFAIK
Refer to this documnet, i guess we could get this phone ( and this is different from payer phone accordingly)
If I'm following you, you are referring to this link:
https://stripe.com/docs/js/appendix/shipping_address
Can you provide some screenshots about your integration? what phone input are you getting when doing a Google Pay payments ?
Could you please expand the shipping box?
Click edit on one of them
(btw: the below screeent is for our googlepay intergration , while the above is a demo we found in google directly)
↑ click edit in google's demo
↑click edit in our google integration
Sorry not understanding that language, but so there is no input for phone there?
yes, we did not find a phone number input in our integration
ok, give me couple of minutes in order to do a quick test
I did both tests on Apple Pay and Google Pay, there is no possibility to add phone on shipping forms
I think you need to use the PayerPhone number for the shipping, because AFAIK the shipping object is returned by Google/Apple widgets Stripe has no control on it. The ShippingAddresse (https://stripe.com/docs/js/appendix/shipping_address) is returned by those providers, if they don't collect phone then nothing to be returned to Stripe