Not Getting buyers phone number in return

Temp20230413u
New Community Member

i am using this package @paypal/react-paypal-js to integrate PayPal payment gateway in my next js website. I am using my sandbox account to test transactions. everything is working fine just I am not getting buyers phone number in returned object in payer. getting all the other information but not getting phone number. I have already checked the account have the phone number but still not returning.

Login to Me Too
1 REPLY 1

MTS_Jennifer
Moderator
Moderator

Hello @Temp20230413u 

Thank you for posting to the PayPal Merchant Community.

This setting needs to be enabled in the Business Sandbox account.

Here are the steps to adding it:

  • Log into your Sandbox Account at https://sandbox.paypal.com
  • Click on the Name at the top right
  • Click on account settings
  • Scroll down to Website payments
  • Click update next to Website preferences
  • Scroll down to Contact telephone number
  • Choose On (required field)

It should auto save.

If you are not able to update this setting, Merchant Technical Support can update any sandbox setting for you, if you provide your sandbox merchant id.

 

Thank you,

Jennifer

MTS

PayPal

 

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.