Sell Online Easily with PayPal & WordPress › Forums › WP Express Checkout Plugin Forum › Invalid or Missing API Credentials!
- This topic has 6 replies, 2 voices, and was last updated 1 year, 1 month ago by admin.
-
AuthorPosts
-
January 2, 2023 at 11:37 am #996estudieParticipant
I’ve been using this plug-in since it came out, but now I want to link it to another PayPal account. I can’t do that.
I have updated the General Setting on the WP Express Checkout Settings page with the new PayPal Credentials, but I then get the following error message:
“Invalid or Missing API Credentials! Check the General Settings tab and enter valid API credentials in the PayPal Credentials section for mode”
I have followed the procedure described here: https://wp-express-checkout.com/getting-live-and-sandbox-client-ids/ as far as possible. Your user manual has not been updated in relation to PayPal’s new interface, so perhaps the problem lies here.
In the user manual it says that I should first create credentials for Sandbox, then I should get two new credentials when I create live mode. In PayPal’s new interface, both Live Client ID and Sandbox Client ID are generated at the same time. They are therefore equal. The same applies to the Secret key. Is this what causes the error message when I go to Subscriptions and PayPal webhooks?
Now how do I go about making this work?
January 3, 2023 at 12:59 am #997adminKeymasterAre you using the subscriptions addon? Let me make sure if you are using the subscription addon or not because for that, you need to do a few more stuff to switch things over since the subscription plans are created in the account. So if you have older subscription products, those will need to be re-created after you plug in the new API keys. Also, the webhook needs to be deleted and re-done from the subscriptions settings menu of the plugin.
January 3, 2023 at 5:36 pm #1022estudieParticipantYes, I use the subscriptions addon. I have deleted the webhooks and created a new one. The problem is that I get the error message when I try to save the “General Setting” page where I enter the PayPal Credentials.
“Invalid or Missing API Credentials! Check the General Settings tab and enter valid API credentials in the PayPal Credentials section for mode”
Since the error message comes here, it probably doesn’t help much to generate the subscription plan again, or am I wrong here?
January 10, 2023 at 12:03 am #1023adminKeymasterWe have updated the following documentation for getting the Client ID and Secret keys. Can you please go through it one more time and enter the new API credentials for both live and sandbox and then save it:
November 12, 2023 at 11:57 am #1303estudieParticipantI still can’t get this to work. I have deleted all “products” so all shortcodes are gone. Also deleted all webhooks. It is now fine to insert the Live Client ID and Live Secret key, as well as corresponding values for the Sandbox. The problem occurs when I create new PayPal webhooks under the “Subscription” tab.
Creating “Live Webhook Status” goes fine. Here I get a green tick. The issue is Test Webhook Status. Here it says “No webhook found. Use the following Create Webhook button to create a new webhook automatically in your PayPal account.”. When I click on the “Create webhooks” button, I get the following error message: “Webhook URL already exists: null”. Tried deleting the webhooks again, but still get the same result. What am I doing wrong? Have now almost spent 1 year trying to switch from one PayPal account to another.
November 12, 2023 at 12:14 pm #1304estudieParticipantI also get the following error message on all my pages: “WP Express Checkout Subscriptions Addon: webhooks seem to be not configured properly. Please go to settings page to configure them.” When I follow the link I get to the “Advanced setting” tab. Here I have checked all the settings. All appear to be correct according to their instructions. What do I need to do to make this payment solution work?
November 13, 2023 at 12:02 am #1306adminKeymasterSomething is mixed up badly somewhere with the API setup on this site. It will be best to do a clean up and setup new. Do the following:
#1) Delete the API related settings and the webhooks from settings menu of the plugin.
#2) Delete the products
#3) Delete the app from the PayPal developer portal.
#4) Follow this documentation to setup the app and the API details using your new PayPal account.#5) Setup a new product and test a transaction:
#6) For the subscription type products, The most important step will be to delete any of the old subscription products that you may have. Trying to reuse the existing subscriptions products won’t work as PayPal requires the subscription plan to be newly created after API details are changed. So, after you have set up the API details, create a new subscription product and then test it.
I will reply to your email also.
-
AuthorPosts
- You must be logged in to reply to this topic.