Hooks

Articles

gform_square_data_sync_enabled

Allows data sync to be disabled for Square Add-On. Default is Enabled.

gform_square_payment_data

The gform_square_payment_data filter in version 1.0 of the Square add-on allows you to modify the payment data before it is sent to Square.

gform_square_show_custom_app_settings

The gform_square_show_custom_app_settings filter allows displaying the custom app settings link in the Square add-on settings page.

gform_state_is_valid_url

The gform_state_is_valid_url filter allows the result of the honeypot’s source URL check to be overridden.

gform_state_lifespan

The State_Handler class generates and validates a hidden 'state' value attached to every Gravity Forms form. It prevents submitted values from being tampered with from form display through form submission, and prevents stale submissions from old form loads from being accepted.

gform_state_pre_encode

This article explains how to use the gform_state_pre_encode action hook to add values to the form state before it is encoded.

gform_stripe_api_mode

This filter allows the API mode to be set to “live” or “test”.

gform_stripe_cancel_url

Filters Stripe session’s cancel URL, which is the URL that users will be sent to after canceling the payment on Stripe.

gform_stripe_charge_authorization_only

This filter allows authorization only transactions by preventing the capture request from being made after the entry has been saved.

gform_stripe_charge_description

This filter can be used to modify the charge description before it is sent to Stripe.