From 4d10e88f8a9835e41f81c0afdf368c0ab1c115ab Mon Sep 17 00:00:00 2001 From: Andre Starosta Date: Mon, 29 Jul 2019 15:40:14 -0300 Subject: [PATCH] Fix EBANX methods refreshing --- gateways/class-wc-ebanx-new-gateway.php | 1 - 1 file changed, 1 deletion(-) diff --git a/gateways/class-wc-ebanx-new-gateway.php b/gateways/class-wc-ebanx-new-gateway.php index eaaf6c5c..89415fd5 100644 --- a/gateways/class-wc-ebanx-new-gateway.php +++ b/gateways/class-wc-ebanx-new-gateway.php @@ -236,7 +236,6 @@ public function process_payment( $order_id ) { $message = WC_EBANX_Errors::get_error_message( $e, $country ); - WC()->session->set( 'refresh_totals', true ); WC_EBANX::log( "EBANX Error: $message" ); wc_add_notice( $message, 'error' );