Regarding Paypal payment gateway for Magento 2 Rest API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Below is response we are getting from paypal
{
"message": "Consumer is not authorized to access %resources",
"parameters": {
"resources": "self"
},
"trace": "#0 /home/twzlqb5tnpep/public_html/buythevalue.in/vendor/magento/module-webapi/Controller/Rest/RequestValidator.php(70): Magento\\Webapi\\Controller\\Rest\\RequestValidator->checkPermissions()\n#1 /home/twzlqb5tnpep/public_html/buythevalue.in/vendor/magento/module-webapi/Controller/Rest/InputParamsResolver.php(80): Magento\\Webapi\\Controller\\Rest\\RequestValidator->validate()\n#2 /home/twzlqb5tnpep/public_html/buythevalue.in/vendor/magento/module-webapi/Controller/Rest.php(299): Magento\\Webapi\\Controller\\Rest\\InputParamsResolver->resolve()\n#3 /home/twzlqb5tnpep/public_html/buythevalue.in/vendor/magento/module-webapi/Controller/Rest.php(216): Magento\\Webapi\\Controller\\Rest->processApiRequest()\n#4 /home/twzlqb5tnpep/public_html/buythevalue.in/var/generation/Magento/Webapi/Controller/Rest/Interceptor.php(37): Magento\\Webapi\\Controller\\Rest->dispatch(Object(Magento\\Framework\\App\\Request\\Http))\n#5 /home/twzlqb5tnpep/public_html/buythevalue.in/vendor/magento/framework/App/Http.php(135): Magento\\Webapi\\Controller\\Rest\\Interceptor->dispatch(Object(Magento\\Framework\\App\\Request\\Http))\n#6 /home/twzlqb5tnpep/public_html/buythevalue.in/vendor/magento/framework/App/Bootstrap.php(258): Magento\\Framework\\App\\Http->launch()\n#7 /home/twzlqb5tnpep/public_html/buythevalue.in/index.php(39): Magento\\Framework\\App\\Bootstrap->run(Object(Magento\\Framework\\App\\Http))\n#8 {main}"
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Mandatory Account Creation Hindering Customer Experience in REST APIs
- Cannot verify sandbox account with email verification in Sandbox Environment
- Need help to integrate PayPal Checkout Advanced (PPCP) with WooCommerce in PayPal Upgrade Community
- Acquirer Error (400 : No permissions to set target_client_id) on live Magento 2 integration in REST APIs
- [UNPROCESSABLE_ENTITY], but payment went through in PayPal Payments Standard