From 74ac86fb90f38d3107e38c788ec155c33293cce0 Mon Sep 17 00:00:00 2001 From: Thuan Bui Date: Mon, 31 Oct 2022 04:08:07 +0000 Subject: [PATCH] bugfix --- vietnam-payment-gateways.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vietnam-payment-gateways.php b/vietnam-payment-gateways.php index 3a05c50..fad279a 100644 --- a/vietnam-payment-gateways.php +++ b/vietnam-payment-gateways.php @@ -48,7 +48,7 @@ function vnpg_init_gateway_class() { // Actions. add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) ); - //add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'save_account_details' ) ); + add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'save_account_details' ) ); add_action( 'woocommerce_thankyou_' . $this->id, array( $this, 'thankyou_page' ) ); // Customer Emails.