diff --git a/app/Payments/MGate.php b/app/Payments/MGate.php index 259470a8..cb0be56e 100644 --- a/app/Payments/MGate.php +++ b/app/Payments/MGate.php @@ -49,7 +49,7 @@ class MGate { 'notify_url' => $order['notify_url'], 'return_url' => $order['return_url'] ]; - if ($this->config['mgate_source_currency']) { + if (isset($this->config['mgate_source_currency'])) { $params['source_currency'] = $this->config['mgate_source_currency']; } $params['app_id'] = $this->config['mgate_app_id'];