diff --git a/modules/stripe/api.php b/modules/stripe/api.php index aae8b36d..def87201 100644 --- a/modules/stripe/api.php +++ b/modules/stripe/api.php @@ -73,6 +73,11 @@ public function create_payment_intent( $args = '' ) { unset( $args['receipt_email'] ); } + $args = apply_filters( + 'wpcf7_stripe_create_payment_intent_params', + $args + ); + $endpoint = 'https://api.stripe.com/v1/payment_intents'; $request = array(