Skip to main content

Stripe bug URGENT

I ran into a wierd problem i had my site on local with fluent cart everything worked nicely but when i pushed it to live on hetzner server i am getting this error in stripe settings no matter if the stripe account is connected or not

Invalid API Key provided: RYMa7SM6****RA==

On test mode when i click connect to the account it opens the stripe interface and connects the account normally but for live it just reloads the page

1.00

Shahjahan Jewel

Can you disconnect and connect again? We encrypt the key on the database so somehow the old key may not work.

Maaz Shakir

Shahjahan JewelΒ Already tried to delete the stripe account and connect to the other one, i even disabled and enabled the plugin again. But the error persists

Is it possible to delete the previous value manually in db?

Maaz Shakir

Shahjahan JewelΒ 

I was able to solve it so if some is facing the same issue just replace fct_meta-> fluent_cart_payment_settings_stripe meta in db to : {"is_active":"yes","define_test_keys":false,"define_live_keys":false,"test_publishable_key":"","test_secret_key":"","test_webhook_secret":"","live_publishable_key":"","live_secret_key":"","live_webhook_secret":"","payment_mode":"test","checkout_mode":"onsite","live_is_encrypted":"yes","test_is_encrypted":"yes","secure":"yes","test_connect_hash":"9f182d1a5b23a029ad150eb15215ccf1","test_account_id":"","live_connect_hash":"31183de6020f9f0e2d8a0156441f7b79","live_account_id":"acct_1StEaHFwM9bx8JDK","checkout_label":"KΓ‘rtya fizetΓ©s","checkout_logo":"","checkout_instructions":"","thank_you_page_instructions":""}

and you will get some sort of error in stripe settings but it will reser everything and it will allow to connect the account again

Nicolas D

Maaz ShakirΒ Thanks for the fix !

L. Baugh

Maaz ShakirΒ Thank you, I needed this, too!

David Schmidgall

Maaz ShakirΒ Thanks for the fix as well! I needed it too!