From 4bbdf3079414935727016cf4f48536c25577c86e Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Thu, 15 Mar 2018 12:39:30 +0000 Subject: [PATCH] Reload gateways after updating the order. Fixes #19401 --- includes/admin/settings/class-wc-settings-checkout.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/admin/settings/class-wc-settings-checkout.php b/includes/admin/settings/class-wc-settings-checkout.php index 617e9ead44e..4ea6cfac361 100644 --- a/includes/admin/settings/class-wc-settings-checkout.php +++ b/includes/admin/settings/class-wc-settings-checkout.php @@ -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 ) {