Invoice from php sdk don't show phone number.

thepthongthep
Contributor
Contributor

Hi guys,

I have my website create an invoice from paypal's php-sdk. Everything is fine except that I can't make an invoice to show merchant's phone number on it.

 

This is what I tried, My country code is (66), so, My code would look like

$invoice->getMerchantInfo()
             ->getPhone()
             ->setCountryCode(66)  // I tried +66, 066
             ->setNationalNumber(<removed>);// I tried 0<removed>, 66<removed>

which wouldn't work at all, my invoice still not show the phone number.

 

Thanks

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

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