From 0023de0bd7eb0fad6c3226afeb415f7fbfc88a3f Mon Sep 17 00:00:00 2001 From: TheCartpenter <77865573+TheCartpenter@users.noreply.github.com> Date: Sun, 31 Dec 2023 14:16:34 -0500 Subject: [PATCH] Update globalpay_remote.php --- .../model/extension/payment/globalpay_remote.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/upload/catalog/model/extension/payment/globalpay_remote.php b/upload/catalog/model/extension/payment/globalpay_remote.php index 8174fe6ff..0f505db24 100644 --- a/upload/catalog/model/extension/payment/globalpay_remote.php +++ b/upload/catalog/model/extension/payment/globalpay_remote.php @@ -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 *