Skip to content

Commit

Permalink
Update globalpay_remote.php
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter authored Dec 31, 2023
1 parent 35d1efd commit 0023de0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions upload/catalog/model/extension/payment/globalpay_remote.php
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,21 @@ public function addOrder(array $order_info, object $response, string $account, s
return $this->db->getLastId();
}

/**
* addHistory
*
* @param int $order_id
* @param int $order_status_id
* @param string $message
*
* @return void
*/
public function addHistory(int $order_id, int $order_status_id, $comment): void {
$this->load->model('checkout/order');

$this->model_checkout_order->addHistory($order_id, $order_status_id, $comment);
}

/**
* addTransaction
*
Expand Down

0 comments on commit 0023de0

Please sign in to comment.