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>