Reload gateways after updating the order. Fixes #19401

This commit is contained in:
Mike Jolley 2018-03-15 12:39:30 +00:00
parent e86ae89123
commit 4bbdf30794
1 changed files with 1 additions and 0 deletions

View File

@ -373,6 +373,7 @@ class WC_Settings_Payment_Gateways extends WC_Settings_Page {
WC_Admin_Settings::save_fields( $this->get_settings() );
$wc_payment_gateways->process_admin_options();
$wc_payment_gateways->init();
} else {
foreach ( $wc_payment_gateways->payment_gateways() as $gateway ) {