Stripe Payment Forms by WP Simple Pay 4.17.7 has 116 actions and 200 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Stripe Payment Forms by WP Simple Pay fires an action
add_action( 'action_scheduler_completed_action', function( $action_id ) {
// Your code runs here.
}, 10, 1 );
// Change a value Stripe Payment Forms by WP Simple Pay is about to use
add_filter( 'simpay_out_of_stock_price_option_label', function( $out_of_stock_price_option_label, $object ) {
// Change $out_of_stock_price_option_label here.
return $out_of_stock_price_option_label;
}, 10, 2 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Filters the out of stock price option label. */ apply_filters( 'simpay_out_of_stock_price_option_label', $out_of_stock_price_option_label, $this ); -
/** * Filter the minimum score allowed for a reCAPTCHA response to allow form * submission. */ apply_filters( 'simpay_recpatcha_minimum_score', $minimum_score ); -
/** * Fires after a scheduled action has been completed. */ do_action( 'action_scheduler_completed_action', $action_id ); -
/** * Fires when Action Scheduler is ready: it is safe to use the procedural API * after this point. */ do_action( 'action_scheduler_init' ); -
/** * Allows further processing after a Subscription has been created. */ do_action( 'simpay_after_subscription_created', $subscription ); -
/** * Filters Payment Form's script variables. */ apply_filters( 'simpay_form_script_variables', $temp, $this->id ); -
/** * Filters the current visitor's IP address. */ apply_filters( 'simpay_get_current_ip_address', $ip_array[0] ); -
/** * This filter is documented in * src/RestApi/Internal/Payment/AbstractPaymentCreateRoute.php */ apply_filters( 'simpay_has_exceeded_rate_limit', $has_exceeded_rate_limit, $request ); -
/** * Filters the Price/Plan label name. */ apply_filters( 'simpay_plan_name_label', $label, $this->__unstable_stripe_object ); -
/** * Filters if rate limiting should be enabled. */ apply_filters( 'simpay_rate_limiting_enabled', true ); -
/** * Filters the rate limiting tracking ID. */ apply_filters( 'simpay_rate_limiting_id', $id, $this->request ); -
/** * This filter is documented in src/Admin/AdminBranding.php */ apply_filters( 'simpay_use_notification_inbox', $use_notification_inbox ); -
/** * Filters the list of payment form templates. */ apply_filters( '__unstable__simpay_payment_form_templates', $template_files ); -
/** * Allows further output after all content on all settings pages. */ do_action( '__unstable_simpay_admin_page_settings_end' ); -
/** * Allows further output in the "Spam & Fraud Protection" section. */ do_action( '__unstable_simpay_after_form_anti_spam_settings' ); -
/** * Allows additional output after the license field. */ do_action( '__unstable_simpay_license_field' ); -
/** * Allows filtering of the message displayed when Stripe Connect is connected. */ apply_filters( '__unstable_simpay_stripe_connect_account_message', $message ); -
/** * Internal hook to allow legacy hooks that rely on "complete" payments. */ do_action( '_simpay_payment_confirmation', $payment_confirmation_data, $payment_confirmation_data['form'], $_GET ); -
/** * Filters the post arguments used during an async request. */ apply_filters( "{$this->identifier}_post_args", $args ); -
/** * Filters the post arguments used during an async request. */ apply_filters( "{$this->identifier}_query_args", $args ); -
/** * Filters the post arguments used during an async request. */ apply_filters( "{$this->identifier}_query_url", $url ); -
/** * Allow custom processing before updating a table schema. */ do_action( 'action_scheduler_before_schema_update', $table, $this->db_version ); -
/** * Sets the order-by clause used in the action claim query. */ apply_filters( 'action_scheduler_claim_actions_order_by', 'ORDER BY priority ASC, attempts ASC, scheduled_date_gmt ASC, action_id ASC' ); -
/** * Filter the batch size when cleaning the queue. */ apply_filters( 'action_scheduler_cleanup_batch_size', $this->batch_size ); -
/** * Filter the statuses when cleaning the queue. */ apply_filters( 'action_scheduler_default_cleaner_statuses', $this->default_statuses_to_purge ); -
/** * Allows 3rd party code to add extra action counts (used in filters in the * list table). */ apply_filters( 'action_scheduler_extra_action_counts', $extra_actions ); -
/** * Notify 3rd party code of exceptions when deleting a completed action older * than the retention period */ do_action( "action_scheduler_failed_{$context}_action_deletion", $action_id, $e, $lifespan, count( $actions_to_delete ) ); -
/** * Runs when action execution fails. */ do_action( 'action_scheduler_failed_execution', $action_id, $e, $context ); -
/** * Runs when action validation fails. */ do_action( 'action_scheduler_failed_validation', $action_id, $e, $context ); -
/** * Fires in the early stages of Action Scheduler init hook. */ do_action( 'action_scheduler_pre_init' ); -
/** * When an external object cache is in use, and when wp_cache_flush_runtime() * is not available, then normally the cache will not be flushed after * processing a batch of actions (to avoid a performance penalty for other * processes). */ apply_filters( 'action_scheduler_queue_runner_flush_cache', false ); -
/** * Controls the failure threshold for recurring actions. */ apply_filters( 'action_scheduler_recurring_action_failure_threshold', 5 ); -
/** * If a recurring action is assessed as consistently failing, it will not be * rescheduled. This hook provides a way to observe and optionally override * that assessment. */ apply_filters( 'action_scheduler_recurring_action_is_consistently_failing', $first_action_id_with_the_same_hook === $first_failing_action_id, $action ); -
/** * Filter the minimum scheduled date age for action deletion. */ apply_filters( 'action_scheduler_retention_period', $this->month_in_seconds ); -
/** * Allow 3rd party code to change the instantiated action for a given hook, * args, schedule and group. */ apply_filters( 'action_scheduler_stored_action_instance', $action, $hook, $args, $schedule, $group, $priority ); -
/** * Filters the date query clauses. */ apply_filters( 'get_date_sql', $sql, $this ); -
/** * Provides an opportunity to short-circuit the default process for enqueuing * async actions. */ apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority ); -
/** * Provides an opportunity to short-circuit the default process for enqueuing * cron actions. */ apply_filters( 'pre_as_schedule_cron_action', null, $timestamp, $schedule, $hook, $args, $group, $priority ); -
/** * Provides an opportunity to short-circuit the default process for enqueuing * recurring actions. */ apply_filters( 'pre_as_schedule_recurring_action', null, $timestamp, $interval_in_seconds, $hook, $args, $group, $priority ); -
/** * Provides an opportunity to short-circuit the default process for enqueuing * single actions. */ apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority ); -
/** * This filter is documented in wp-includes/rest-api/class-wp-rest-server.php */ apply_filters( 'rest_authentication_errors', true ); -
/** * This filter is documented in wp-includes/rest-api/class-wp-rest-server.php */ apply_filters( 'rest_enabled', true ); -
/** * Filter an arbitrary form value. */ apply_filters( "simpay_{$filter}", $value, $form_id ); -
/** * Allows further output after the "Amount" field in "Payment Options" Payment * Form settings tab content. */ do_action( 'simpay_admin_after_amount_options', $post_id ); -
/** * Allow extra setting rows to be added at the bottom of the table. */ do_action( 'simpay_admin_after_form_display_options_rows', $post_id ); -
/** * Allows further output after the "Payment Options" Payment Form settings tab * content. */ do_action( 'simpay_admin_after_payment_options' ); -
/** * Allows output at the top of "Stripe Checkout" Payment Form settings tab * content. */ do_action( 'simpay_admin_after_stripe_checkout' ); -
/** * Allows further output at the bottom of "Stripe Checkout" Payment Form * settings tab content. */ do_action( 'simpay_admin_after_stripe_checkout_rows' ); -
/** * Allow extra setting rows to be added at the bottom of the table. */ do_action( 'simpay_admin_before_form_display_options_rows', $post_id ); -
/** * Allows output at the top of "Stripe Checkout" Payment Form settings tab * content. */ do_action( 'simpay_admin_before_stripe_checkout_rows', $post_id ); -
/** * Allows output in the WP Simple Pay branding bar "actions" section. */ do_action( 'simpay_admin_branding_bar_actions' ); -
/** * Filters the HTML for Payment Form setting tab items. */ apply_filters( 'simpay_admin_meta_tab_inner_html', $html, $key ); -
/** * Allows output before a settings subsection. */ do_action( "simpay_admin_page_settings_{$page}_before" ); -
/** * Allows output after a settings section. */ do_action( "simpay_admin_page_settings_{$page}_end" ); -
/** * Allows output before a settings section. */ do_action( "simpay_admin_page_settings_{$page}_start" ); -
/** * Filters the display of the setting's "Submit" button. */ apply_filters( "simpay_admin_page_settings_{$page}_submit", true ); -
/** * Allows furhter output after settings tabs. */ do_action( 'simpay_admin_page_settings_tabs' ); -
/** * Allows further processing after a Charge has been created. */ do_action( 'simpay_after_charge_created', $charge ); -
/** * Allows output somewhere in the middle of "Stripe Checkout" Payment Form * settings tab content. */ do_action( 'simpay_after_checkout_button_text', $post_id ); -
/** * Allows further processing after a Checkout\Session has been created. */ do_action( 'simpay_after_checkout_session_created', $session ); -
/** * Allows further processing after a Checkout\Session is created from a payment * form request. */ do_action( 'simpay_after_checkout_session_from_payment_form_request', $session, $form, array(), $form_values, $customer_id ); -
/** * Allows further processing after a Customer has been created. */ do_action( 'simpay_after_customer_created', $customer ); -
/** * Allows further processing after a Customer has been deleted. */ do_action( 'simpay_after_customer_deleted', $customer ); -
/** * Allow further processing after a Customer is created from a posted form. */ do_action( 'simpay_after_customer_from_payment_form_request', $customer, $form, array(), $form_values ); -
/** * Allows further processing after a Customer has been updated. */ do_action( 'simpay_after_customer_updated', $customer ); -
/** * Allow further processing after a Invoice is created from a posted form. */ do_action( 'simpay_after_invoice_from_payment_form_request', $invoice, $form, array(), $form_values, $customer->id ); -
/** * Filters the HTML output after the payment confirmation. */ apply_filters( 'simpay_after_payment_details', '</div>', $payment_confirmation_data ); -
/** * Allows further processing after a PaymentIntent has been created. */ do_action( 'simpay_after_paymentintent_created', $paymentintent ); -
/** * Allows further processing after a PaymentIntent is created from a payment * form request. */ do_action( 'simpay_after_paymentintent_from_payment_form_request', $payment_intent, $form, array(), $form_values, $customer_id ); -
/** * Allows further processing after a Refund has been created. */ do_action( 'simpay_after_refund_created', $refund ); -
/** * Allow further processing after a Subscription is created from a posted form. */ do_action( 'simpay_after_subscription_from_payment_form_request', $subscription, $form, array(), $form_values, $customer_id ); -
/** * Filters the list of hosts allowed to serve plugin/addon installation * packages. */ apply_filters( 'simpay_allowed_plugin_install_hosts', array( 'downloads.wordpress.org', 'wpsimplepay.com', 'www.wpsimplepay.com', ) ); -
/** * Allows output before the "Amount" field in "Payment Options" Payment Form * settings tab content. */ do_action( 'simpay_amount_options', $post_id ); -
/** * Allows processing before a PaymentIntenet is created. */ do_action( 'simpay_before_charge_created', $charge_args ); -
/** * Allows processing before a Checkout\Session is created. */ do_action( 'simpay_before_checkout_session_created', $session_args ); -
/** * Allows processing before a Checkout\Session is created from a payment form * request. */ do_action( 'simpay_before_checkout_session_from_payment_form_request', $session_args, $form, array(), $form_values, $customer_id ); -
/** * Allows processing before a Customer is created. */ do_action( 'simpay_before_customer_created', $customer_args ); -
/** * Allow further processing before a Customer is created from a posted form. */ do_action( 'simpay_before_customer_from_payment_form_request', $customer_args, $form, array(), $form_values ); -
/** * Filters the HTML output before the payment confirmation. */ apply_filters( 'simpay_before_payment_details', '<div class="simpay-payment-receipt-wrap">', $payment_confirmation_data ); -
/** * Allows Payment Page compatibility to be added/modified. */ do_action( 'simpay_before_payment_page_output', $this->events ); -
/** * Allows processing before a PaymentIntenet is created. */ do_action( 'simpay_before_paymentintent_created', $paymentintent_args ); -
/** * Allows processing before a PaymentIntent is created from a payment form * request. */ do_action( 'simpay_before_paymentintent_from_payment_form_request', $payment_intent_args, $form, array(), $form_values, $customer_id ); -
/** * Allows processing before a Refund is created. */ do_action( 'simpay_before_refund_created', $refund_args ); -
/** * Filters the scripts before they are registered in the admin. */ apply_filters( 'simpay_before_register_admin_scripts', $this->scripts, '.min' ); -
/** * Filters the styles before they are registered in the admin. */ apply_filters( 'simpay_before_register_admin_styles', $this->styles, '.min' ); -
/** * Filters the scripts before they are registered. */ apply_filters( 'simpay_before_register_public_scripts', $this->scripts, '.min' ); -
/** * Filters the styles before they are registered. */ apply_filters( 'simpay_before_register_public_styles', $this->styles, '.min' ); -
/** * Allows processing before a Subscription is created. */ do_action( 'simpay_before_subscription_created', $subscription_args ); -
/** * Allow further processing before a Subscription is created from a posted * form. */ do_action( 'simpay_before_subscription_from_payment_form_request', $subscription_args, $form, array(), $form_values, $customer_id ); -
/** * Filters the page slugs to set nocache headers. */ apply_filters( 'simpay_cache_exclusion_uris', array( 'payment-confirmation', 'payment-failed', ) ); -
/** * Filter the ability to manually manage Stripe keys. */ apply_filters( 'simpay_can_site_manage_stripe_keys', $can ); -
/** * Filter Payment Request Button availibility. */ apply_filters( 'simpay_can_use_payment_request_button', $can_use, $country ); -
/** * Filter the error message shown when a Payment Confirmation cannot be * created. */ apply_filters( 'simpay_charge_error_message', $message ); -
/** * Filters whether to use Stripe's automatic payment methods (Optimized * Checkout Suite) instead of an explicit payment_method_types list. */ apply_filters( 'simpay_checkout_session_use_automatic_payment_methods', is_automatic_payment_methods_setting_enabled(), $session_args ); -
/** * Filter the arguments used to generate a Charge. */ apply_filters( 'simpay_create_charge_args', $charge_args ); -
/** * Filters the arguments passed to customer creation in Stripe. */ apply_filters( 'simpay_create_customer_args', $customer_args ); -
/** * Filter the arguments used to generate a PaymentIntent. */ apply_filters( 'simpay_create_paymentintent_args', $paymentintent_args ); -
/** * Filter the arguments used to generate a Refund. */ apply_filters( 'simpay_create_refund_args', $refund_args ); -
/** * Filter the arguments used to create a Checkout Session. */ apply_filters( 'simpay_create_stripe_checkout_session_args', $session_args ); -
/** * Filter the arguments passed to Subscription creation in Stripe. */ apply_filters( 'simpay_create_stripe_subscription_args', $subscription_args ); -
/** * Filter the labels associated with field groups. */ apply_filters( 'simpay_custom_field_group_labels', $groups ); -
/** * Filters available custom fields. */ apply_filters( 'simpay_custom_field_options', $fields ); -
/** * Filters any existing \SimplePay\Vendor\Stripe\Customer record, allowing for * creation to be overridden or stopped. */ apply_filters( 'simpay_customer_create', null, $customer_args, $api_request_args ); -
/** * Filters the number of decimal places to use. */ apply_filters( 'simpay_decimal_places', $decimal_places, $currency ); -
/** * Filters the decimal separator. */ apply_filters( 'simpay_decimal_separator', $separator ); -
/** * Filters the {charge-date} smart tag value. */ apply_filters_deprecated( 'simpay_details_order_date', array( $value, ), '3.6.0', 'simpay_payment_confirmation_template_tag_charge-date' ); -
/** * Filters the email notification message. */ apply_filters( 'simpay_email_payment_notification_message', $notification_message, $form_id, $type ); -
/** * Filters the email address the payment notification is sent to. */ apply_filters( 'simpay_email_payment_notification_to', $to, $payment_confirmation_data ); -
/** * Determines if an email's message body should have wpautop applied. */ apply_filters( 'simpay_emails_autop', $autop ); -
/** * Filter an arbitrary form value. */ apply_filters( "simpay_form_{$form_id}_{$filter}", $value, $form_id ); -
/** * This filter is documented in includes/core/forms/class-default-form.php */ apply_filters( "simpay_form_{absint($form_id)}_script_variables", $temp, $form_id ); -
/** * Filters the classlist applied to the payment form. */ apply_filters( "simpay_form_{absint($this->id)}_classes", $classes ); -
/** * Allow additional output at the bottom of all forms. */ do_action( 'simpay_form_before_form_bottom', $this->id, $this ); -
/** * Allow additional output at the top of all forms. */ do_action( 'simpay_form_before_form_top', $this->id, $this ); -
/** * Allows further action to be taken when a Payment Form is created. */ do_action( 'simpay_form_created', $post_id ); -
/** * Filters if the current visitor has exceeded the form-data rate limit. */ apply_filters( 'simpay_form_data_has_exceeded_rate_limit', $exceeded, $request ); -
/** * Filters how many form-data requests one visitor can make in a rate-limiting * window before receiving a 429. */ apply_filters( 'simpay_form_data_rate_limit_max_count', self::DEFAULT_MAX_COUNT ); -
/** * Filters if the form-data rate limit can store its counters. */ apply_filters( 'simpay_form_data_rate_limit_storage_available', wp_using_ext_object_cache() ); -
/** * Filters if the form-data rate limit trusts forwarded-IP headers * (`Client-IP`, `X-Forwarded-For`) to identify the visitor. */ apply_filters( 'simpay_form_data_rate_limit_trust_proxy_headers', true ); -
/** * Filters the length of the form-data rate-limiting window. */ apply_filters( 'simpay_form_data_rate_limit_window', self::DEFAULT_WINDOW ); -
/** * Filters the template file to use for the "Custom Form Fields" Payment Form * settings tab panel. */ apply_filters( 'simpay_form_display_template', $form_display_template ); -
/** * Filters the default value used on a custom field. */ apply_filters( 'simpay_form_field_default_value', $default, $id, self::$form, self::$type ); -
/** * Filters the indicator for optional fields. */ apply_filters( 'simpay_form_field_optional_indicator', $optional_indicator ); -
/** * Filters the template file to use for the "Form Display Options" Payment Form * settings tab panel. */ apply_filters( 'simpay_form_options_template', $form_display_options_template ); -
/** * Filters the out of schedule message. */ apply_filters( 'simpay_form_out_of_schedule_message', $out_of_schedule_message, $form ); -
/** * Filters the out of stock message. */ apply_filters( 'simpay_form_out_of_stock_message', $out_of_stock_message, $form ); -
/** * Allows output in the "Automations" form settings tab panel. */ do_action( 'simpay_form_settings_automations_panel', $post->ID ); -
/** * Allows output in the "Confirmation" form settings tab panel. */ do_action( 'simpay_form_settings_confirmation_panel', $post->ID ); -
/** * Allows further output after the "Form Display Options" Payment Form settings * tab panel. */ do_action( 'simpay_form_settings_display_options_panel', $post->ID ); -
/** * Allows output in the "Form Style" form settings tab panel. */ do_action( 'simpay_form_settings_form_style_panel', $post->ID ); -
/** * Allows further output after the "Custom Form Fields" Payment Form settings * tab panel. */ do_action( 'simpay_form_settings_meta_form_display_panel', $post->ID ); -
/** * Allows further output after all Payment Form settings tab panels. */ do_action( 'simpay_form_settings_meta_options_panel', $post->ID ); -
/** * Allows further output after the "Payment Options" Payment Form settings tab * panel. */ do_action( 'simpay_form_settings_meta_payment_options_panel', $post->ID ); -
/** * Allows further output after the "Stripe Checkout Display" Payment Form * settings tab panel. */ do_action( 'simpay_form_settings_meta_stripe_checkout_panel', $post->ID ); -
/** * Filters the tabs for the Payment Form settings. */ apply_filters( 'simpay_form_settings_meta_tabs_li', $tabs, $post->ID ); -
/** * Allows output in the "Notifications" form settings tab panel. */ do_action( 'simpay_form_settings_notifications_panel', $post->ID ); -
/** * Allows output in the "Payment Page" form settings tab panel. */ do_action( 'simpay_form_settings_payment_page_panel', $post->ID ); -
/** * Allows output in the "Purchase Restrictions" form settings tab panel. */ do_action( 'simpay_form_settings_purchase_restrictions_panel', $post->ID ); -
/** * This filter is documented in includes/core/shortcodes.php */ apply_filters( 'simpay_form_view', '', $form_id ); -
/** * Filters the list of available currencies. */ apply_filters( 'simpay_get_currencies', $currencies ); -
/** * Filters the maximum amount (in lowest possible decimal) for a specific * currency. */ apply_filters( 'simpay_get_currency_maximum', $maximum, $currency ); -
/** * Filters the minimum amount (in lowest possible decimal) for a specific * currency. */ apply_filters( 'simpay_get_currency_minimum', $minimum, $currency ); -
/** * Filters arguments used to create a Customer from a payment form request. */ apply_filters( 'simpay_get_customer_args_from_payment_form_request', $customer_args, $form, array(), $form_values ); -
/** * Filters the Payment Confirmation editor content. */ apply_filters_deprecated( 'simpay_get_editor_content', array( $content, 'one_time', $display_options, ), '3.6.0', 'simpay_payment_confirmation_content' ); -
/** * Filters arguments used to generate an Invoice. */ apply_filters( 'simpay_get_invoice_args_from_payment_form_request', $invoice_args, $form, array(), $form_values ); -
/** * Filters the list of available error codes and corresponding error messages. */ apply_filters( 'simpay_get_localized_error_list', $error_list ); -
/** * Filters the price options for a specific Payment Form. */ apply_filters( 'simpay_get_payment_form_price_options', $price_options, $form ); -
/** * Filters arguments used to create a PaymentIntent from a payment form * request. */ apply_filters( 'simpay_get_paymentintent_args_from_payment_form_request', $payment_intent_args, $form, array(), $form_values, $customer_id ); -
/** * Filter the version of the REST API to use. Default is the latest. */ apply_filters( 'simpay_get_rest_api_version', $latest ); -
/** * Filters arguments used to create a Checkout Session from a payment form * request. */ apply_filters( 'simpay_get_session_args_from_payment_form_request', $session_args, $form, array(), $form_values, $customer_id ); -
/** * Filters the list of unsupported characters for Stripe statement descriptors. */ apply_filters( 'simpay_get_statement_descriptor_unsupported_characters', $unsupported_characters ); -
/** * Filters the countries supported by Stripe. */ apply_filters( 'simpay_get_stripe_countries', $countries ); -
/** * Filters arguments used to generate a Subscription from a payment form * request. */ apply_filters( 'simpay_get_subscription_args_from_payment_form_request', $subscription_args, $form, array(), $form_values, $customer_id ); -
/** * Filters the saved settings and values. */ apply_filters( 'simpay_global_settings', $settings ); -
/** * Filter the inline plugin upgrade notice message. */ apply_filters( 'simpay_in_plugin_update_message', $upgrade_notice ? '</p>' . wp_kses_post( $upgrade_notice ) . '<p class="dummmy" style="display: none;">' : '' ); -
/** * Filters whether the current environment is Lite or not. */ apply_filters( 'simpay_is_lite', $is_lite ); -
/** * Filters the content of the confirmation shortcode. */ apply_filters( 'simpay_payment_confirmation_content', $content, $payment_confirmation_data ); -
/** * Filters the payment confirmation data. */ apply_filters( 'simpay_payment_confirmation_data', $payment_confirmation_data ); -
/** * Filters the ID of the form to retrieve. */ apply_filters( 'simpay_payment_confirmation_form_id', $form_id, $payment_confirmation_data ); -
/** * Filters available smart tags used in Payment Confirmation content. */ apply_filters( 'simpay_payment_details_template_tags', $tags ); -
/** * Filters the per-currency transaction amount limits of payment method types. */ apply_filters( 'simpay_payment_method_amount_limits', $limits ); -
/** * Filters if the Payment Method is available to use. */ apply_filters( 'simpay_payment_method_is_available', $is_available, $this ); -
/** * Filter the notice to be displayed when switching payment mode from Live to * Test (or opposite). */ apply_filters( 'simpay_payment_mode_toggle_notice', $toggle_notice ); -
/** * Filters the template file to use for the "Payment Options" Payment Form * settings tab panel. */ apply_filters( 'simpay_payment_options_template', $payment_options_template ); -
/** * Filters the list of asset handles that should be allowed on Payment Pages. */ apply_filters( 'simpay_payment_page_asset_handle_allowlist', $simpay_payment_page_asset_handle_allowlist ); -
/** * Filters if "CSS Compatibility" mode should be active for Payment Pages. */ apply_filters( 'simpay_payment_page_css_compatibility_mode', $enable_css_compatibility_mode ); -
/** * Filters if "JS Compatibility" mode should be active for Payment Pages. */ apply_filters( 'simpay_payment_page_js_compatibility_mode', $enable_js_compatibility_mode ); -
/** * Filters the number of times the endpoint can be hit within the specified * time period (1 hour). */ apply_filters( 'simpay_rate_limiting_max_rate_count', $max_rate_count ); -
/** * Filters the length of time before rate limits are reset. */ apply_filters( 'simpay_rate_limiting_timeout', $expiration_in_seconds ); -
/** * Filters how old (in seconds) an incomplete PaymentIntent must be before it * is reconciled, so in-progress payments are given time to settle normally * first. */ apply_filters( 'simpay_reconcile_incomplete_min_age', DAY_IN_SECONDS ); -
/** * Filters how far back (in seconds) succeeded payments are checked for refunds * that arrived without a webhook. */ apply_filters( 'simpay_reconcile_refund_window', 30 * DAY_IN_SECONDS ); -
/** * Filters the recurring description format key. */ apply_filters( 'simpay_recurring_description_format', $format_key, $form_id ); -
/** * Allows further Collections to be registered. */ do_action( 'simpay_register_collections', $collections ); -
/** * Allows further migrations to be registered. */ do_action( 'simpay_register_migrations', $migrations ); -
/** * Allows further Payment Methods to be registered. */ do_action( 'simpay_register_payment_methods', $payment_methods ); -
/** * Allows other Post Types to be registered. */ do_action( 'simpay_register_post_types' ); -
/** * Allows further settings subsections to be registered. */ do_action( 'simpay_register_settings', $settings ); -
/** * Allows further settings sections to be registered. */ do_action( 'simpay_register_settings_sections', $sections ); -
/** * Allows further settings subsections to be registered. */ do_action( 'simpay_register_settings_subsections', $subsections ); -
/** * Filters the capability needed to submit a payment form when authentication * is required. */ apply_filters( 'simpay_require_authentication_capability', 'read' ); -
/** * Filter the REST API controllers. */ apply_filters( 'simpay_rest_api_controllers', $controllers ); -
/** * Allows further action to be taken when a Payment Form is updated. */ do_action( 'simpay_save_form_settings', $post_id, $post, $form ); -
/** * Notifies that the summary report email should send. */ do_action( 'simpay_send_summary_report_email' ); -
/** * Determines if the "Upcoming Invoice" email should be sent. */ apply_filters( 'simpay_send_upcoming_invoice_email', $send_upcoming_invoice_email, $event, $invoice, $subscription ); -
/** * Filters whether the "Secure payment via Stripe" trust badge is shown below a * payment form's submit button. */ apply_filters( 'simpay_show_trust_badge', $show_badge, $form_id ); -
/** * Filters the labels used to register the `simple-pay` post type. */ apply_filters( 'simpay_simple-pay_post_type_labels', $labels ); -
/** * Filter the message shown when no SSL certificate is available. */ apply_filters( 'simpay_ssl_admin_notice_message', __( 'SSL (HTTPS) is not enabled. You will not be able to process live Stripe transactions until SSL is enabled.', 'stripe' ) ); -
/** * Allow further processing after connecting a Stripe account. */ do_action( 'simpay_stripe_account_connected', $account_data ); -
/** * Filters the Stripe API publishable key. */ apply_filters( 'simpay_stripe_api_publishable_key', $publishable_key, $test_mode ); -
/** * Filters the Stripe API secret key. */ apply_filters( 'simpay_stripe_api_secret_key', $secret_key, $test_mode ); -
/** * Filters the payment types available for Stripe Checkout. */ apply_filters( 'simpay_stripe_checkout_available_payment_method_types', $payment_method_types ); -
/** * Filters the template file to use for the "Stripe Checkout Display" Payment * Form settings tab panel. */ apply_filters( 'simpay_stripe_checkout_template', $stripe_checkout_template ); -
/** * Filter the arguments passed to Plan creation in Stripe. */ apply_filters( 'simpay_stripe_plan_args', $plan_args ); -
/** * Filters the supported Customer Tax ID types. */ apply_filters( 'simpay_stripe_tax_id_types', $tax_id_types ); -
/** * Filters the thousands separator. */ apply_filters( 'simpay_thousand_separator', $separator ); -
/** * Filters the arguments passed to customer creation in Stripe. */ apply_filters( 'simpay_update_customer_args', $customer_args, $customer_id ); -
/** * Filters settings before being saved. */ apply_filters( 'simpay_update_settings', $new_settings, $to_save ); -
/** * Filters the arguments passed to Subscription creation in Stripe. */ apply_filters( 'simpay_update_subscription_args', $subscription_args, $subscription_id ); -
/** * Filters if Usage Tracking should be enabled by default. */ apply_filters( 'simpay_usage_tracking_enabled_default', false ); -
/** * Filters the UTM campaign for generated links. */ apply_filters( 'simpay_utm_campaign', 'lite-plugin' ); -
/** * Filters if the webhooks should be checked for received events to notify the * site admin about configuration issues. */ apply_filters( 'simpay_webhooks_check_received_events', $check_received_events ); -
/** * Filters the currencies that are considered zero-decimal. */ apply_filters( 'simpay_zero_decimal_currencies', $currencies ); -
/** * Allows extra output after the price option list. */ do_action( 'unstable_simpay_form_settings_pro_after_price_options' ); -
/** * Filters whether the given date is valid for the Gregorian calendar. */ apply_filters( 'wp_checkdate', $retval, $source_date ); -
do_action( 'action_scheduler_after_process_queue' ); -
do_action( 'action_scheduler_before_process_queue' ); -
do_action( 'action_scheduler_bulk_cancel_actions', $action_ids ); -
do_action( 'action_scheduler_canceled_action', $action_id ); -
do_action( 'action_scheduler_deleted_action', $action_id ); -
do_action( 'action_scheduler_failed_fetch_action', $action_id, $exception ); -
apply_filters( 'action_scheduler_list_table_column_args', '', $row ); -
apply_filters( 'action_scheduler_maximum_execution_time', $time_limit ); -
do_action( 'action_scheduler_stored_action', $action_id ); -
do_action( 'action_scheduler/migrated_action', $source_action_id, $destination_action_id, $this->source, $this->destination ); -
apply_filters( 'action_scheduler_admin_notice_html', $action_message_html, $action, $notification ); -
apply_filters( 'action_scheduler_admin_view_class', 'ActionScheduler_AdminView' ); -
do_action( 'action_scheduler_after_execute', $action_id, $action, $context ); -
apply_filters( 'action_scheduler_allow_async_request_runner', $allow ); -
apply_filters( 'action_scheduler_async_request_sleep_seconds', 5, $this ); -
do_action( 'action_scheduler_before_execute', $action_id, $context ); -
do_action( 'action_scheduler_begin_execute', $action_id, $context ); -
apply_filters( 'action_scheduler_check_pastdue_actions', current_user_can( 'manage_options' ) ); -
apply_filters( 'action_scheduler_enable_recreate_data_store', true ); -
do_action( 'action_scheduler_execution_ignored', $action_id, $context ); -
do_action( 'action_scheduler_failed_action', $action_id, $timeout ); -
do_action( 'action_scheduler_failed_to_schedule_next_instance', $action_id, $e, $action ); -
apply_filters( 'action_scheduler_failure_period', $time_limit ); -
apply_filters( 'action_scheduler_load_deprecated_functions', true ); -
apply_filters( 'action_scheduler_lock_class', 'ActionScheduler_OptionLock' ); -
apply_filters( 'action_scheduler_lock_duration', self::$lock_duration, $lock_type ); -
apply_filters( 'action_scheduler_logger_class', 'ActionScheduler_wpCommentLogger' ); -
apply_filters( 'action_scheduler_maximum_args_length', 191 ); -
apply_filters( 'action_scheduler_maximum_execution_time_likely_to_be_exceeded', $likely_to_be_exceeded, $this, $processed_actions, $execution_time, $max_execution_time ); -
apply_filters( 'action_scheduler_memory_exceeded', $memory_exceeded, $this ); -
apply_filters( 'action_scheduler_migrate_data_store', false ); -
apply_filters( 'action_scheduler_migration_dependencies_met', true ); -
apply_filters( 'action_scheduler_pastdue_actions_check', $check, $num_pastdue_actions, $threshold_seconds, $threshhold_min ); -
apply_filters( 'action_scheduler_pastdue_actions_check_interval', round( $threshold_seconds / 4 ), $threshold_seconds ); -
apply_filters( 'action_scheduler_pastdue_actions_check_pre', null ); -
do_action( 'action_scheduler_pastdue_actions_extra_notices', $query_args ); -
apply_filters( 'action_scheduler_pastdue_actions_min', 1 ); -
apply_filters( 'action_scheduler_pastdue_actions_seconds', DAY_IN_SECONDS ); -
apply_filters( 'action_scheduler_post_status_args', $args ); -
apply_filters( 'action_scheduler_post_status_failed_labels', $labels ); -
apply_filters( 'action_scheduler_post_status_running_labels', $labels ); -
apply_filters( 'action_scheduler_post_type_args', $args ); -
do_action( 'action_scheduler_pre_theme_init' ); -
apply_filters( 'action_scheduler_queue_runner_batch_size', 25 ); -
apply_filters( 'action_scheduler_queue_runner_class', 'ActionScheduler_QueueRunner' ); -
apply_filters( 'action_scheduler_queue_runner_concurrent_batches', 1 ); -
apply_filters( 'action_scheduler_queue_runner_time_limit', $time_limit ); -
do_action( 'action_scheduler_reset_action', $action_id ); -
do_action( 'action_scheduler_run_queue', 'Async Request' ); -
apply_filters( 'action_scheduler_run_schedule', self::WP_CRON_SCHEDULE ); -
apply_filters( 'action_scheduler_store_class', self::DEFAULT_CLASS ); -
apply_filters( 'action_scheduler_stored_action_class', $action_class, $status, $hook, $args, $schedule, $group ); -
apply_filters( 'action_scheduler_taxonomy_args', $args ); -
apply_filters( 'action_scheduler_timeout_period', $time_limit ); -
do_action( 'action_scheduler_unexpected_shutdown', $this->action_id, $error ); -
apply_filters( 'action_scheduler_use_cpu_execution_time', defined( 'PANTHEON_ENVIRONMENT' ) ); -
do_action( 'action_scheduler/created_table', $updated_table, $table ); -
do_action( 'action_scheduler/migrate_action_dry_run', $source_action_id ); -
do_action( 'action_scheduler/migrate_action_failed', $source_action_id, $this->source, $this->destination ); -
do_action( 'action_scheduler/migrate_action_incomplete', $source_action_id, $destination_action_id, $this->source, $this->destination ); -
do_action( 'action_scheduler/migration_batch_complete', $action_ids ); -
apply_filters( 'action_scheduler/migration_batch_size', 250 ); -
do_action( 'action_scheduler/migration_batch_starting', $action_ids ); -
do_action( 'action_scheduler/migration_complete' ); -
apply_filters( 'action_scheduler/migration_config', $config ); -
apply_filters( 'action_scheduler/migration_interval', 0 ); -
do_action( 'action_scheduler/no_action_to_migrate', $source_action_id, $this->source, $this->destination ); -
do_action( 'action_scheduler/progress_tick', $this->total_ticks ); -
apply_filters( 'admin_memory_limit', $wp_max_limit ); -
apply_filters( 'get_date_sql_clauses', $sql, $this ); -
apply_filters( 'get_date_sql_for_query', $sql, $query, $depth, $this ); -
apply_filters( 'https_local_ssl_verify', false ); -
do_action( 'simpay_activated' ); -
apply_filters( "simpay_add_settings_{$section}_fields", array() ); -
apply_filters( "simpay_add_settings_{$section}_sections", array() ); -
do_action( 'simpay_add_shortcodes' ); -
do_action( 'simpay_after_form_display', $this ); -
do_action( 'simpay_before_form_display', $this ); -
apply_filters( 'simpay_countries', $countries ); -
apply_filters( 'simpay_currency_symbol', $currency_symbol, $currency ); -
apply_filters( 'simpay_currency_symbols', $currencies ); -
apply_filters( 'simpay_custom_field_html', $html, $v ); -
apply_filters( 'simpay_custom_fields', $html, $v ); -
do_action( 'simpay_deactivated' ); -
do_action( "simpay_form_{absint($this->id)}_after_form_display", $this ); -
do_action( "simpay_form_{absint($this->id)}_before_form_bottom", $this ); -
do_action( "simpay_form_{absint($this->id)}_before_form_top", $this ); -
do_action( "simpay_form_{absint($this->id)}_before_payment_form", $this ); -
apply_filters( "simpay_form_{absint($this->id)}_custom_fields", $html, $this ); -
apply_filters( "simpay_form_{absint($this->id)}_script_variables", $temp, $this->id ); -
apply_filters( 'simpay_form_custom_fields', $html, $this ); -
do_action( 'simpay_form_loaded' ); -
apply_filters( 'simpay_form_namespace', __NAMESPACE__ ); -
apply_filters( 'simpay_form_object_type', 'default-form' ); -
do_action( 'simpay_form_style_panel', $post_id ); -
apply_filters( 'simpay_formatted_amount', $amount ); -
apply_filters( 'simpay_get_admin_pages', array( 'settings' => array( 'keys', 'general', 'display', ), ) ); -
apply_filters( 'simpay_get_confirmation_data_payment_intent_args', array( 'customer' => $customer->id, 'limit' => 1 ) ); -
apply_filters( 'simpay_global_minimum_amount', $amount ); -
apply_filters( 'simpay_list_separator', ',' ); -
do_action( 'simpay_load_objects', $is_admin ); -
do_action( 'simpay_loaded' ); -
apply_filters( 'simpay_more_form_attributes', '' ); -
apply_filters( 'simpay_object_loader', ( $namespace . $class_name ), $type, $namespace, $class_name ); -
apply_filters( 'simpay_payment_button_class', $classes ); -
apply_filters( 'simpay_reconcile_stale_transactions_limit', 50 ); -
apply_filters( 'simpay_stripe_script_variables', array_merge( $strings, $bools ) ); -
apply_filters( 'simpay_upgrade_link', simpay_ga_url( 'https://wpsimplepay.com/lite-vs-pro/', $utm_medium, $utm_content ), $utm_medium, $utm_content );
Generated from Stripe Payment Forms by WP Simple Pay's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: