diff --git a/changelog.md b/changelog.md index 3fcbaea..9279f48 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,6 @@ +#### Version 3.8.1 +- Issue : Installments Rate Save + #### Version 3.8.0 - Improvement : Additional Filters - Issue : Minumum Installment Message diff --git a/core/library/Moka_Gateway.php b/core/library/Moka_Gateway.php index d9d49a5..57052e2 100644 --- a/core/library/Moka_Gateway.php +++ b/core/library/Moka_Gateway.php @@ -1200,7 +1200,6 @@ private function __saveRates() if(data_get($_POST, $optionKey)) { - delete_option($optionKey); return $this->optimisthubMoka->setInstallments($_POST[$optionKey]); } } diff --git a/index.php b/index.php index c4e1059..631956b 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ * Plugin Name: Moka Payment Gateway for WooCommerce * Plugin URI: https://github.com/optimisthub/moka-woocommerce * Description: Moka Payment gateway for woocommerce - * Version: 3.8.0 + * Version: 3.8.1 * Author: Optimist Hub * Author URI: https://optimisthub.com/?utm_source=moka-woocommerce&utm_campaign=moka-woocommerce&utm_content=plugins * Domain Path: /languages/ @@ -14,7 +14,7 @@ exit; } -define( 'OPTIMISTHUB_MOKA_PAY_VERSION', '3.8.0' ); +define( 'OPTIMISTHUB_MOKA_PAY_VERSION', '3.8.1' ); define( 'OPTIMISTHUB_MOKA_BASENAME', plugin_basename( __FILE__ ) ); define( 'OPTIMISTHUB_MOKA_DIR', plugin_dir_path( __FILE__ ) ); define( 'OPTIMISTHUB_MOKA_URL', plugin_dir_url( __FILE__ ) );