update: fix mgate

This commit is contained in:
tokumeikoi 2022-11-02 18:47:22 +08:00
parent 6d3927cf2a
commit 3f7100f351

View File

@ -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'];