From dc84b3e5a6db11790149b74d5b696c4247c0d1e6 Mon Sep 17 00:00:00 2001 From: Christophe LATOUR Date: Mon, 22 Jan 2018 13:12:01 +0100 Subject: [PATCH] Paybox add log --- app/Web/Controllers/Payments/PayboxController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Web/Controllers/Payments/PayboxController.php b/app/Web/Controllers/Payments/PayboxController.php index e2c7188..7a040a8 100644 --- a/app/Web/Controllers/Payments/PayboxController.php +++ b/app/Web/Controllers/Payments/PayboxController.php @@ -93,7 +93,8 @@ class PayboxController extends ApiBaseController { $fp = fopen(__DIR__. '/../../../../log_payment'.date('Y-m-d').'.txt', 'a+'); - $str = var_export($user->email, true) . " " . + $str = var_export($_SERVER['REMOTE_ADDR'], true) . " " . + var_export($user->email, true) . " " . var_export($response, true) . " " . var_export($input_data, true) . " " . var_export($create_order, true) . " " .