davidfcarr / rsvpmaker

RSVPMaker Events and Registration Plugin for WordPress
Other
13 stars 6 forks source link

Stripe once enabled, doesn't get disabled #8

Open mohankumar031 opened 5 years ago

mohankumar031 commented 5 years ago

Stripe payment option once enabled, cannot be disabled. tried to remove the key and secret, but it always takes up the old value event after settings are saved.

mohankumar031 commented 5 years ago

This is my site http://nammavpc.com

jwizz85 commented 2 years ago

3 years too late but a workaround for anyone else coming across this issue.. you can find the keys stored in the db options table with the option_name as 'rsvpmaker_stripe_keys' replace the value with

a:6:{s:2:"pk";s:0:"";s:2:"sk";s:0:"";s:10:"sandbox_pk";s:0:"";s:10:"sandbox_sk";s:0:"";s:6:"notify";s:0:"";s:4:"mode";s:7:"sandbox";}

and you can set them again in the front end

jwizz85 commented 2 years ago

same can be done for the paypal api keys. same database table but option name 'rsvpmaker_paypal_rest_keys' replace options_value with

a:5:{s:7:"sandbox";s:1:"1";s:9:"client_id";s:80:"";s:13:"client_secret";s:80:"";s:17:"sandbox_client_id";s:80:"";s:21:"sandbox_client_secret";s:80:"";}