From 7375e23481731c8c6ab1ec010159f408ba649290 Mon Sep 17 00:00:00 2001 From: TheCartpenter Date: Sun, 19 May 2024 09:48:22 -0400 Subject: [PATCH] More status prefixes work --- .../controller/extension/payment/eway.php | 18 +++++++++--------- .../extension/payment/firstdata_remote.php | 6 +++--- .../controller/extension/payment/globalpay.php | 6 +++--- .../extension/payment/globalpay_remote.php | 6 +++--- .../controller/extension/payment/realex.php | 6 +++--- .../extension/payment/realex_remote.php | 6 +++--- .../extension/payment/cardconnect.twig | 8 ++++---- .../view/template/extension/payment/eway.twig | 14 +++++++------- .../template/extension/payment/firstdata.twig | 4 ++-- .../extension/payment/firstdata_remote.twig | 4 ++-- .../template/extension/payment/globalpay.twig | 4 ++-- .../extension/payment/globalpay_remote.twig | 4 ++-- .../template/extension/payment/realex.twig | 4 ++-- .../extension/payment/realex_remote.twig | 4 ++-- .../controller/extension/payment/eway.php | 4 ++-- .../controller/extension/payment/firstdata.php | 2 +- .../extension/payment/firstdata_remote.php | 2 +- .../controller/extension/payment/globalpay.php | 4 ++-- .../extension/payment/globalpay_remote.php | 2 +- .../controller/extension/payment/realex.php | 4 ++-- .../extension/payment/realex_remote.php | 2 +- .../extension/payment/globalpay_remote.php | 4 ++-- .../model/extension/payment/realex_remote.php | 4 ++-- 23 files changed, 61 insertions(+), 61 deletions(-) diff --git a/upload/admin/controller/extension/payment/eway.php b/upload/admin/controller/extension/payment/eway.php index 6c87cde9a..05780490d 100644 --- a/upload/admin/controller/extension/payment/eway.php +++ b/upload/admin/controller/extension/payment/eway.php @@ -121,22 +121,22 @@ public function index(): void { $data['payment_eway_order_status_id'] = (int)$this->config->get('payment_eway_order_status_id'); } - if (isset($this->request->post['payment_eway_order_status_refunded_id'])) { - $data['payment_eway_order_status_refunded_id'] = (int)$this->request->post['payment_eway_order_status_refunded_id']; + if (isset($this->request->post['payment_eway_refunded_status_id'])) { + $data['payment_eway_refunded_status_id'] = (int)$this->request->post['payment_eway_refunded_status_id']; } else { - $data['payment_eway_order_status_refunded_id'] = (int)$this->config->get('payment_eway_order_status_refunded_id'); + $data['payment_eway_refunded_status_id'] = (int)$this->config->get('payment_eway_refunded_status_id'); } - if (isset($this->request->post['payment_eway_order_status_auth_id'])) { - $data['payment_eway_order_status_auth_id'] = (int)$this->request->post['payment_eway_order_status_auth_id']; + if (isset($this->request->post['payment_eway_auth_status_id'])) { + $data['payment_eway_auth_status_id'] = (int)$this->request->post['payment_eway_auth_status_id']; } else { - $data['payment_eway_order_status_auth_id'] = (int)$this->config->get('payment_eway_order_status_auth_id'); + $data['payment_eway_auth_status_id'] = (int)$this->config->get('payment_eway_auth_status_id'); } - if (isset($this->request->post['payment_eway_order_status_fraud_id'])) { - $data['payment_eway_order_status_fraud_id'] = (int)$this->request->post['payment_eway_order_status_fraud_id']; + if (isset($this->request->post['payment_eway_fraud_status_id'])) { + $data['payment_eway_fraud_status_id'] = (int)$this->request->post['payment_eway_fraud_status_id']; } else { - $data['payment_eway_order_status_fraud_id'] = (int)$this->config->get('payment_eway_order_status_fraud_id'); + $data['payment_eway_fraud_status_id'] = (int)$this->config->get('payment_eway_fraud_status_id'); } if (isset($this->request->post['payment_eway_transaction_method'])) { diff --git a/upload/admin/controller/extension/payment/firstdata_remote.php b/upload/admin/controller/extension/payment/firstdata_remote.php index a0353a0ba..f1a09e01b 100644 --- a/upload/admin/controller/extension/payment/firstdata_remote.php +++ b/upload/admin/controller/extension/payment/firstdata_remote.php @@ -201,10 +201,10 @@ public function index(): void { $data['payment_firstdata_remote_order_status_success_unsettled_status_id'] = (int)$this->config->get('payment_firstdata_remote_order_status_success_unsettled_status_id'); } - if (isset($this->request->post['payment_firstdata_remote_order_status_decline_id'])) { - $data['payment_firstdata_remote_order_status_decline_id'] = (int)$this->request->post['payment_firstdata_remote_order_status_decline_id']; + if (isset($this->request->post['payment_firstdata_remote_declined_status_id'])) { + $data['payment_firstdata_remote_declined_status_id'] = (int)$this->request->post['payment_firstdata_remote_declined_status_id']; } else { - $data['payment_firstdata_remote_order_status_decline_id'] = (int)$this->config->get('payment_firstdata_remote_order_status_decline_id'); + $data['payment_firstdata_remote_declined_status_id'] = (int)$this->config->get('payment_firstdata_remote_declined_status_id'); } if (isset($this->request->post['payment_firstdata_remote_card_storage'])) { diff --git a/upload/admin/controller/extension/payment/globalpay.php b/upload/admin/controller/extension/payment/globalpay.php index cf112878f..ff3bbb2a8 100644 --- a/upload/admin/controller/extension/payment/globalpay.php +++ b/upload/admin/controller/extension/payment/globalpay.php @@ -178,10 +178,10 @@ public function index(): void { $data['payment_globalpay_success_unsettled_status_id'] = (int)$this->config->get('payment_globalpay_success_unsettled_status_id'); } - if (isset($this->request->post['payment_globalpay_order_status_decline_id'])) { - $data['payment_globalpay_decline_id'] = (int)$this->request->post['payment_globalpay_order_status_decline_id']; + if (isset($this->request->post['payment_globalpay_declined_status_id'])) { + $data['payment_globalpay_decline_id'] = (int)$this->request->post['payment_globalpay_declined_status_id']; } else { - $data['payment_globalpay_decline_id'] = (int)$this->config->get('payment_globalpay_order_status_decline_id'); + $data['payment_globalpay_decline_id'] = (int)$this->config->get('payment_globalpay_declined_status_id'); } if (isset($this->request->post['payment_globalpay_decline_pending_id'])) { diff --git a/upload/admin/controller/extension/payment/globalpay_remote.php b/upload/admin/controller/extension/payment/globalpay_remote.php index 72f622489..7c3ab7752 100644 --- a/upload/admin/controller/extension/payment/globalpay_remote.php +++ b/upload/admin/controller/extension/payment/globalpay_remote.php @@ -170,10 +170,10 @@ public function index(): void { $data['payment_globalpay_remote_success_unsettled_status_id'] = (int)$this->config->get('payment_globalpay_remote_success_unsettled_status_id'); } - if (isset($this->request->post['payment_globalpay_remote_order_status_decline_id'])) { - $data['payment_globalpay_remote_decline_id'] = (int)$this->request->post['payment_globalpay_remote_order_status_decline_id']; + if (isset($this->request->post['payment_globalpay_remote_declined_status_id'])) { + $data['payment_globalpay_remote_decline_id'] = (int)$this->request->post['payment_globalpay_remote_declined_status_id']; } else { - $data['payment_globalpay_remote_decline_id'] = (int)$this->config->get('payment_globalpay_remote_order_status_decline_id'); + $data['payment_globalpay_remote_decline_id'] = (int)$this->config->get('payment_globalpay_remote_declined_status_id'); } if (isset($this->request->post['payment_globalpay_remote_decline_pending_id'])) { diff --git a/upload/admin/controller/extension/payment/realex.php b/upload/admin/controller/extension/payment/realex.php index 2bf5671ec..0e327e792 100644 --- a/upload/admin/controller/extension/payment/realex.php +++ b/upload/admin/controller/extension/payment/realex.php @@ -178,10 +178,10 @@ public function index(): void { $data['payment_realex_success_unsettled_status_id'] = (int)$this->config->get('payment_realex_success_unsettled_status_id'); } - if (isset($this->request->post['payment_realex_order_status_decline_id'])) { - $data['payment_realex_decline_id'] = (int)$this->request->post['payment_realex_order_status_decline_id']; + if (isset($this->request->post['payment_realex_declined_status_id'])) { + $data['payment_realex_decline_id'] = (int)$this->request->post['payment_realex_declined_status_id']; } else { - $data['payment_realex_decline_id'] = (int)$this->config->get('payment_realex_order_status_decline_id'); + $data['payment_realex_decline_id'] = (int)$this->config->get('payment_realex_declined_status_id'); } if (isset($this->request->post['payment_realex_decline_pending_id'])) { diff --git a/upload/admin/controller/extension/payment/realex_remote.php b/upload/admin/controller/extension/payment/realex_remote.php index 216980161..b34c491a0 100644 --- a/upload/admin/controller/extension/payment/realex_remote.php +++ b/upload/admin/controller/extension/payment/realex_remote.php @@ -170,10 +170,10 @@ public function index(): void { $data['payment_realex_remote_success_unsettled_status_id'] = (int)$this->config->get('payment_realex_remote_success_unsettled_status_id'); } - if (isset($this->request->post['payment_realex_remote_order_status_decline_id'])) { - $data['payment_realex_remote_decline_id'] = (int)$this->request->post['payment_realex_remote_order_status_decline_id']; + if (isset($this->request->post['payment_realex_remote_declined_status_id'])) { + $data['payment_realex_remote_decline_id'] = (int)$this->request->post['payment_realex_remote_declined_status_id']; } else { - $data['payment_realex_remote_decline_id'] = (int)$this->config->get('payment_realex_remote_order_status_decline_id'); + $data['payment_realex_remote_decline_id'] = (int)$this->config->get('payment_realex_remote_declined_status_id'); } if (isset($this->request->post['payment_realex_remote_decline_pending_id'])) { diff --git a/upload/admin/view/template/extension/payment/cardconnect.twig b/upload/admin/view/template/extension/payment/cardconnect.twig index bf848356d..2d7aa7076 100644 --- a/upload/admin/view/template/extension/payment/cardconnect.twig +++ b/upload/admin/view/template/extension/payment/cardconnect.twig @@ -213,9 +213,9 @@
- +
- {% for order_status in order_statuses %} {% if order_status.order_status_id == payment_cardconnect_pending_status_id %} @@ -227,9 +227,9 @@
- +
- {% for order_status in order_statuses %} {% if order_status.order_status_id == payment_cardconnect_processing_status_id %} diff --git a/upload/admin/view/template/extension/payment/eway.twig b/upload/admin/view/template/extension/payment/eway.twig index 6fecd01ac..cd31bbfe7 100644 --- a/upload/admin/view/template/extension/payment/eway.twig +++ b/upload/admin/view/template/extension/payment/eway.twig @@ -171,11 +171,11 @@
- +
- {% for order_status in order_statuses %} - {% if order_status.order_status_id == payment_eway_order_status_refunded_id %} + {% if order_status.order_status_id == payment_eway_refunded_status_id %} {% else %} @@ -187,9 +187,9 @@
- {% for order_status in order_statuses %} - {% if order_status.order_status_id == payment_eway_order_status_auth_id %} + {% if order_status.order_status_id == payment_eway_auth_status_id %} {% else %} @@ -201,9 +201,9 @@
- {% for order_status in order_statuses %} - {% if order_status.order_status_id == payment_eway_order_status_fraud_id %} + {% if order_status.order_status_id == payment_eway_fraud_status_id %} {% else %} diff --git a/upload/admin/view/template/extension/payment/firstdata.twig b/upload/admin/view/template/extension/payment/firstdata.twig index d47f2d4fa..59240d3b7 100644 --- a/upload/admin/view/template/extension/payment/firstdata.twig +++ b/upload/admin/view/template/extension/payment/firstdata.twig @@ -153,9 +153,9 @@
- {% for order_status in order_statuses %} - {% if order_status.order_status_id == payment_firstdata_order_status_decline_id %} + {% if order_status.order_status_id == payment_firstdata_declined_status_id %} {% else %} diff --git a/upload/admin/view/template/extension/payment/firstdata_remote.twig b/upload/admin/view/template/extension/payment/firstdata_remote.twig index a803b74d5..0dd49abae 100644 --- a/upload/admin/view/template/extension/payment/firstdata_remote.twig +++ b/upload/admin/view/template/extension/payment/firstdata_remote.twig @@ -183,9 +183,9 @@
- {% for order_status in order_statuses %} - {% if order_status.order_status_id == payment_firstdata_remote_order_status_decline_id %} + {% if order_status.order_status_id == payment_firstdata_remote_declined_status_id %} {% else %} diff --git a/upload/admin/view/template/extension/payment/globalpay.twig b/upload/admin/view/template/extension/payment/globalpay.twig index 83e119eab..4ee86e36a 100644 --- a/upload/admin/view/template/extension/payment/globalpay.twig +++ b/upload/admin/view/template/extension/payment/globalpay.twig @@ -217,9 +217,9 @@
- {% for order_status in order_statuses %} - {% if order_status.order_status_id == payment_globalpay_order_status_decline_id %} + {% if order_status.order_status_id == payment_globalpay_declined_status_id %} {% else %} diff --git a/upload/admin/view/template/extension/payment/globalpay_remote.twig b/upload/admin/view/template/extension/payment/globalpay_remote.twig index 1979a6525..e701171ba 100644 --- a/upload/admin/view/template/extension/payment/globalpay_remote.twig +++ b/upload/admin/view/template/extension/payment/globalpay_remote.twig @@ -212,9 +212,9 @@
- {% for order_status in order_statuses %} - {% if order_status.order_status_id == payment_globalpay_remote_order_status_decline_id %} + {% if order_status.order_status_id == payment_globalpay_remote_declined_status_id %} {% else %} diff --git a/upload/admin/view/template/extension/payment/realex.twig b/upload/admin/view/template/extension/payment/realex.twig index cb0a71052..6e23fa66d 100644 --- a/upload/admin/view/template/extension/payment/realex.twig +++ b/upload/admin/view/template/extension/payment/realex.twig @@ -216,9 +216,9 @@
- {% for order_status in order_statuses %} - {% if order_status.order_status_id == payment_realex_order_status_decline_id %} + {% if order_status.order_status_id == payment_realex_declined_status_id %} {% else %} diff --git a/upload/admin/view/template/extension/payment/realex_remote.twig b/upload/admin/view/template/extension/payment/realex_remote.twig index 1661ceb60..ab43bd790 100644 --- a/upload/admin/view/template/extension/payment/realex_remote.twig +++ b/upload/admin/view/template/extension/payment/realex_remote.twig @@ -212,9 +212,9 @@
- {% for order_status in order_statuses %} - {% if order_status.order_status_id == payment_realex_remote_order_status_decline_id %} + {% if order_status.order_status_id == payment_realex_remote_declined_status_id %} {% else %} diff --git a/upload/catalog/controller/extension/payment/eway.php b/upload/catalog/controller/extension/payment/eway.php index 781099231..ef2b54c3b 100644 --- a/upload/catalog/controller/extension/payment/eway.php +++ b/upload/catalog/controller/extension/payment/eway.php @@ -353,11 +353,11 @@ public function callback(): void { $message .= 'Card Response Code: ' . $response_code . "\n"; if ($fraud) { - $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_eway_order_status_fraud_id'), $message); + $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_eway_fraud_status_id'), $message); } elseif ($this->config->get('payment_eway_transaction_method') == 'payment') { $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_eway_order_status_id'), $message); } else { - $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_eway_order_status_auth_id'), $message); + $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_eway_auth_status_id'), $message); } $token_customer_id = (string)$result->Customer->TokenCustomerID; diff --git a/upload/catalog/controller/extension/payment/firstdata.php b/upload/catalog/controller/extension/payment/firstdata.php index 2387459ce..df0b39b76 100644 --- a/upload/catalog/controller/extension/payment/firstdata.php +++ b/upload/catalog/controller/extension/payment/firstdata.php @@ -212,7 +212,7 @@ public function notify(): void { $message = $this->request->post['fail_reason'] . '
'; $message .= $this->language->get('text_response_code_full') . $this->request->post['approval_code']; - $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_firstdata_order_status_decline_id'), $message); + $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_firstdata_declined_status_id'), $message); } } } diff --git a/upload/catalog/controller/extension/payment/firstdata_remote.php b/upload/catalog/controller/extension/payment/firstdata_remote.php index ebcc70aaa..c188cd510 100644 --- a/upload/catalog/controller/extension/payment/firstdata_remote.php +++ b/upload/catalog/controller/extension/payment/firstdata_remote.php @@ -152,7 +152,7 @@ public function send(): void { $message .= $this->language->get('text_card_brand') . $capture_result['brand'] . '
'; $message .= $this->language->get('text_card_number_ref') . $capture_result['card_number_ref'] . '
'; - $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_firstdata_remote_order_status_decline_id'), $message); + $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_firstdata_remote_declined_status_id'), $message); } } diff --git a/upload/catalog/controller/extension/payment/globalpay.php b/upload/catalog/controller/extension/payment/globalpay.php index c2804a9c2..2f249f427 100644 --- a/upload/catalog/controller/extension/payment/globalpay.php +++ b/upload/catalog/controller/extension/payment/globalpay.php @@ -239,7 +239,7 @@ public function notify(): void { $data['text_link'] = sprintf($this->language->get('text_link'), $this->url->link('checkout/success', '', true)); } elseif ($this->request->post['RESULT'] == '101') { // Decline - $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_globalpay_order_status_decline_id'), $message); + $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_globalpay_declined_status_id'), $message); $data['text_response'] = $this->language->get('text_decline'); $data['text_link'] = sprintf($this->language->get('text_link'), $this->url->link('checkout/checkout', '', true)); @@ -275,7 +275,7 @@ public function notify(): void { $data['text_link'] = sprintf($this->language->get('text_link'), $this->url->link('checkout/checkout', '', true)); } else { // Other error - $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_globalpay_order_status_decline_id'), $message); + $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_globalpay_declined_status_id'), $message); $data['text_response'] = $this->language->get('text_generic_error'); $data['text_link'] = sprintf($this->language->get('text_link'), $this->url->link('checkout/checkout', '', true)); diff --git a/upload/catalog/controller/extension/payment/globalpay_remote.php b/upload/catalog/controller/extension/payment/globalpay_remote.php index 4a3a23f2c..3d208eef0 100644 --- a/upload/catalog/controller/extension/payment/globalpay_remote.php +++ b/upload/catalog/controller/extension/payment/globalpay_remote.php @@ -308,7 +308,7 @@ public function acsReturn(): void { $message .= '
' . $this->language->get('entry_cc_name') . ': ' . (string)$md['cc_name']; } - $this->model_checkout_order->addHistory($md['order_id'], $this->config->get('payment_globalpay_remote_order_status_decline_id'), $message); + $this->model_checkout_order->addHistory($md['order_id'], $this->config->get('payment_globalpay_remote_declined_status_id'), $message); $this->session->data['error'] = $this->language->get('error_3d_unsuccessful'); diff --git a/upload/catalog/controller/extension/payment/realex.php b/upload/catalog/controller/extension/payment/realex.php index 75c77ba45..8a439cd40 100644 --- a/upload/catalog/controller/extension/payment/realex.php +++ b/upload/catalog/controller/extension/payment/realex.php @@ -234,7 +234,7 @@ public function notify(): void { $data['text_link'] = sprintf($this->language->get('text_link'), $this->url->link('checkout/success', '', true)); } elseif ($this->request->post['RESULT'] == '101') { // Decline - $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_realex_order_status_decline_id'), $message); + $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_realex_declined_status_id'), $message); $data['text_response'] = $this->language->get('text_decline'); $data['text_link'] = sprintf($this->language->get('text_link'), $this->url->link('checkout/checkout', '', true)); @@ -270,7 +270,7 @@ public function notify(): void { $data['text_link'] = sprintf($this->language->get('text_link'), $this->url->link('checkout/checkout', '', true)); } else { // Other error - $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_realex_order_status_decline_id'), $message); + $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_realex_declined_status_id'), $message); $data['text_response'] = $this->language->get('text_generic_error'); $data['text_link'] = sprintf($this->language->get('text_link'), $this->url->link('checkout/checkout', '', true)); diff --git a/upload/catalog/controller/extension/payment/realex_remote.php b/upload/catalog/controller/extension/payment/realex_remote.php index 65568fad1..d46f249ce 100644 --- a/upload/catalog/controller/extension/payment/realex_remote.php +++ b/upload/catalog/controller/extension/payment/realex_remote.php @@ -309,7 +309,7 @@ public function acsReturn(): void { $message .= '
' . $this->language->get('entry_cc_name') . ': ' . (string)$md['cc_name']; } - $this->model_checkout_order->addHistory($md['order_id'], $this->config->get('payment_realex_remote_order_status_decline_id'), $message); + $this->model_checkout_order->addHistory($md['order_id'], $this->config->get('payment_realex_remote_declined_status_id'), $message); $this->session->data['error'] = $this->language->get('error_3d_unsuccessful'); diff --git a/upload/catalog/model/extension/payment/globalpay_remote.php b/upload/catalog/model/extension/payment/globalpay_remote.php index 885725cbb..7ac0db513 100644 --- a/upload/catalog/model/extension/payment/globalpay_remote.php +++ b/upload/catalog/model/extension/payment/globalpay_remote.php @@ -380,7 +380,7 @@ public function capturePayment(string $account, float $amount, string $currency, } } elseif ($response->result == '101') { // Decline - $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_globalpay_remote_order_status_decline_id'), $message); + $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_globalpay_remote_declined_status_id'), $message); } elseif ($response->result == '102') { // Referal B $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_globalpay_remote_decline_pending_id'), $message); @@ -398,7 +398,7 @@ public function capturePayment(string $account, float $amount, string $currency, $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_globalpay_remote_decline_bank_id'), $message); } else { // Other - $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_globalpay_remote_order_status_decline_id'), $message); + $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_globalpay_remote_declined_status_id'), $message); } return $response; diff --git a/upload/catalog/model/extension/payment/realex_remote.php b/upload/catalog/model/extension/payment/realex_remote.php index fcba63f47..917680b44 100644 --- a/upload/catalog/model/extension/payment/realex_remote.php +++ b/upload/catalog/model/extension/payment/realex_remote.php @@ -384,7 +384,7 @@ public function capturePayment(string $account, float $amount, string $currency, } } elseif ($response->result == '101') { // Decline - $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_realex_remote_order_status_decline_id'), $message); + $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_realex_remote_declined_status_id'), $message); } elseif ($response->result == '102') { // Referal B $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_realex_remote_decline_pending_id'), $message); @@ -402,7 +402,7 @@ public function capturePayment(string $account, float $amount, string $currency, $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_realex_remote_decline_bank_id'), $message); } else { // Other - $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_realex_remote_order_status_decline_id'), $message); + $this->model_checkout_order->addHistory($order_id, $this->config->get('payment_realex_remote_declined_status_id'), $message); } return $response;