php - AddressVerify API — do not have permissions to make this API call -


i have called addressverify api of paypal in sandbox mode returns error,

[l_errorcode0] => 10002 [l_shortmessage0] => authentication/authorization failed [l_longmessage0] => not have permissions make api call [l_severitycode0] => error 

my code addressverification is,

function verify_address($paypalconfig, $email, $street, $zipcode) {      $paypal = new paypal($paypalconfig);      $avfields = array(         'email' => $email,         'street' => $street,         'zip' => $zipcode,     );      $paypalrequestdata = array(         'avfields' => $avfields,                 );      $paypalresult = $paypal->addressverify($paypalrequestdata);     return $paypalresult;  } 

i want know there setting enable api call or other method call api successfully?

address verification not enabled sandbox. so, need open support request or make phone call enable that.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -