diff --git a/vendor/payuindia/payu/Controller/Standard/Response.php b/vendor/payuindia/payu/Controller/Standard/Response.php
index 85bb662..ee0a5bb 100644
--- a/vendor/payuindia/payu/Controller/Standard/Response.php
+++ b/vendor/payuindia/payu/Controller/Standard/Response.php
@@ -30,7 +30,6 @@ class Response extends \PayUIndia\Payu\Controller\PayuAbstract implements CsrfAw
 
     public function execute() {
         $returnUrl = $this->getCheckoutHelper()->getUrl('checkout');
-
         try {
             $paymentMethod = $this->getPaymentMethod();
 
@@ -91,8 +90,7 @@ class Response extends \PayUIndia\Payu\Controller\PayuAbstract implements CsrfAw
 
 				
 				$order = $this->getOrderById($quote->getReservedOrderId());
-				$this->getCheckoutHelper()->updateOrderFromResponse($order,$params);
-				
+				//remove the updateOrderFromResponse method call which was syncing the payu discount amount to magento order and order items
 				if($paymentMethod->getConfigData('debuglog')==true)
 					$this->_logger->debug("PayU Created Order ...");
 				
diff --git a/vendor/payuindia/payu/Cron/OrderUpdate.php b/vendor/payuindia/payu/Cron/OrderUpdate.php
index ef921c7..e5508b3 100644
--- a/vendor/payuindia/payu/Cron/OrderUpdate.php
+++ b/vendor/payuindia/payu/Cron/OrderUpdate.php
@@ -57,10 +57,12 @@ class OrderUpdate
             $this->logger->info('response '.json_encode($paymentVerData));
 
             if($order->getState()=='pending_payment' && $paymentResponse['transaction_details'][$txnid]['status']=='success'){
-                $this->payuHelper->updateOrderFromResponse($order,$paymentResponse['transaction_details'][$txnid]);
                 $payment = $order->getPayment();
+                //remove the updateOrderFromResponse method call which was syncing the payu discount amount to magento order and order items
                 $this->postProcessing($order, $payment, $paymentResponse['transaction_details'][$txnid]);
- 
+                //add the order history comment
+                $order->addStatusHistoryComment('SUCCESS Registered notification about captured amount of '.$paymentResponse['transaction_details'][$txnid]['transaction_amount'].' by the payu cron.  Transaction ID: '.$txnid);
+                $order->save();
  
             } elseif ($order->getState() == 'pending_payment' && $paymentResponse['transaction_details'][$txnid]['status'] == 'pending') {
  
@@ -158,7 +160,7 @@ class OrderUpdate
 
 				}
 				
-				$order->setTotalPaid($response['amt'])->save();
+				$order->setTotalPaid($response['transaction_amount'])->save(); //set transection amount insted of discounted amount
 				$order->setState(\Magento\Sales\Model\Order::STATE_PROCESSING,true)->setStatus(\Magento\Sales\Model\Order::STATE_PROCESSING)->save();				
 				$order->setCanSendNewEmailFlag(true)->save();
 				$order->setIsCustomerNotified(true)->save();
diff --git a/vendor/payuindia/payu/Helper/Payu.php b/vendor/payuindia/payu/Helper/Payu.php
index 1a3dcd3..3842055 100644
--- a/vendor/payuindia/payu/Helper/Payu.php
+++ b/vendor/payuindia/payu/Helper/Payu.php
@@ -7,7 +7,6 @@ use Magento\Sales\Model\Order;
 use Magento\Framework\App\Helper\AbstractHelper;
 use Magento\Framework\Exception\LocalizedException;
 
-
 class Payu extends AbstractHelper
 {
     private $session;
@@ -29,8 +28,6 @@ class Payu extends AbstractHelper
     protected $payuWebhookCollection;
     protected $customerCollectionFactory;
 
-
-
     public function __construct(
         Context $context,
         \Magento\Checkout\Model\Session $session,
@@ -201,80 +198,4 @@ class Payu extends AbstractHelper
             \Magento\Store\Model\ScopeInterface::SCOPE_STORE
         );
     }
-
-    public function updateOrderFromResponse($order,$params)
-    {
-        if(isset($params['offer']) && isset($params['offer_availed']) && isset($params['transaction_offer']))
-        {
-            $offerArr = $params['transaction_offer'];
-            if (!is_array($offerArr)) {
-                $offerArr = json_decode($offerArr, true);
-            }
-            if(isset($offerArr['offer_data'])){
-                $des=$offerArr['offer_data'];
-                $description=$des[0];
-                $discountDescription="Title - ".$description['offer_title']." | Offer Key - ".$description['offer_key']." |  Type - ".$description['offer_type'];
-                $customDiscount=$offerArr['discount_data']['total_discount'];
-                if($customDiscount > 0){
-                    $this->setDiscount($order,$customDiscount,$discountDescription);
-                }
-            }
-
-        }else{
-            if(isset($params['disc']) && $params['disc']>0)
-            {
-                $discountDescription='Payu Offer';
-                $customDiscount=$params['disc'];
-                $this->setDiscount($order,$customDiscount,$discountDescription);
-            }
-        }
-
-    }
-
-    public function setDiscount($order,$customDiscount,$discountDescription)
-    {
-        $total=$order->getBaseSubtotal();
-        $order->setDiscountAmount($customDiscount);
-        $order->setBaseDiscountAmount($customDiscount);
-        $order->setBaseGrandTotal($order->getBaseGrandTotal()-$customDiscount);
-        $order->setGrandTotal($order->getGrandTotal()-$customDiscount);
-        $order->setDiscountDescription($discountDescription);
-        $shippingAddress = $order->getShippingAddress();
-        if ($shippingAddress) {
-            $shippingAddress->setDiscountAmount($customDiscount);
-            $shippingAddress->setDiscountDescription($discountDescription);
-            $shippingAddress->setBaseDiscountAmount($customDiscount);
-        }
-        $orderBillingAddress = $order->getBillingAddress();
-        $orderBillingAddress->setDiscountAmount($customDiscount);
-        $orderBillingAddress->setDiscountDescription($discountDescription);
-        $orderBillingAddress->setBaseDiscountAmount($customDiscount);
-
-        $order->setSubtotal((float) $order->getSubTotal());
-        $order->setBaseSubtotal((float) $order->getBaseSubtotal());
-        $order->setGrandTotal((float)  $order->getGrandTotal());
-        $order->setBaseGrandTotal((float) $order->getBaseGrandTotal());
-        $order ->save();
-      
-
-        $order->setBaseTotalInvoiced($order->getGrandTotal());
-        $order->setTotalInvoiced($order->getGrandTotal());
-        $payment=$order->getpayment();
-        $payment->setBaseAmountPaid($order->getGrandTotal());
-        $payment->setAmountPaid($order->getGrandTotal());
-        $payment->setBaseAmountOrdered($order->getGrandTotal());
-        $payment->setAmountOrdered($order->getGrandTotal());
-        $payment->save();
-        foreach($order->getAllItems() as $item){
-            $rat=$item->getPriceInclTax()/$total;
-            $ratdisc=abs($customDiscount)*$rat;
-            $discountAmt=($item->getDiscountAmount()+$ratdisc) * $item->getQtyOrdered();
-            $base=($item->getBaseDiscountAmount()+$ratdisc) * $item->getQtyOrdered();
-            $item->setBaseDiscountAmount($base);
-            $item->setDiscountAmount($discountAmt);
-            $item->save();
-        }
-        $order->save();
-    }
-
 }
diff --git a/vendor/payuindia/payu/Model/Payu.php b/vendor/payuindia/payu/Model/Payu.php
index 7f0b34d..d324d2d 100644
--- a/vendor/payuindia/payu/Model/Payu.php
+++ b/vendor/payuindia/payu/Model/Payu.php
@@ -382,12 +382,12 @@ class Payu extends \Magento\Payment\Model\Method\AbstractMethod {
 				
 				If (isset($response['additionalCharges'])) {
 					$payment->setAdditionalInformation('Additional Charges', (float)$response['additionalCharges']);		
-					$payment->registerCaptureNotification(($response['net_amount_debit']+(float)$response['additionalCharges']),true);
+					$payment->registerCaptureNotification(($response['amount']+(float)$response['additionalCharges']),true); ///set transection amount insted of discounted amount
 					$logger->info('response 3');
 					$order->save();
 				}
 				else {
-					$payment->registerCaptureNotification($response['net_amount_debit'],true)->save();
+					$payment->registerCaptureNotification($response['amount'],true)->save(); //set transection amount insted of discounted amount
 				}
 				if($this->getConfigData('debuglog')==true)
 					$this->logger->debug($response);					
@@ -402,7 +402,7 @@ class Payu extends \Magento\Payment\Model\Method\AbstractMethod {
 				}
 				
 
-				$order->setTotalPaid($response['net_amount_debit'])->save();
+				$order->setTotalPaid($response['amount'])->save(); //set transection amount insted of discounted amount
 
 				$order->setState(Order::STATE_PROCESSING,true)->setStatus(Order::STATE_PROCESSING)->save();				
 				
