I use the combination of the Gravity Forms plugin with the Stripe add-on to accept payments on all my WordPress websites. I have found accepting credit card payments from over 30 countries for my Mailchimp services simple and reliable to accept using Stripe and Gravity Forms makes integrating WordPress with Strip a breeze.
A few days back I migrated one of my websites to a new VPS. For some reason, in the Gravity Forms Stripe settings, one of the API keys showed as incorrect even although I knew it was valid. I tried to type in the key manually and paste the key into the field but the key kept showing as incorrect.
Fortunately I managed to resolve the issue as below. The key I was having an issue with was the Live Publishable Key however the solution below should work with any of the other keys; Test Publishable Key, Test Secret Key or Live Secret Key:
- Remove the key from the Live Publishable Key field (so that the field is empty).
- Click on another field.
- Enter the key in the Live Publishable Key.
- Click on another field.
This seems to force a check to see if the key is valid. Without first emptying the field, the key check wasn’t being forced.
P.S. Remember to always use end-to-end HTTPs when hosting a payment form.
This solution is not working for me, can you please help me out with this. In my case secret key showing invalid for test and live both.
I have the same problem. The secret key is showing as invalid every time. We have this working fine on a website hosted on server A, but it doesnt work on a website hosted on Server B. Both servers are CentOs.
Thanks Gary, this solution worked fine for me! You saved me a lot of time and frustration. I kept checking and double checking the keys, and they were correct so I couldn’t for the life of me figure out why they weren’t approved by GF. My mistake (although it seems more like a bug in the system) was that I didn’t empty the field first, I just pasted the key over the existing one. Removing the key – clicking another field – and then paste the copied key as you suggested did the trick.
Hi There – I am getting a message (below) after I have already made my gravity form live and activated everything for Stripe. How do I overcome this issue?
THIS PAGE IS UNSECURED. DO NOT ENTER A REAL CREDIT CARD NUMBER! USE THIS FIELD ONLY FOR TESTING PURPOSES.