api - AddressVerify php error 10002 -


i try verify pay pal mail adresses code

$this->_errors = array();         if (empty($method)) {             $this->_errors = array('method not exist');             return false;         }      $requestparams = array(         'method' => $method,         'version' => $this->_version     ) + $this->_credentials;      if (is_array($params)) {         $request = http_build_query($requestparams + $params);     } else {         $request = http_build_query($requestparams) . $params;     }      $curloptions = array (         curlopt_url            => $this->_endpoint,         curlopt_verbose        => 1,         curlopt_ssl_verifypeer => false,         curlopt_ssl_verifyhost => false,         curlopt_cainfo         => $this->_certificate,         curlopt_returntransfer => 1,         curlopt_post           => 1,         curlopt_postfields     => $request     );      $ch = curl_init();     curl_setopt_array($ch, $curloptions);     $response = curl_exec($ch); 

code right-it work on project, when try call addressverify method paypal api have 10002 error-"you not have permissions make api call". using "https://api-3t.paypal.com/nvp" adress connect , still have error. 1 know need do?

the addressverify api call not enabled on every account default. if sandbox, if can provide me email address of test sandbox seller account wish have enabled for, can enable on account. if live account, need contact paypal merchant services , submit request have enabled.


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -