Browse Source

update: mgate

tokumeikoi 3 years ago
parent
commit
c8c96365ea
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Payments/MGate.php

+ 1 - 1
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']}";
         }