Skip to content

Commit

Permalink
Add BluePay Hosted enabled check
Browse files Browse the repository at this point in the history
  • Loading branch information
condor2 authored Mar 5, 2024
1 parent 5728b5b commit 9dc6fcc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,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('bluepay_hosted_status')) {
$order_info = $this->model_checkout_order->getOrder($this->session->data['order_id']);

if ($response_data['Result'] == 'APPROVED') {
Expand Down

0 comments on commit 9dc6fcc

Please sign in to comment.