Commit 23178f6a authored by mr.amirka's avatar mr.amirka

fixed logs

parent cb75a37b
# Apache 2.2
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
# Apache 2.4
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
......@@ -104,7 +104,7 @@ if (
var_dump($val);
$debug_dump = ob_get_clean();
file_put_contents(
__DIR__ . '/lunu_error_log.txt',
__DIR__ . '/logs/lunu_log.txt',
date('Y-m-d H:i:s') . ' ' . $message . ' ' . $debug_dump . PHP_EOL,
FILE_APPEND
);
......@@ -381,11 +381,6 @@ if (
'app_id' => $app_id,
'api_secret' => $api_secret,
'version' => LUNUPAYMENT_PROCESSING_VERSION
/*
'version' => $this->release === 'no'
? LUNUPAYMENT_PROCESSING_VERSION_SANDBOX
: LUNUPAYMENT_PROCESSING_VERSION
*/
);
$description = array();
......@@ -466,7 +461,9 @@ if (
new window.Lunu.widgets.Payment(
d.getElementById('payment-form'),
{
overlay: true,
enableLunuGift: " . ($widget_version === 'beta' || $widget_version === 'testing' ? 'true' : 'false') . ",
confirmation_token: '" . $confirmation_token . "',
// Token that must be received from the Processing Service before making a payment
// Required parameter
......@@ -813,6 +810,7 @@ function lunu_payment_create($auth = array(
//
unset($data['email']);
lunuLogError(array(
// 'options' => $options,
'url' => $url,
'request' => $data,
'response' => $response,
......
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