If the plugin is on a staging site and detects that WooCommerce is enabled, we should automatically set the payment gateways into test mode
something like wp option patch might be useful
It might require different calls for different payment gateways, but certainly the Strripe Gateway would be a good place to start
If the plugin is on a staging site and detects that WooCommerce is enabled, we should automatically set the payment gateways into test mode
something like
wp option patchmight be usefulIt might require different calls for different payment gateways, but certainly the Strripe Gateway would be a good place to start