Hello,
We are developing a new payments app (as per the instructions here: https://shopify.dev/apps/payments/processing-a-payment).
We have a requirement to capture customer phone number in order to proceed with payment processing. We have enabled the necessary settings in development store so that we will get shipping phone number in the payment session request body.
We set the Shipping phone number as required and customer can checkout with phone number or email (I tried with both options).
When we analysed the received payment session request body, we don’t get the phone number.
I also noticed in the documentation something along the lines - If customer is included, then one of customer.email or customer.phone must be present, but not both.
Does anybody know why there is such a rule? Is there any way to get phone number?
Thanks,
Teena George


