From 764f23c1b84ca7dc33bddd24eafcc8e311f0f52f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 30 Jan 2026 03:57:07 +0100 Subject: [PATCH] More log --- htdocs/public/stripe/ipn.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/public/stripe/ipn.php b/htdocs/public/stripe/ipn.php index 0ee66a73c2d..db860f07c65 100644 --- a/htdocs/public/stripe/ipn.php +++ b/htdocs/public/stripe/ipn.php @@ -1195,16 +1195,16 @@ if ($event->type == 'payout.created' && getDolGlobalString('STRIPE_AUTO_RECORD_P } if (! $error) { - // Add status dispute_status to Dispute Lost - $result = $tmpinvoice->setStatut(8, null, '', 'FACTURE_MODIFY', 'dispute_status'); + // Add status dispute_status to Dispute Open + $result = $tmpinvoice->setStatut(1, null, '', 'FACTURE_MODIFY', 'dispute_status'); if ($result < 0) { $errormsg = $tmpinvoice->error.implode(', ', $tmpinvoice->errors); $error++; } if (!$error) { - dol_syslog("The dispute_status of invoice ".$tmpinvoice->ref." has been modified to 8"); - dol_syslog("The dispute_status of invoice ".$tmpinvoice->ref." has been modified to 8", LOG_DEBUG, 0, '_payment'); + dol_syslog("The dispute_status of invoice ".$tmpinvoice->ref." has been modified to 1"); + dol_syslog("The dispute_status of invoice ".$tmpinvoice->ref." has been modified to 1", LOG_DEBUG, 0, '_payment'); } }