Action and Filter Hook Reference

This is simply a list of action and filter hooks found within the Stripe plugin files. View the source to see supported params and usage.

Template Files, Core Functions, Core Classes

Template Files

HookTypeFile(s)
wc_stripe_applepay_button_type filter applepay-button.php:9

Core Functions

HookTypeFile(s)
wc_stripe_after_get_checkout_fields action wc-stripe-functions.php:1289
wc_stripe_charge_failed_status filter wc-stripe-webhook-functions.php:191
wc_stripe_dispute_closed_order_status filter wc-stripe-webhook-functions.php:341
wc_stripe_dispute_created_order_status filter wc-stripe-webhook-functions.php:301
wc_stripe_filter_order_id filter wc-stripe-functions.php:1228
wc_stripe_get_account_id filter wc-stripe-functions.php:124
wc_stripe_get_currencies filter wc-stripe-functions.php:1188
wc_stripe_get_custom_forms filter wc-stripe-functions.php:740
wc_stripe_get_customer_id filter wc-stripe-functions.php:151
wc_stripe_get_error_messages filter wc-stripe-functions.php:1086
wc_stripe_get_publishable_key filter wc-stripe-functions.php:114
wc_stripe_get_secret_key filter wc-stripe-functions.php:100
wc_stripe_get_shipping_options filter wc-stripe-functions.php:471
wc_stripe_get_site_locale filter wc-stripe-functions.php:1362
wc_stripe_mode filter wc-stripe-functions.php:82
wc_stripe_order_cancelled_enabled filter wc-stripe-functions.php:287
wc_stripe_payment_token_deleted_$TOKEN->GET_GATEWAY_ID action wc-stripe-functions.php:194
wc_stripe_review_opened_order_status filter wc-stripe-webhook-functions.php:367
wc_stripe_save_customer filter wc-stripe-functions.php:164
woocommerce_calculated_shipping action wc-stripe-functions.php:363

Core Classes

HookTypeFile(s)
wc_$THIS->ID_show_save_source filter abstract-wc-payment-gateway-stripe.php:2055
wc_stripe_ach_get_mandate_text filter class-wc-payment-gateway-stripe-ach.php:223
wc_stripe_add_payment_method_success action abstract-wc-payment-gateway-stripe.php:598
wc_stripe_add_to_cart_response filter class-wc-stripe-controller-cart.php:244
wc_stripe_admin_section_$SECTION action class-wc-stripe-admin-menus.php:29
wc_stripe_affirm_get_required_parameters filter class-wc-payment-gateway-stripe-affirm.php:56
wc_stripe_after_checkout_validation_notice filter class-wc-stripe-controller-checkout.php:276
wc_stripe_afterpay_get_required_parameters filter class-wc-payment-gateway-stripe-afterpay.php:457
wc_stripe_afterpay_message_options filter class-wc-payment-gateway-stripe-afterpay.php:543
wc_stripe_afterpay_supported_locales filter class-wc-payment-gateway-stripe-afterpay.php:513
wc_stripe_api_connection_test_success action class-wc-stripe-controller-gateway-settings.php:300
wc_stripe_api_controllers filter class-wc-stripe-rest-api.php:102
wc_stripe_api_get_wp_error filter class-wc-stripe-gateway.php:472
wc_stripe_api_options filter class-wc-stripe-gateway.php:409
wc_stripe_api_request_args filter class-wc-stripe-api-operation.php:92
wc_stripe_api_request_error_message filter class-wc-stripe-gateway.php:455
wc_stripe_apple_pay_domain filter class-wc-stripe-controller-gateway-settings.php:104
wc_stripe_asynchronous_payment_method_order_status filter class-wc-stripe-payment-intent.php:103
wc_stripe_authorized_order_status filter abstract-wc-stripe-payment.php:117
wc_stripe_authorized_preorder_order_status filter abstract-wc-payment-gateway-stripe.php:1481
wc_stripe_authorized_renewal_order_status filter abstract-wc-payment-gateway-stripe.php:1249
wc_stripe_before_process_payment action abstract-wc-payment-gateway-stripe.php:405
wc_stripe_can_update_payment_intent filter class-wc-stripe-payment-intent.php:306
wc_stripe_capture_charge_failed filter abstract-wc-payment-gateway-stripe.php:676
wc_stripe_cart_buttons_order filter class-wc-stripe-field-manager.php:28
wc_stripe_cart_calculation_response filter class-wc-stripe-controller-cart.php:287
wc_stripe_cart_payment_methods filter class-wc-stripe-field-manager.php:131
wc_stripe_cc_element_style filter class-wc-payment-gateway-stripe-cc.php:147
wc_stripe_cc_form_options filter class-wc-payment-gateway-stripe-cc.php:110
wc_stripe_cc_icon_template_args filter class-wc-payment-gateway-stripe-cc.php:44
wc_stripe_charge_order_args filter class-wc-stripe-payment-charge.php:153
wc_stripe_charge_pending_order_status filter class-wc-stripe-payment-intent.php:89
wc_stripe_client_config_params filter class-wc-stripe-gateway.php:99
wc_stripe_create_customer_args filter class-wc-stripe-gateway.php:142
wc_stripe_create_setup_intent_params filter class-wc-stripe-controller-payment-intent.php:102
wc_stripe_customer_args filter class-wc-stripe-customer-manager.php:77
wc_stripe_customer_order_args filter class-wc-stripe-customer-manager.php:297
wc_stripe_express_payment_methods filter class-wc-stripe-field-manager.php:42
wc_stripe_force_save_payment_method filter class-wc-stripe-payment-charge.php, class-wc-stripe-payment-intent.php:23
wc_stripe_form_fields_$THIS->ID filter abstract-wc-payment-gateway-stripe-local-payment.php, abstract-wc-payment-gateway-stripe.php:86
wc_stripe_gateway_class filter class-wc-stripe-gateway.php:119
wc_stripe_get_$THIS->OBJECT_TYPE_json filter abstract-wc-payment-token-stripe.php:138
wc_stripe_get_card_custom_field_options filter class-wc-payment-gateway-stripe-cc.php:124
wc_stripe_get_customer_attribute_keys filter class-wc-stripe-customer-manager.php:250
wc_stripe_get_display_items filter abstract-wc-payment-gateway-stripe.php:1022
wc_stripe_get_element_options filter abstract-wc-payment-gateway-stripe.php, wc-stripe-payment-traits.php, class-wc-payment-gateway-stripe-cc.php:2026
wc_stripe_get_formatted_shipping_methods filter abstract-wc-payment-gateway-stripe.php:1859
wc_stripe_get_local_token_formats filter class-wc-payment-token-stripe-local-payment.php:35
wc_stripe_get_new_method_label filter abstract-wc-payment-gateway-stripe.php:916
wc_stripe_get_saved_methods_label filter abstract-wc-payment-gateway-stripe.php:920
wc_stripe_get_source_args filter abstract-wc-payment-gateway-stripe-local-payment.php:242
wc_stripe_get_token_formats filter class-wc-payment-token-stripe-ach.php, class-wc-payment-token-stripe-cc.php:80
wc_stripe_googlepay_get_button_locale filter class-wc-payment-gateway-stripe-googlepay.php:257
wc_stripe_googlepay_paymentdata_response filter class-wc-stripe-controller-googlepay.php:91
wc_stripe_googlepay_supported_button_locales filter class-wc-payment-gateway-stripe-googlepay.php:265
wc_stripe_klarna_get_required_parameters filter class-wc-payment-gateway-stripe-klarna.php:156
wc_stripe_local_payment_available filter abstract-wc-payment-gateway-stripe-local-payment.php:339
wc_stripe_local_payment_description filter abstract-wc-payment-gateway-stripe-local-payment.php:385
wc_stripe_localize_$CURRENT_SECTION_settings action class-wc-stripe-admin-assets.php:114
wc_stripe_localize_$WC_STRIPE_SUBSECTION_settings action class-wc-stripe-admin-assets.php:122
wc_stripe_localize_script_$NAME filter class-wc-stripe-frontend-scripts.php:190
wc_stripe_mini_cart_dependencies filter abstract-wc-payment-gateway-stripe.php, class-wc-payment-gateway-stripe-afterpay.php:386
wc_stripe_mini_cart_payment_methods filter class-wc-stripe-field-manager.php:155
wc_stripe_order_button_text filter abstract-wc-payment-gateway-stripe-local-payment.php:396
wc_stripe_order_failed_note filter abstract-wc-stripe-payment.php:351
wc_stripe_order_meta_data filter abstract-wc-stripe-payment.php:268
wc_stripe_order_payment_complete action abstract-wc-stripe-payment.php:128
wc_stripe_output_checkout_fields action class-wc-stripe-field-manager.php:52
wc_stripe_output_display_items filter abstract-wc-payment-gateway-stripe.php:1635
wc_stripe_payment_classes filter class-wc-stripe-payment-factory.php:26
wc_stripe_payment_gateways filter class-stripe.php:294
wc_stripe_payment_intent_args filter class-wc-stripe-payment-intent.php:384
wc_stripe_payment_intent_capture_args filter class-wc-stripe-payment-intent.php:410
wc_stripe_payment_intent_confirmation_args filter class-wc-stripe-payment-intent.php:59
wc_stripe_payment_intent_retrieve_args filter class-wc-stripe-payment-intent.php:484
wc_stripe_payment_method_title filter abstract-wc-payment-token-stripe.php:91
wc_stripe_pending_charge_status filter abstract-wc-stripe-payment.php:108
wc_stripe_pending_preorder_order_status filter abstract-wc-payment-gateway-stripe.php:1474
wc_stripe_process_payment_error action abstract-wc-payment-gateway-stripe.php:753
wc_stripe_process_redirect_$CONTEXT filter class-wc-stripe-redirect-handler.php:230
wc_stripe_process_refund_success action abstract-wc-stripe-payment.php:170
wc_stripe_product_payment_methods filter class-wc-stripe-field-manager.php:103
wc_stripe_refund_args filter abstract-wc-stripe-payment.php:153
wc_stripe_renewal_pending_order_status filter abstract-wc-payment-gateway-stripe.php:1242
wc_stripe_rest_api_class filter class-stripe.php:336
wc_stripe_rest_process_checkout action class-wc-stripe-controller-checkout.php:86
wc_stripe_save_order_meta action abstract-wc-payment-gateway-stripe.php:541
wc_stripe_set_order_lock filter abstract-wc-payment-gateway-stripe.php:1408
wc_stripe_setting_classes filter class-stripe.php:344
wc_stripe_settings_before_options_$CURRENT_SECTION_$WC_STRIPE_SUBSECTION action class-wc-stripe-admin-settings.php:81
wc_stripe_setup_intent_params filter wc-stripe-payment-traits.php:307
wc_stripe_shortcode_function filter class-wc-stripe-shortcodes.php:18
wc_stripe_should_save_payment_method filter abstract-wc-payment-gateway-stripe.php:985
wc_stripe_update_admin_options action wc-stripe-settings-trait.php:209
wc_stripe_update_customer_args filter class-wc-stripe-customer-manager.php:87
wc_stripe_update_setup_intent_params filter wc-stripe-payment-traits.php:291
wc_stripe_update_shipping_address_response filter class-wc-stripe-controller-cart.php:184
wc_stripe_update_shipping_method_response filter class-wc-stripe-controller-cart.php:128
wc_stripe_webhook_$TYPE action class-wc-stripe-controller-webhook.php:68
wc_stripe_webhook_response filter class-wc-stripe-controller-webhook.php:70
wc_stripe_webhook_signature_tolerance filter class-wc-stripe-controller-webhook.php:60
woocommerce_ajax_get_endpoint filter class-wc-stripe-rest-api.php:170
woocommerce_settings_api_sanitized_fields_$THIS->ID filter wc-stripe-settings-trait.php:211
woocommerce_stripe_settings_checkout_$CURRENT_SECTION action class-wc-stripe-admin-settings.php:21
woocommerce_stripe_settings_checkout_$CURRENT_SECTION_$WC_STRIPE_SUBSECTION action class-wc-stripe-admin-settings.php:44
woocommerce_update_options_checkout_$CURRENT_SECTION action class-wc-stripe-admin-settings.php:66
woocommerce_update_options_checkout_$CURRENT_SECTION_$WC_STRIPE_SUBSECTION action class-wc-stripe-admin-settings.php:60

Search results