Skip to content

Commit

Permalink
Merge pull request #341 from razorpay/version_4.2.0
Browse files Browse the repository at this point in the history
Version bump to 4.2.0
  • Loading branch information
ChetanGN authored Aug 29, 2022
2 parents 8a5f401 + 1b6091e commit 215faae
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
11 changes: 10 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: razorpay
Tags: razorpay, payments, india, woocommerce, ecommerce
Requires at least: 3.9.2
Tested up to: 6.0.1
Stable tag: 4.1.0
Stable tag: 4.2.0
Requires PHP: 5.6
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -41,6 +41,15 @@ This is compatible with WooCommerce>=2.4, including the new 3.0 release. It has

== Changelog ==

= 4.2.0 =
* Bug fix for cart bounty plugin support issue in magic checkout.
* Added mandatory store account creation feature for magic checkout.
* Bug fix for sticky add to cart plugin support.
* Magic checkout new script endpoint.
* Added instrumentation
* Added auto webhook log
* Added validation for key and secret

= 4.1.0 =
* Bug fix for jquery undefined issue.
* Bug fix for duplicate wooc orderId and Razorpay ID form same carthash.
Expand Down
8 changes: 4 additions & 4 deletions woo-razorpay.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
* Plugin Name: Razorpay for WooCommerce
* Plugin URI: https://razorpay.com
* Description: Razorpay Payment Gateway Integration for WooCommerce
* Version: 4.1.0
* Stable tag: 4.1.0
* Version: 4.2.0
* Stable tag: 4.2.0
* Author: Team Razorpay
* WC tested up to: 6.7.0
* Author URI: https://razorpay.com
Expand Down Expand Up @@ -1778,9 +1778,9 @@ public function update1ccOrderWC(& $order, $wcOrderId, $razorpayPaymentId)
$payment_method_title = $this->title;

// To verify the payment method for particular payment id.
$razorpayPyamentData = $api->payment->fetch($razorpayPaymentId);
$razorpayPaymentData = $api->payment->fetch($razorpayPaymentId);

$paymentDoneBy = $razorpayPyamentData['method'];
$paymentDoneBy = $razorpayPaymentData['method'];

if (($paymentDoneBy === 'cod') && isset($razorpayData['cod_fee']) == true)
{
Expand Down

0 comments on commit 215faae

Please sign in to comment.