Request Object
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/var/www/html/21pinchos.net/restaurant/plugins/pjPaypalExpress/libs/Paypal/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
179
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/var/www/html/21pinchos.net/restaurant/plugins/pjPaypalExpress/libs/Paypal/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
179
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/var/www/html/21pinchos.net/restaurant/plugins/pjPaypalExpress/libs/Paypal/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
179
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/var/www/html/21pinchos.net/restaurant/plugins/pjPaypalExpress/libs/Paypal/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
179
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/var/www/html/21pinchos.net/restaurant/plugins/pjPaypalExpress/libs/Paypal/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
179
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/var/www/html/21pinchos.net/restaurant/plugins/pjPaypalExpress/libs/Paypal/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
179
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/var/www/html/21pinchos.net/restaurant/plugins/pjPaypalExpress/libs/Paypal/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
179
{
"intent": "authorize",
"payer": {
"payment_method": "paypal"
},
"redirect_urls": {
"return_url": "https://21pinchos.net/restaurant/plugins/pjPaypalExpress/libs/Paypal/paypal/rest-api-sdk-php/sample/payments/ExecutePayment.php?success=true",
"cancel_url": "https://21pinchos.net/restaurant/plugins/pjPaypalExpress/libs/Paypal/paypal/rest-api-sdk-php/sample/payments/ExecutePayment.php?success=false"
},
"transactions": [
{
"amount": {
"currency": "USD",
"total": "0.17"
},
"description": "Payment description"
}
]
}
Response Object
Got Http response code 401 when accessing https://api.sandbox.paypal.com/v1/oauth2/token.
{
"error": "invalid_authz_code",
"error_description": "Authorization code not found in cache"
}