From 8a15a76bac27af64a581b264d805ecf1fa190b51 Mon Sep 17 00:00:00 2001 From: Sofiya <84763889+sofiya02@users.noreply.github.com> Date: Wed, 6 Dec 2023 17:39:43 +0530 Subject: [PATCH] fix spell check --- woo-razorpay.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/woo-razorpay.php b/woo-razorpay.php index 6feb36b6..cdf38268 100644 --- a/woo-razorpay.php +++ b/woo-razorpay.php @@ -1753,13 +1753,13 @@ function check_razorpay_response() $razorpayData = $api->order->fetch($_POST[self::RAZORPAY_ORDER_ID]); - rzpLogInfo(" razorpay order fetch:" . json_enocde($razorpayData)); + rzpLogInfo(" razorpay order fetch:" . json_encode($razorpayData)); if($razorpayData['status'] === 'paid') { $rzpPaymentData = $api->order->payment($_POST[self::RAZORPAY_ORDER_ID]); - rzpLogInfo(" razorpay order fetch Payment ID :" . json_enocde($rzpPaymentData)); + rzpLogInfo(" razorpay order fetch Payment ID :" . json_encode($rzpPaymentData)); foreach ($rzpPaymentData['items'] as $item) { if ($item['status'] == 'captured' || $item['status'] == 'authorized') { @@ -1811,7 +1811,7 @@ function check_razorpay_response() $razorpayData = $api->order->fetch($razorpayOrderId); - rzpLogInfo("razorpay order fetch:" . json_enocde($razorpayData)); + rzpLogInfo("razorpay order fetch:" . json_encode($razorpayData)); $this->UpdateOrderAddress($razorpayData, $order); }