Closed angelleye closed 6 years ago
@kcppdevelopers When I Revoke my keys from the plugin settings I end up with this PHP warning...
Warning: Cannot modify header information - headers already sent by (output started at /home/angelley/sandbox_woocommerce/wp-content/plugins/woo-paypal-here/includes/class-paypal-here-woocommerce-rest-api.php:42) in /home/angelley/sandbox_woocommerce/wp-admin/includes/misc.php on line 1116
@kcppdevelopers Right now you have a wp admin notice with this verbiage...
Consumer key and Consumer secret not available
Let's change that to say...
Your API keys for WooCommerce are not configured. Please click the Generate WooCommerce REST API Key button in the PayPal Here settings to fix this.
Make the words PayPal Here settings
a link to the settings page.
@kcppdevelopers Also, we noticed that when we clicked the Generate button, I did not get any sort of a notice about whether or not it worked. When I refreshed the page, I did see the key was generated, but I was left confused when I first did it.
Not sure if this has something to do with the PHP notices that were being displayed blocking our notice from showing up, or if we didn't have a notice. One way or another we need to make sure to show the use that the key was successfully generated.
This just started happening today for some reason while I was doing my demo with PayPal. In this case I'm trying to load pending orders.