Skip to content

Commit

Permalink
Add BluePay Hosted enabled check
Browse files Browse the repository at this point in the history
  • Loading branch information
ADDCreative committed Mar 4, 2024
1 parent b7d52bd commit fb661f6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function callback() {

$response_data = $this->request->get;

if (isset($this->session->data['order_id'])) {
if (isset($this->session->data['order_id']) && $this->config->get('payment_bluepay_hosted_status')) {
$order_info = $this->model_checkout_order->getOrder($this->session->data['order_id']);

if ($response_data['Result'] == 'APPROVED') {
Expand Down Expand Up @@ -96,4 +96,4 @@ public function adminCallback() {
$this->response->addHeader('Content-Type: application/json');
$this->response->setOutput(json_encode($this->request->get));
}
}
}

0 comments on commit fb661f6

Please sign in to comment.