mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-24 13:54:28 +01:00
Add a hook point in Stripe::getPaymentIntent() to allow external modules to modify the $dataforintent array before the Stripe PaymentIntent::create() API call. This enables modules to customize: - statement_descriptor (e.g. structured communication for SEPA DD) - metadata - description - payment_method_types - and other PaymentIntent parameters The $arrayofoptions (containing stripe_account and idempotency_key) is intentionally NOT exposed for security reasons. Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>