I have a sandbox account and api credentials and I'm stumped.
Here's the curl log
2008-02-27 08:26:26
-------------------
(sandbox transaction) --> https://api.sandbox.paypal.com/nvp
Request Headers:
Array
(
[0] => Content-Type: text/namevalue
[1] => X-VPS-Timeout: 45
[2] => X-VPS-VIT-Client-Type: PHP/cURL
[3] => X-VPS-VIT-Integration-Product: PHP::Zen Cart - WPP-NVP
[4] => X-VPS-VIT-Integration-Version: 1.3.8a
)
Request Parameters: {SetExpressCheckout}
Array
(
[LOCALECODE] => US
[PAYMENTACTION] => Authorization
[AMT] => 198.00
[RETURNURL] => https://www.tbaquatics.com/shoplive/...er.php?type=ec
[CANCELURL] => https://www.tbaquatics.com/shoplive/...mp;ec_cancel=1
[PAGESTYLE] => Primary
[METHOD] => SetExpressCheckout
[CURRENCYCODE] => USD
[USER] => [email protected]
[PWD] => **********
[VERSION] => 3.2
[SIGNATURE] => ****************************************************XA9R
)
Response:
Array
(
[TIMESTAMP] => 2008-02-28T01:26:26Z
[CORRELATIONID] => ace0c52517573
[ACK] => Failure
[VERSION] => 3.2
[BUILD] => 512684
[L_ERRORCODE0] => 10002
[L_SHORTMESSAGE0] => Authentication/Authorization Failed
[L_LONGMESSAGE0] => You do not have permissions to make this API call
[L_SEVERITYCODE0] => Error
[CURL_ERRORS] =>
)
SetExpressCheckout, Elapsed: 318ms -- Failure
TIMESTAMP=2008%2d02%2d28T01%3a26%3a26Z&CORRELATIONID=ace0c52517573&ACK=Failure&V ERSION=3%2e2&BUILD=512684&L_ERRORCODE0=10002&L_SHORTMESSAGE0=Authentication%2fAu thorization%20Failed&L_LONGMESSAGE0=You%20do%20not%20have%20permissions%20to%20m ake%20this%20API%20call&L_SEVERITYCODE0=Error&CURL_ERRORS=
Bookmarks