From f2cd3370db87fd02d2e29b32ca5b4264fbf5ad00 Mon Sep 17 00:00:00 2001 From: prem chand Date: Wed, 4 Dec 2019 16:17:49 +0530 Subject: [PATCH] version bump 2.4.0 --- .gitignore | 3 ++- readme.txt | 7 ++++++- woo-razorpay.php | 8 ++++---- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 723ef36f..1f1025f2 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -.idea \ No newline at end of file +.idea +.DS_Store \ No newline at end of file diff --git a/readme.txt b/readme.txt index 140bf899..2e3a2ce7 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: razorpay Tags: razorpay, payments, india, woocommerce, ecommerce Requires at least: 3.9.2 Tested up to: 5.2.4 -Stable tag: 2.3.2 +Stable tag: 2.4.0 Requires PHP: 5.6 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -41,6 +41,11 @@ This is compatible with WooCommerce>=2.4, including the new 3.0 release. It has == Changelog == += 2.4.0 = +* Added webhook for handling refund create and change order status +* Bug fix for cart is reset if payment fails or is cancelled +* Tested upto WordPress 5.2.4 and WooCommerce 3.7.1 + = 2.3.2 = * Added RAZORPAY ORDER ID in order notes. * Tested upto WordPress 5.2.4 and WooCommerce 3.7.1 diff --git a/woo-razorpay.php b/woo-razorpay.php index 937b97db..74d0975a 100644 --- a/woo-razorpay.php +++ b/woo-razorpay.php @@ -3,8 +3,8 @@ * Plugin Name: Razorpay for WooCommerce * Plugin URI: https://razorpay.com * Description: Razorpay Payment Gateway Integration for WooCommerce - * Version: 2.3.2 - * Stable tag: 2.3.2 + * Version: 2.4.0 + * Stable tag: 2.4.0 * Author: Team Razorpay * WC tested up to: 3.7.1 * Author URI: https://razorpay.com @@ -641,8 +641,8 @@ function generateOrderForm($data) $data['preference']['image'] = $merchantPreferences['options']['image']; - return $this->hostCheckoutScripts($data); - + return $this->hostCheckoutScripts($data); + } else { $this->enqueueCheckoutScripts($data);