Description #
This filter returns checkout arguments for the stripe payment.
apply_filters('fluentform/stripe_checkout_args', $checkoutArgs, $submission, $transaction, $form);
Usage #
add_filter('fluentform/stripe_checkout_args', function ($checkoutArgs, $submission, $transaction, $form) {
// do your stuff
return $checkoutArgs
}, 10, 4);
Parameters #
- $checkoutArgs (array) Checkout Arguments
- $submission (array) Submission Data
- $transaction (array) Transaction Data
- $form (object) Form Object
Placement #
This code should be placed in the functions.php file of your active theme.
Source Code #
This filter is located in the pro version src/Payments/PaymentMethods/Stripe/StripeProcessor.php