Razorpay for WooCommerce - Version 1.6.1

Version Description

  • Fixes payment title/description in WC Checkout page.
  • Adds WooCommerce version tested in the plugin metadata
Download this release

Release Info

Developer razorpay
Plugin Icon 128x128 Razorpay for WooCommerce
Version 1.6.1
Comparing to
See all releases

Code changes from version 1.6.0 to 1.6.1

Files changed (2) hide show
  1. razorpay-payments.php +12 -12
  2. readme.txt +5 -1
razorpay-payments.php CHANGED
@@ -1,12 +1,13 @@
1
  <?php
2
  /*
3
- Plugin Name: Razorpay for WooCommerce
4
- Plugin URI: https://razorpay.com
5
- Description: Razorpay Payment Gateway Integration for WooCommerce
6
- Version: 1.6.0
7
- Stable tag: 1.6.0
8
- Author: Razorpay
9
- Author URI: https://razorpay.com
 
10
  */
11
 
12
  if ( ! defined( 'ABSPATH' ) )
@@ -127,6 +128,8 @@ function woocommerce_razorpay_init()
127
  {
128
  $this->initHooks();
129
  }
 
 
130
  }
131
 
132
  protected function initHooks()
@@ -227,12 +230,9 @@ function woocommerce_razorpay_init()
227
  echo '</table>';
228
  }
229
 
230
- /**
231
- * There are no payment fields, but we want to show the description if set.
232
- **/
233
- function payment_fields()
234
  {
235
- echo wpautop(wptexturize($this->getSetting('description')));
236
  }
237
 
238
  /**
1
  <?php
2
  /*
3
+ * Plugin Name: Razorpay for WooCommerce
4
+ * Plugin URI: https://razorpay.com
5
+ * Description: Razorpay Payment Gateway Integration for WooCommerce
6
+ * Version: 1.6.1
7
+ * Stable tag: 1.6.1
8
+ * Author: Team Razorpay
9
+ * WC tested up to: 3.2.1
10
+ * Author URI: https://razorpay.com
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) )
128
  {
129
  $this->initHooks();
130
  }
131
+
132
+ $this->title = $this->getSetting('title');
133
  }
134
 
135
  protected function initHooks()
230
  echo '</table>';
231
  }
232
 
233
+ public function get_description()
 
 
 
234
  {
235
+ return $this->getSetting('description');
236
  }
237
 
238
  /**
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: razorpay
3
  Tags: razorpay, payments, india, woocommerce, ecommerce
4
  Requires at least: 3.9.2
5
  Tested up to: 4.8
6
- Stable tag: 1.6.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -36,6 +36,10 @@ This is compatible with WooCommerce>=2.4, including the new 3.0 release. It has
36
 
37
  == Changelog ==
38
 
 
 
 
 
39
  = 1.6.0 =
40
  * Adds Razorpay Subscriptions plugin support.
41
  * Code cleanup.
3
  Tags: razorpay, payments, india, woocommerce, ecommerce
4
  Requires at least: 3.9.2
5
  Tested up to: 4.8
6
+ Stable tag: 1.6.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
36
 
37
  == Changelog ==
38
 
39
+ = 1.6.1 =
40
+ * Fixes payment title/description in WC Checkout page.
41
+ * Adds WooCommerce version tested in the plugin metadata
42
+
43
  = 1.6.0 =
44
  * Adds Razorpay Subscriptions plugin support.
45
  * Code cleanup.