Version Description
- Added support for "Pay by Cred".
- Tested upto WordPress 5.4.2 and WooCommerce 4.3.0
Download this release
Release Info
Developer | ramprak |
Plugin | Razorpay for WooCommerce |
Version | 2.5.0 |
Comparing to | |
See all releases |
Code changes from version 2.4.3 to 2.5.0
- readme.txt +5 -1
- woo-razorpay.php +3 -2
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: 5.4.2
|
6 |
-
Stable tag: 2.
|
7 |
Requires PHP: 5.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -41,6 +41,10 @@ This is compatible with WooCommerce>=2.4, including the new 3.0 release. It has
|
|
41 |
|
42 |
== Changelog ==
|
43 |
|
|
|
|
|
|
|
|
|
44 |
= 2.4.3 =
|
45 |
* Updated logo from CDN.
|
46 |
* Tested upto WordPress 5.4.2 and WooCommerce 4.3.0
|
3 |
Tags: razorpay, payments, india, woocommerce, ecommerce
|
4 |
Requires at least: 3.9.2
|
5 |
Tested up to: 5.4.2
|
6 |
+
Stable tag: 2.5.0
|
7 |
Requires PHP: 5.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
41 |
|
42 |
== Changelog ==
|
43 |
|
44 |
+
= 2.5.0 =
|
45 |
+
* Added support for "Pay by Cred".
|
46 |
+
* Tested upto WordPress 5.4.2 and WooCommerce 4.3.0
|
47 |
+
|
48 |
= 2.4.3 =
|
49 |
* Updated logo from CDN.
|
50 |
* Tested upto WordPress 5.4.2 and WooCommerce 4.3.0
|
woo-razorpay.php
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
* Plugin Name: Razorpay for WooCommerce
|
4 |
* Plugin URI: https://razorpay.com
|
5 |
* Description: Razorpay Payment Gateway Integration for WooCommerce
|
6 |
-
* Version: 2.
|
7 |
-
* Stable tag: 2.
|
8 |
* Author: Team Razorpay
|
9 |
* WC tested up to: 4.3.0
|
10 |
* Author URI: https://razorpay.com
|
@@ -561,6 +561,7 @@ function woocommerce_razorpay_init()
|
|
561 |
'amount' => (int) round($order->get_total() * 100),
|
562 |
'currency' => $this->getOrderCurrency($order),
|
563 |
'payment_capture' => ($this->getSetting('payment_action') === self::AUTHORIZE) ? 0 : 1,
|
|
|
564 |
'notes' => array(
|
565 |
self::WC_ORDER_ID => (string) $orderId,
|
566 |
),
|
3 |
* Plugin Name: Razorpay for WooCommerce
|
4 |
* Plugin URI: https://razorpay.com
|
5 |
* Description: Razorpay Payment Gateway Integration for WooCommerce
|
6 |
+
* Version: 2.5.0
|
7 |
+
* Stable tag: 2.5.0
|
8 |
* Author: Team Razorpay
|
9 |
* WC tested up to: 4.3.0
|
10 |
* Author URI: https://razorpay.com
|
561 |
'amount' => (int) round($order->get_total() * 100),
|
562 |
'currency' => $this->getOrderCurrency($order),
|
563 |
'payment_capture' => ($this->getSetting('payment_action') === self::AUTHORIZE) ? 0 : 1,
|
564 |
+
'app_offer' => ($order->get_discount_total() > 0) ? 1 : 0,
|
565 |
'notes' => array(
|
566 |
self::WC_ORDER_ID => (string) $orderId,
|
567 |
),
|