View Single Post
  #5  
Old 11-06-2017, 12:24 AM
 
Shri@2c2p Shri@2c2p is offline
 

Newbie
  
Join Date: Oct 2017
Posts: 4
 

Default Re: X-cart-5 Order not update based on payment gateway response

Thanks for you response,

I have make successful payment and set the default order status as "Awaiting Payment" and after the I also change order payment status as "Paid" but it is not changing payment status.

Here is my code stuff.

Quote:
parent::processReturn($transaction);

$order = $this->getOrder();

$order->processSucceed();
$this->transaction->setStatus($transaction::STATUS_SUCCESS);
__________________
X-cart-5
Reply With Quote