Commit 4fc5a653 authored by mr.amirka's avatar mr.amirka

changed dev servers

parent 7b300c27
......@@ -12,10 +12,10 @@
DEFINE('LUNUPAYMENT_SERVER_NAME', $_SERVER['SERVER_NAME']);
DEFINE('LUNUPAYMENT_VERSION_BETA', 'beta');
DEFINE('LUNUPAYMENT_VERSION', (
LUNUPAYMENT_SERVER_NAME === 'shop2.lunu.io'
LUNUPAYMENT_SERVER_NAME === 'shop.dev.lunu.io'
? LUNUPAYMENT_VERSION_BETA
: (
LUNUPAYMENT_SERVER_NAME === 'shop1.lunu.io'
LUNUPAYMENT_SERVER_NAME === 'shop.rc.lunu.io'
? 'rc'
: 'alpha'
)
......@@ -572,10 +572,8 @@ function lunu_payment_create($auth = array(
if (is_array($data) && is_array($data['response'])) {
return $data['response'];
}
} else {
lunuLogError($response, 'payment create: ');
}
lunuLogError($response, 'payment create: ');
return false;
}
......@@ -604,9 +602,8 @@ function lunu_payment_check($auth = array(
if (is_array($data) && is_array($data['response'])) {
return $data['response'];
}
} else {
lunuLogError($response, 'payment check: ');
}
lunuLogError($response, 'payment check: ');
return false;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment