Stripe keys was added directly to database. I really dont know, why is those strings limited to 100 characters, while stripe keys has more characters… My keys had 107 characters
Hi @megosoft
Generally stripe keys are of 70-80 characters. But sure if you are facing issue with this limit, we will increase it in our upcoming update.
Thanks
Hi, i have the same problem. My keys had 107 characters.
@megosoft how do you added directly to database?
@jajaman hello bro. You need to get to the database. I suppose, you are the coder and know sql.
Log in to the phpmyadmin (or similar) and find the table. I am not sure about its exact name, but there was something like stripe_options or similar.
There is only one row in that table. Click structure, then find column with name “publicable key” and “secret_key” or similar, them update both to 255 characters length. Save.
Then click to edit data (or doubleclick on the cell in phpmyadmin) and paste your key. Click save (or click outside the cell to save changes). If you need more information, feel free to contact me.
I apologize for unexactly information, I am on mobile now and cant get the exact names of table and columns. ๐
Thank you for the reply @megosoft
I ask you if you can send me the exact path of the .php file to edit and how to do it.
Take it easy, when you have time! Thanks again if you can help me.
This has nothing to do with php, friend. You need to add your keys directly to database. Have your hosting provider the entrance to phpmyadmin (it is just a name, but has nothing to do with php as well), or another database tool?
-
This reply was modified 5 years, 9 months ago by
megosoft.
Yes @megosoft i can access to the database, but i donโt underderstand what i need to modify.
Plz, give me some time. I will write when I get close to PC ๐
Ok, so:
1. Get to the tool, where you can manage your database
2. Find table “yourprefix_giftvouchers_setting”, mostly wp_giftvouchers_setting, open it
3. There is only 1 row with plugin settings. Click the “Structure” at the top of PHPmyadmin, select rows 29 and 30 (or better said here: https://prnt.sc/tvvwi8 )
4. Change length to 255 characters ( https://prnt.sc/tvvx0o ) and click save button
5. Click the “Browse” at the top of PHPmyadmin, then click “Edit” or “Update” at the start of the first row (there is only one row)
6. Find “stripe_publishable_key” and “stripe_secret_key” and add your keys to textareas ( https://prnt.sc/tvvy4f )
7. Scroll down and click “Save” button (or similar button text, probably RUN)
Hope this helped ๐
Thank you @megosoft !
I will try and let you know.