From 3f10bd2b7ebba382da1e67fc4b659f52861ef57c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 8 Jul 2025 15:32:27 +0200 Subject: [PATCH] Fix warning --- htdocs/public/stripe/ipn.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/public/stripe/ipn.php b/htdocs/public/stripe/ipn.php index f3350d36a7a..123d571243e 100644 --- a/htdocs/public/stripe/ipn.php +++ b/htdocs/public/stripe/ipn.php @@ -141,8 +141,8 @@ try { dol_syslog("***** Stripe IPN was called with SignatureVerificationException service=".$service, LOG_DEBUG, 0, '_payment'); httponly_accessforbidden('Invalid signature. May be a hook for an event created by another Stripe env or a hack attempt ? Check setup of your keys whsec_...', 400); } catch (Exception $e) { - dol_syslog("***** Stripe IPN was called with Exception ('.$e->getMessage().') service=".$service); - dol_syslog("***** Stripe IPN was called with Exception ('.$e->getMessage().') service=".$service, LOG_DEBUG, 0, '_payment'); + dol_syslog("***** Stripe IPN was called with Exception (".$e->getMessage().") service=".$service); + dol_syslog("***** Stripe IPN was called with Exception (".$e->getMessage().") service=".$service, LOG_DEBUG, 0, '_payment'); httponly_accessforbidden('Error '.$e->getMessage(), 400); }