Skip to content

Commit

Permalink
fix spell check
Browse files Browse the repository at this point in the history
  • Loading branch information
sofiya02 committed Dec 6, 2023
1 parent 88e0cd6 commit 8a15a76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions woo-razorpay.php
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 8a15a76

Please sign in to comment.