From 2b3a1b89f5352d1f2d0c183e09e7e2eefbbc004d Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Mon, 2 Jun 2025 15:23:00 +0200 Subject: [PATCH] Debug v22 --- htdocs/stripe/admin/stripe.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/htdocs/stripe/admin/stripe.php b/htdocs/stripe/admin/stripe.php index 4680a6586d5..c881e54dbf0 100644 --- a/htdocs/stripe/admin/stripe.php +++ b/htdocs/stripe/admin/stripe.php @@ -36,6 +36,10 @@ require_once DOL_DOCUMENT_ROOT.'/stripe/class/stripe.class.php'; $servicename = 'Stripe'; $listofsupportedhooks = array('charge.dispute.closed', 'charge.dispute.created', 'charge.dispute.funds_withdrawn', 'payment_intent.payment_failed', 'payment_intent.succeeded'); +if (getDolGlobalString('STRIPE_AUTO_RECORD_PAYOUT')) { + $listofsupportedhooks[] = 'payout.create'; + $listofsupportedhooks[] = 'payout.paid'; +} /** * @var Conf $conf