PayPal API Generate Token 401 Unauthorized
-
Hello Support,
On the site I have linked to Query Monitor is throwing a 401 Error. It is in relation to the PayPal API. From the start – PayPal is working on the site in 2 places – GiveWP Donations and WooCommerce PayPal Standard gateway. Both are working without issue.
The GiveWP Plugin is the latest version 2.21.0. WordPress is version 6.0 and all plugins and the Theme are the latest versions.
However the Query Monitor plugin is showing this (Click link to the Gyazo screenshot)
https://i.gyazo.com/88219b79aac73618b885f3975dcec70a.png
The Details are
Method: POST
URL: https://api.paypal.com/v1/identity/generate-token
Status: 401 Unauthorized
Stack Trace:Give\P\P\R\MerchantDetails->getClientToken() wp-content/plugins/give/src/PaymentGateways/PayPalCommerce/Repositories/MerchantDetails.php:152 Give\P\P\ScriptLoader->loadPublicAssets() wp-content/plugins/give/src/PaymentGateways/PayPalCommerce/ScriptLoader.php:154 Give\H\Hooks::Give\H\{closure}() wp-content/plugins/give/src/Helpers/Hooks.php:43 do_action('wp_enqueue_scripts') wp-includes/plugin.php:476 wp_enqueue_scripts() wp-includes/script-loader.php:2156 do_action('wp_head') wp-includes/plugin.php:476 wp_head() wp-includes/general-template.php:3042 responsi_header() wp-content/themes/responsi/functions/theme-functions.php:345 load_template('wp-content/themes/responsi/header.php') wp-includes/template.php:770 locate_template() wp-includes/template.php:716 get_header() wp-includes/general-template.php:48
GiveWP is configured to use PayPal Donations and this is a verified charity with PayPal.
I cannot figure out why this is happening – so I thought I had better let you know.
I can give you admin access to the site to take a look if you wish? If so please use the Contact Form on a3rev to send me an email and I’ll set that up for you.
Thank you
SteveThe page I need help with: [log in to see the link]
- The topic ‘PayPal API Generate Token 401 Unauthorized’ is closed to new replies.