diff --git a/app/Payments/MGate.php b/app/Payments/MGate.php index 1d212b7d..12e39b53 100644 --- a/app/Payments/MGate.php +++ b/app/Payments/MGate.php @@ -43,7 +43,7 @@ class MGate { public function pay($order) { - if ($this->config['notify_domain']) { + if (isset($this->config['notify_domain'])) { $parseUrl = parse_url($order['notify_url']); $notifyUrl = "{$parseUrl['scheme']}://{$this->config['notify_domain']}{$parseUrl['path']}"; }