Commits

Thomas Tornevall authored 4cf4992245b
WOO-843 * Added option for enabling/disabling the entire gateway (Not the plugin, just the gateway functions - meaning basic functions, payment methods etc). To compare, this is the enabled-setting that also resides in Presta/Magento and allows the module to be enabled without interfering with "aftershop requests" etc. * Added "update_option" for controlling the gateway through wc-payments tab (with unexpected results). * Updated Data::isEnabled to the new settings controls. * Cleaned up gateway-list to handle gateways properly, based on how payment methods should be listed. * Removed legacy-filter (getAllowResursRun). * Added redirect helpers from "payments"-list (adminGatewayRedirect). * Booleans for isEnabled added.