Advertisement
Guest User

asdasda

a guest
Jun 26th, 2017
419
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.29 KB | None | 0 0
  1. object(PayPal\Exception\PayPalConnectionException)#24 (9) { ["url":"PayPal\Exception\PayPalConnectionException":private]=> string(38) "https://api.paypal.com/v1/oauth2/token" ["data":"PayPal\Exception\PayPalConnectionException":private]=> string(77) "{"error":"invalid_client","error_description":"Client Authentication failed"}" ["message":protected]=> string(81) "Got Http response code 401 when accessing https://api.paypal.com/v1/oauth2/token." ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(401) ["file":protected]=> string(109) "C:\inetpub\vhosts\ips\includes\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Core\PayPalHttpConnection.php" ["line":protected]=> int(174) ["trace":"Exception":private]=> array(9) { [0]=> array(6) { ["file"]=> string(109) "C:\inetpub\vhosts\ips\includes\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Auth\OAuthTokenCredential.php" ["line"]=> int(249) ["function"]=> string(7) "execute" ["class"]=> string(32) "PayPal\Core\PayPalHttpConnection" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(29) "grant_type=client_credentials" } } [1]=> array(6) { ["file"]=> string(109) "C:\inetpub\vhosts\ips\includes\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Auth\OAuthTokenCredential.php" ["line"]=> int(274) ["function"]=> string(8) "getToken" ["class"]=> string(32) "PayPal\Auth\OAuthTokenCredential" ["type"]=> string(2) "->" ["args"]=> array(4) { [0]=> array(4) { ["mode"]=> string(4) "live" ["log.LogEnabled"]=> bool(true) ["log.FileName"]=> string(10) "PayPal.log" ["log.LogLevel"]=> string(4) "FINE" } [1]=> string(80) "EK4ZtRTRORnfKAxCN3xt-CntBu9ga12GE2EYcikx9XJji5V7BgtjbyutnJbuq0jBypVGmWFt4_a9Wje7" [2]=> string(80) "AeFSLj277-2d1Y74YoI_P4qTcsihHe41mZmp8kqPV7HWTG2L3iONBcpYRkKTsk6_2kfMypBpd9uWSw1A" [3]=> string(29) "grant_type=client_credentials" } } [2]=> array(6) { ["file"]=> string(109) "C:\inetpub\vhosts\ips\includes\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Auth\OAuthTokenCredential.php" ["line"]=> int(218) ["function"]=> string(19) "generateAccessToken" ["class"]=> string(32) "PayPal\Auth\OAuthTokenCredential" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> array(4) { ["mode"]=> string(4) "live" ["log.LogEnabled"]=> bool(true) ["log.FileName"]=> string(10) "PayPal.log" ["log.LogLevel"]=> string(4) "FINE" } [1]=> NULL } } [3]=> array(6) { ["file"]=> string(109) "C:\inetpub\vhosts\ips\includes\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Auth\OAuthTokenCredential.php" ["line"]=> int(168) ["function"]=> string(17) "updateAccessToken" ["class"]=> string(32) "PayPal\Auth\OAuthTokenCredential" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(4) { ["mode"]=> string(4) "live" ["log.LogEnabled"]=> bool(true) ["log.FileName"]=> string(10) "PayPal.log" ["log.LogLevel"]=> string(4) "FINE" } } } [4]=> array(6) { ["file"]=> string(103) "C:\inetpub\vhosts\ips\includes\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Handler\RestHandler.php" ["line"]=> int(83) ["function"]=> string(14) "getAccessToken" ["class"]=> string(32) "PayPal\Auth\OAuthTokenCredential" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> array(4) { ["mode"]=> string(4) "live" ["log.LogEnabled"]=> bool(true) ["log.FileName"]=> string(10) "PayPal.log" ["log.LogLevel"]=> string(4) "FINE" } } } [5]=> array(6) { ["file"]=> string(108) "C:\inetpub\vhosts\ips\includes\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Transport\PayPalRestCall.php" ["line"]=> int(71) ["function"]=> string(6) "handle" ["class"]=> string(26) "PayPal\Handler\RestHandler" ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> object(PayPal\Core\PayPalHttpConfig)#17 (5) { ["headers":"PayPal\Core\PayPalHttpConfig":private]=> array(3) { ["Content-Type"]=> string(16) "application/json" ["Expect"]=> NULL ["User-Agent"]=> string(128) "PayPalSDK/PayPal-PHP-SDK 1.6.4 (platform-ver=7.0.9; bit=32; os=Windows_NT_6.3; machine=i586; crypto-lib-ver=1.0.2h; curl=7.49.1)" } ["curlOptions":"PayPal\Core\PayPalHttpConfig":private]=> array(9) { [32]=> int(6) [78]=> int(10) [19913]=> bool(true) [13]=> int(60) [10018]=> string(14) "PayPal-PHP-SDK" [10023]=> array(0) { } [81]=> int(2) [64]=> int(1) [10083]=> string(5) "TLSv1" } ["url":"PayPal\Core\PayPalHttpConfig":private]=> string(42) "https://api.paypal.com/v1/payments/payment" ["method":"PayPal\Core\PayPalHttpConfig":private]=> string(4) "POST" ["retryCount":"PayPal\Core\PayPalHttpConfig":private]=> int(0) } [1]=> string(522) "{"intent":"sale","payer":{"payment_method":"paypal"},"redirect_urls":{"return_url":"http://eallegiance.site/includes/paypal/pay.php?sucess=true&paid=5","cancel_url":"http://eallegiance.site/includes/paypal/pay.php?sucess=false"},"transactions":[{"amount":{"currency":"USD","total":"5","details":{"shipping":"0","subtotal":"5"}},"item_list":{"items":[{"name":"Donation to OWD Rust Server","currency":"USD","quantity":1,"price":"5"}]},"description":"Payment to Hell on Earth Rust Server.","invoice_number":"59509ab7b7a70"}]}" [2]=> array(2) { ["path"]=> string(20) "/v1/payments/payment" ["apiContext"]=> object(PayPal\Rest\ApiContext)#2 (2) { ["requestId":"PayPal\Rest\ApiContext":private]=> NULL ["credential":"PayPal\Rest\ApiContext":private]=> object(PayPal\Auth\OAuthTokenCredential)#3 (8) { ["logger":"PayPal\Auth\OAuthTokenCredential":private]=> object(PayPal\Core\PayPalLoggingManager)#5 (4) { ["loggerName":"PayPal\Core\PayPalLoggingManager":private]=> string(32) "PayPal\Auth\OAuthTokenCredential" ["isLoggingEnabled":"PayPal\Core\PayPalLoggingManager":private]=> bool(false) ["loggingLevel":"PayPal\Core\PayPalLoggingManager":private]=> NULL ["loggerFile":"PayPal\Core\PayPalLoggingManager":private]=> NULL } ["clientId":"PayPal\Auth\OAuthTokenCredential":private]=> string(80) "EK4ZtRTRORnfKAxCN3xt-CntBu9ga12GE2EYcikx9XJji5V7BgtjbyutnJbuq0jBypVGmWFt4_a9Wje7" ["clientSecret":"PayPal\Auth\OAuthTokenCredential":private]=> string(80) "AeFSLj277-2d1Y74YoI_P4qTcsihHe41mZmp8kqPV7HWTG2L3iONBcpYRkKTsk6_2kfMypBpd9uWSw1A" ["accessToken":"PayPal\Auth\OAuthTokenCredential":private]=> NULL ["tokenExpiresIn":"PayPal\Auth\OAuthTokenCredential":private]=> NULL ["tokenCreateTime":"PayPal\Auth\OAuthTokenCredential":private]=> NULL ["cipher":"PayPal\Auth\OAuthTokenCredential":private]=> object(PayPal\Security\Cipher)#4 (1) { ["secretKey":"PayPal\Security\Cipher":private]=> string(80) "AeFSLj277-2d1Y74YoI_P4qTcsihHe41mZmp8kqPV7HWTG2L3iONBcpYRkKTsk6_2kfMypBpd9uWSw1A" } ["_propMap":"PayPal\Common\PayPalModel":private]=> array(0) { } } } } } } [6]=> array(6) { ["file"]=> string(110) "C:\inetpub\vhosts\ips\includes\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Common\PayPalResourceModel.php" ["line"]=> int(102) ["function"]=> string(7) "execute" ["class"]=> string(31) "PayPal\Transport\PayPalRestCall" ["type"]=> string(2) "->" ["args"]=> array(5) { [0]=> array(1) { [0]=> string(26) "PayPal\Handler\RestHandler" } [1]=> string(20) "/v1/payments/payment" [2]=> string(4) "POST" [3]=> string(522) "{"intent":"sale","payer":{"payment_method":"paypal"},"redirect_urls":{"return_url":"http://eallegiance.site/includes/paypal/pay.php?sucess=true&paid=5","cancel_url":"http://eallegiance.site/includes/paypal/pay.php?sucess=false"},"transactions":[{"amount":{"currency":"USD","total":"5","details":{"shipping":"0","subtotal":"5"}},"item_list":{"items":[{"name":"Donation to OWD Rust Server","currency":"USD","quantity":1,"price":"5"}]},"description":"Payment to Hell on Earth Rust Server.","invoice_number":"59509ab7b7a70"}]}" [4]=> array(0) { } } } [7]=> array(6) { ["file"]=> string(95) "C:\inetpub\vhosts\ips\includes\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Api\Payment.php" ["line"]=> int(576) ["function"]=> string(11) "executeCall" ["class"]=> string(33) "PayPal\Common\PayPalResourceModel" ["type"]=> string(2) "::" ["args"]=> array(6) { [0]=> string(20) "/v1/payments/payment" [1]=> string(4) "POST" [2]=> string(522) "{"intent":"sale","payer":{"payment_method":"paypal"},"redirect_urls":{"return_url":"http://eallegiance.site/includes/paypal/pay.php?sucess=true&paid=5","cancel_url":"http://eallegiance.site/includes/paypal/pay.php?sucess=false"},"transactions":[{"amount":{"currency":"USD","total":"5","details":{"shipping":"0","subtotal":"5"}},"item_list":{"items":[{"name":"Donation to OWD Rust Server","currency":"USD","quantity":1,"price":"5"}]},"description":"Payment to Hell on Earth Rust Server.","invoice_number":"59509ab7b7a70"}]}" [3]=> NULL [4]=> object(PayPal\Rest\ApiContext)#2 (2) { ["requestId":"PayPal\Rest\ApiContext":private]=> NULL ["credential":"PayPal\Rest\ApiContext":private]=> object(PayPal\Auth\OAuthTokenCredential)#3 (8) { ["logger":"PayPal\Auth\OAuthTokenCredential":private]=> object(PayPal\Core\PayPalLoggingManager)#5 (4) { ["loggerName":"PayPal\Core\PayPalLoggingManager":private]=> string(32) "PayPal\Auth\OAuthTokenCredential" ["isLoggingEnabled":"PayPal\Core\PayPalLoggingManager":private]=> bool(false) ["loggingLevel":"PayPal\Core\PayPalLoggingManager":private]=> NULL ["loggerFile":"PayPal\Core\PayPalLoggingManager":private]=> NULL } ["clientId":"PayPal\Auth\OAuthTokenCredential":private]=> string(80) "EK4ZtRTRORnfKAxCN3xt-CntBu9ga12GE2EYcikx9XJji5V7BgtjbyutnJbuq0jBypVGmWFt4_a9Wje7" ["clientSecret":"PayPal\Auth\OAuthTokenCredential":private]=> string(80) "AeFSLj277-2d1Y74YoI_P4qTcsihHe41mZmp8kqPV7HWTG2L3iONBcpYRkKTsk6_2kfMypBpd9uWSw1A" ["accessToken":"PayPal\Auth\OAuthTokenCredential":private]=> NULL ["tokenExpiresIn":"PayPal\Auth\OAuthTokenCredential":private]=> NULL ["tokenCreateTime":"PayPal\Auth\OAuthTokenCredential":private]=> NULL ["cipher":"PayPal\Auth\OAuthTokenCredential":private]=> object(PayPal\Security\Cipher)#4 (1) { ["secretKey":"PayPal\Security\Cipher":private]=> string(80) "AeFSLj277-2d1Y74YoI_P4qTcsihHe41mZmp8kqPV7HWTG2L3iONBcpYRkKTsk6_2kfMypBpd9uWSw1A" } ["_propMap":"PayPal\Common\PayPalModel":private]=> array(0) { } } } [5]=> object(PayPal\Transport\PayPalRestCall)#15 (2) { ["logger":"PayPal\Transport\PayPalRestCall":private]=> object(PayPal\Core\PayPalLoggingManager)#16 (4) { ["loggerName":"PayPal\Core\PayPalLoggingManager":private]=> string(31) "PayPal\Transport\PayPalRestCall" ["isLoggingEnabled":"PayPal\Core\PayPalLoggingManager":private]=> bool(true) ["loggingLevel":"PayPal\Core\PayPalLoggingManager":private]=> int(3) ["loggerFile":"PayPal\Core\PayPalLoggingManager":private]=> string(10) "PayPal.log" } ["apiContext":"PayPal\Transport\PayPalRestCall":private]=> object(PayPal\Rest\ApiContext)#2 (2) { ["requestId":"PayPal\Rest\ApiContext":private]=> NULL ["credential":"PayPal\Rest\ApiContext":private]=> object(PayPal\Auth\OAuthTokenCredential)#3 (8) { ["logger":"PayPal\Auth\OAuthTokenCredential":private]=> object(PayPal\Core\PayPalLoggingManager)#5 (4) { ["loggerName":"PayPal\Core\PayPalLoggingManager":private]=> string(32) "PayPal\Auth\OAuthTokenCredential" ["isLoggingEnabled":"PayPal\Core\PayPalLoggingManager":private]=> bool(false) ["loggingLevel":"PayPal\Core\PayPalLoggingManager":private]=> NULL ["loggerFile":"PayPal\Core\PayPalLoggingManager":private]=> NULL } ["clientId":"PayPal\Auth\OAuthTokenCredential":private]=> string(80) "EK4ZtRTRORnfKAxCN3xt-CntBu9ga12GE2EYcikx9XJji5V7BgtjbyutnJbuq0jBypVGmWFt4_a9Wje7" ["clientSecret":"PayPal\Auth\OAuthTokenCredential":private]=> string(80) "AeFSLj277-2d1Y74YoI_P4qTcsihHe41mZmp8kqPV7HWTG2L3iONBcpYRkKTsk6_2kfMypBpd9uWSw1A" ["accessToken":"PayPal\Auth\OAuthTokenCredential":private]=> NULL ["tokenExpiresIn":"PayPal\Auth\OAuthTokenCredential":private]=> NULL ["tokenCreateTime":"PayPal\Auth\OAuthTokenCredential":private]=> NULL ["cipher":"PayPal\Auth\OAuthTokenCredential":private]=> object(PayPal\Security\Cipher)#4 (1) { ["secretKey":"PayPal\Security\Cipher":private]=> string(80) "AeFSLj277-2d1Y74YoI_P4qTcsihHe41mZmp8kqPV7HWTG2L3iONBcpYRkKTsk6_2kfMypBpd9uWSw1A" } ["_propMap":"PayPal\Common\PayPalModel":private]=> array(0) { } } } } } } [8]=> array(6) { ["file"]=> string(50) "C:\inetpub\vhosts\ips\includes\paypal\checkout.php" ["line"]=> int(70) ["function"]=> string(6) "create" ["class"]=> string(18) "PayPal\Api\Payment" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> object(PayPal\Rest\ApiContext)#2 (2) { ["requestId":"PayPal\Rest\ApiContext":private]=> NULL ["credential":"PayPal\Rest\ApiContext":private]=> object(PayPal\Auth\OAuthTokenCredential)#3 (8) { ["logger":"PayPal\Auth\OAuthTokenCredential":private]=> object(PayPal\Core\PayPalLoggingManager)#5 (4) { ["loggerName":"PayPal\Core\PayPalLoggingManager":private]=> string(32) "PayPal\Auth\OAuthTokenCredential" ["isLoggingEnabled":"PayPal\Core\PayPalLoggingManager":private]=> bool(false) ["loggingLevel":"PayPal\Core\PayPalLoggingManager":private]=> NULL ["loggerFile":"PayPal\Core\PayPalLoggingManager":private]=> NULL } ["clientId":"PayPal\Auth\OAuthTokenCredential":private]=> string(80) "EK4ZtRTRORnfKAxCN3xt-CntBu9ga12GE2EYcikx9XJji5V7BgtjbyutnJbuq0jBypVGmWFt4_a9Wje7" ["clientSecret":"PayPal\Auth\OAuthTokenCredential":private]=> string(80) "AeFSLj277-2d1Y74YoI_P4qTcsihHe41mZmp8kqPV7HWTG2L3iONBcpYRkKTsk6_2kfMypBpd9uWSw1A" ["accessToken":"PayPal\Auth\OAuthTokenCredential":private]=> NULL ["tokenExpiresIn":"PayPal\Auth\OAuthTokenCredential":private]=> NULL ["tokenCreateTime":"PayPal\Auth\OAuthTokenCredential":private]=> NULL ["cipher":"PayPal\Auth\OAuthTokenCredential":private]=> object(PayPal\Security\Cipher)#4 (1) { ["secretKey":"PayPal\Security\Cipher":private]=> string(80) "AeFSLj277-2d1Y74YoI_P4qTcsihHe41mZmp8kqPV7HWTG2L3iONBcpYRkKTsk6_2kfMypBpd9uWSw1A" } ["_propMap":"PayPal\Common\PayPalModel":private]=> array(0) { } } } } } } ["previous":"Exception":private]=> NULL }
  2. PayPal\Exception\PayPalConnectionException: Got Http response code 401 when accessing https://api.paypal.com/v1/oauth2/token. in C:\inetpub\vhosts\ips\includes\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Core\PayPalHttpConnection.php:174 Stack trace: #0 C:\inetpub\vhosts\ips\includes\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Auth\OAuthTokenCredential.php(249): PayPal\Core\PayPalHttpConnection->execute('grant_type=clie...') #1 C:\inetpub\vhosts\ips\includes\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Auth\OAuthTokenCredential.php(274): PayPal\Auth\OAuthTokenCredential->getToken(Array, 'EK4ZtRTRORnfKAx...', 'AeFSLj277-2d1Y7...', 'grant_type=clie...') #2 C:\inetpub\vhosts\ips\includes\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Auth\OAuthTokenCredential.php(218): PayPal\Auth\OAuthTokenCredential->generateAccessToken(Array, NULL) #3 C:\inetpub\vhosts\ips\includes\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Auth\OAuthTokenCredential.php(168): PayPal\Auth\OAuthTokenCredential->updateAccessToken(Array) #4 C:\inetpub\vhosts\ips\includes\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Handler\RestHandler.php(83): PayPal\Auth\OAuthTokenCredential->getAccessToken(Array) #5 C:\inetpub\vhosts\ips\includes\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Transport\PayPalRestCall.php(71): PayPal\Handler\RestHandler->handle(Object(PayPal\Core\PayPalHttpConfig), '{"intent":"sale...', Array) #6 C:\inetpub\vhosts\ips\includes\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Common\PayPalResourceModel.php(102): PayPal\Transport\PayPalRestCall->execute(Array, '/v1/payments/pa...', 'POST', '{"intent":"sale...', Array) #7 C:\inetpub\vhosts\ips\includes\paypal\vendor\paypal\rest-api-sdk-php\lib\PayPal\Api\Payment.php(576): PayPal\Common\PayPalResourceModel::executeCall('/v1/payments/pa...', 'POST', '{"intent":"sale...', NULL, Object(PayPal\Rest\ApiContext), Object(PayPal\Transport\PayPalRestCall)) #8 C:\inetpub\vhosts\ips\includes\paypal\checkout.php(70): PayPal\Api\Payment->create(Object(PayPal\Rest\ApiContext)) #9 {main}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement