Hooks

Articles

gform_stripe_payment_element_payment_methods

When using the Stripe Payment Element method, this filter can be used to manually set the payment methods used by the payment element.

gform_stripe_payment_element_subscriptions_automatic_charge_methods

This filter allows you to change the list of payment methods that support automatic charging.

gform_stripe_payment_element_updated_payment_information

Allows users to filter the payment information of the payment element on the front end before calling elements.update().

gform_stripe_payment_intent_pre_create

Note: Use the gform_stripe_session_data filter instead if using Stripe Checkout.

gform_stripe_post_include_api

This allows further actions to be performed after the Stripe API is initialized.

gform_stripe_sca_success_pre_validation

The gform_stripe_sca_success_pre_validation filter allows the modification of the validation result after a successful SCA challenge.

gform_stripe_session_data

The gform_stripe_session_data filter can be used to set/update product/subscription data before creating the session in Stripe. Can be used to add product images.

gform_stripe_subscription_cancel_at_period_end

This filter can be used to delay the cancellation of the subscription until the end of the current period.

gform_stripe_subscription_params_pre_update_customer

This filter allows the subscription parameters to be overridden before the customer is subscribed to the plan.

gform_stripe_subscriptions_self_serve_markup

Allows the subscriptions list markup or the no subscriptions found markup to be modified.