androlizer

Untitled

Oct 4th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.87 KB | None | 0 0
  1. {"name":"Exception","message":"Got Http response code 401 when accessing https:\/\/api.paypal.com\/v1\/oauth2\/token.","code":401,"type":"PayPal\\Exception\\PayPalConnectionException","file":"\/var\/app\/current\/vendor\/paypal\/rest-api-sdk-php\/lib\/PayPal\/Core\/PayPalHttpConnection.php","line":174,"stack-trace":["#0 \/var\/app\/current\/vendor\/paypal\/rest-api-sdk-php\/lib\/PayPal\/Auth\/OAuthTokenCredential.php(241): PayPal\\Core\\PayPalHttpConnection->execute('grant_type=clie...')","#1 \/var\/app\/current\/vendor\/paypal\/rest-api-sdk-php\/lib\/PayPal\/Auth\/OAuthTokenCredential.php(266): PayPal\\Auth\\OAuthTokenCredential->getToken(Array, '', '', 'grant_type=clie...')","#2 \/var\/app\/current\/vendor\/paypal\/rest-api-sdk-php\/lib\/PayPal\/Auth\/OAuthTokenCredential.php(210): PayPal\\Auth\\OAuthTokenCredential->generateAccessToken(Array, NULL)","#3 \/var\/app\/current\/vendor\/paypal\/rest-api-sdk-php\/lib\/PayPal\/Auth\/OAuthTokenCredential.php(160): PayPal\\Auth\\OAuthTokenCredential->updateAccessToken(Array)","#4 \/var\/app\/current\/vendor\/paypal\/rest-api-sdk-php\/lib\/PayPal\/Handler\/RestHandler.php(82): PayPal\\Auth\\OAuthTokenCredential->getAccessToken(Array)","#5 \/var\/app\/current\/vendor\/paypal\/rest-api-sdk-php\/lib\/PayPal\/Transport\/PayPalRestCall.php(70): PayPal\\Handler\\RestHandler->handle(Object(PayPal\\Core\\PayPalHttpConfig), '', Array)","#6 \/var\/app\/current\/vendor\/paypal\/rest-api-sdk-php\/lib\/PayPal\/Common\/PayPalResourceModel.php(102): PayPal\\Transport\\PayPalRestCall->execute(Array, '\/v1\/payments\/pa...', 'GET', '', NULL)","#7 \/var\/app\/current\/vendor\/paypal\/rest-api-sdk-php\/lib\/PayPal\/Api\/Payment.php(603): PayPal\\Common\\PayPalResourceModel::executeCall('\/v1\/payments\/pa...', 'GET', '', NULL, Object(PayPal\\Rest\\ApiContext), NULL)","#8 \/var\/app\/current\/common\/models\/Paypal.php(108): PayPal\\Api\\Payment::get('PAY-21604007C66...', Object(PayPal\\Rest\\ApiContext))","#9 \/var\/app\/current\/rest\/versions\/v1\/controllers\/PaymentController.php(251): common\\models\\Paypal->getPayment('PAY-21604007C66...')","#10 [internal function]: rest\\versions\\v1\\controllers\\PaymentController->actionPayment()","#11 \/var\/app\/current\/vendor\/yiisoft\/yii2\/base\/InlineAction.php(55): call_user_func_array(Array, Array)","#12 \/var\/app\/current\/vendor\/yiisoft\/yii2\/base\/Controller.php(154): yii\\base\\InlineAction->runWithParams(Array)","#13 \/var\/app\/current\/vendor\/yiisoft\/yii2\/base\/Module.php(454): yii\\base\\Controller->runAction('payment', Array)","#14 \/var\/app\/current\/vendor\/yiisoft\/yii2\/web\/Application.php(87): yii\\base\\Module->runAction('v1\/payment\/paym...', Array)","#15 \/var\/app\/current\/vendor\/yiisoft\/yii2\/base\/Application.php(375): yii\\web\\Application->handleRequest(Object(yii\\web\\Request))","#16 \/var\/app\/current\/rest\/web\/index.php(22): yii\\base\\Application->run()","#17 {main}"]}
Add Comment
Please, Sign In to add comment