• Resolved megosoft

    (@megosoft)


    Hello, I am unable to add Stripe public and secret keys to plugin settings. When I write the keys to inputs, here:
    https://prnt.sc/tr3oyo
    And press the save button, my keys are gone away.
    I am unable to add keys to the stripe. Why?

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter megosoft

    (@megosoft)

    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

    Plugin Author Codemenschen

    (@codemenschen)

    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?

    Thread Starter megosoft

    (@megosoft)

    @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.

    Thread Starter megosoft

    (@megosoft)

    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 4 years, 3 months ago by megosoft.

    Yes @megosoft i can access to the database, but i don’t underderstand what i need to modify.

    Thread Starter megosoft

    (@megosoft)

    Plz, give me some time. I will write when I get close to PC ??

    ok!

    Thread Starter megosoft

    (@megosoft)

    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.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Can’ add stripe keys’ is closed to new replies.