* Add hook stripeWebhookEvent in Stripe IPN for external modules
Allow external modules to intercept and handle Stripe webhook events
via the standard Dolibarr hook system. The hook is called before the
built-in event processing, and modules can return >0 to stop default
processing if they handled the event entirely.
Hook context: stripeipn
Hook method: stripeWebhookEvent
Parameters: event (full Stripe event), servicestatus, service
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Fix phpstan: instantiate HookManager before use in ipn.php
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>