• Namespace
  • Class
  • Tree
  • Deprecated
  • Hook Reference

Namespaces

  • None
  • PaymentPlugins

Classes

  • PaymentPlugins\WC_Stripe_Admin_Meta_Box_Product_Data
  • PaymentPlugins\WC_Stripe_Admin_Notices
  • WC_Payment_Gateway_Stripe
  • WC_Payment_Gateway_Stripe_ACH
  • WC_Payment_Gateway_Stripe_Afterpay
  • WC_Payment_Gateway_Stripe_Alipay
  • WC_Payment_Gateway_Stripe_ApplePay
  • WC_Payment_Gateway_Stripe_Bancontact
  • WC_Payment_Gateway_Stripe_BECS
  • WC_Payment_Gateway_Stripe_Boleto
  • WC_Payment_Gateway_Stripe_CC
  • WC_Payment_Gateway_Stripe_EPS
  • WC_Payment_Gateway_Stripe_FPX
  • WC_Payment_Gateway_Stripe_Giropay
  • WC_Payment_Gateway_Stripe_GooglePay
  • WC_Payment_Gateway_Stripe_GrabPay
  • WC_Payment_Gateway_Stripe_Ideal
  • WC_Payment_Gateway_Stripe_Klarna
  • WC_Payment_Gateway_Stripe_Local_Payment
  • WC_Payment_Gateway_Stripe_Multibanco
  • WC_Payment_Gateway_Stripe_OXXO
  • WC_Payment_Gateway_Stripe_P24
  • WC_Payment_Gateway_Stripe_Payment_Request
  • WC_Payment_Gateway_Stripe_Sepa
  • WC_Payment_Gateway_Stripe_Sofort
  • WC_Payment_Gateway_Stripe_WeChat
  • WC_Payment_Token_Stripe
  • WC_Payment_Token_Stripe_ACH
  • WC_Payment_Token_Stripe_ApplePay
  • WC_Payment_Token_Stripe_CC
  • WC_Payment_Token_Stripe_GooglePay
  • WC_Payment_Token_Stripe_Local
  • WC_Payment_Token_Stripe_Sepa
  • WC_Stripe_Account_Settings
  • WC_Stripe_Admin_Assets
  • WC_Stripe_Admin_Menus
  • WC_Stripe_Admin_Order_Metaboxes
  • WC_Stripe_Admin_Settings
  • WC_Stripe_Admin_User_Edit
  • WC_Stripe_Advanced_Settings
  • WC_Stripe_API_Operation
  • WC_Stripe_API_Request_Filter
  • WC_Stripe_API_Settings
  • WC_Stripe_Constants
  • WC_Stripe_Controller_Cart
  • WC_Stripe_Controller_Checkout
  • WC_Stripe_Controller_Gateway_Settings
  • WC_Stripe_Controller_GooglePay
  • WC_Stripe_Controller_Order_Actions
  • WC_Stripe_Controller_Payment_Intent
  • WC_Stripe_Controller_Payment_Method
  • WC_Stripe_Controller_Plaid
  • WC_Stripe_Controller_Product_Data
  • WC_Stripe_Controller_Source
  • WC_Stripe_Controller_Webhook
  • WC_Stripe_Customer_Manager
  • WC_Stripe_Field_Manager
  • WC_Stripe_Frontend_Scripts
  • WC_Stripe_Gateway
  • WC_Stripe_Gateway_Conversion
  • WC_Stripe_Install
  • WC_Stripe_Manager
  • WC_Stripe_Payment
  • WC_Stripe_Payment_Balance
  • WC_Stripe_Payment_Charge
  • WC_Stripe_Payment_Charge_Local
  • WC_Stripe_Payment_Factory
  • WC_Stripe_Payment_Intent
  • WC_Stripe_Product_Gateway_Option
  • WC_Stripe_Product_Option
  • WC_Stripe_Redirect_Handler
  • WC_Stripe_Rest_API
  • WC_Stripe_Rest_Controller
  • WC_Stripe_Settings_API
  • WC_Stripe_Shortcode_Payment_Buttons
  • WC_Stripe_Shortcodes
  • WC_Stripe_Update
  • WC_Stripe_Utils

Traits

  • WC_Payment_Token_Payment_Method_Trait
  • WC_Payment_Token_Source_Trait
  • WC_Stripe_Controller_Cart_Trait
  • WC_Stripe_Controller_Frontend_Trait
  • WC_Stripe_Local_Payment_Charge_Trait
  • WC_Stripe_Local_Payment_Intent_Trait
  • WC_Stripe_Payment_Charge_Trait
  • WC_Stripe_Payment_Intent_Trait
  • WC_Stripe_Settings_Trait

Functions

  • stripe_wc
  • wc_stripe_add_allowed_html
  • wc_stripe_add_number_precision
  • wc_stripe_api_options
  • wc_stripe_available_payment_gateways
  • wc_stripe_charge_dispute_closed
  • wc_stripe_charge_dispute_created
  • wc_stripe_credit_card_labels
  • wc_stripe_delete_customer
  • wc_stripe_display_prices_including_tax
  • wc_stripe_filter_address_state
  • wc_stripe_filter_order_id
  • wc_stripe_get_account_id
  • wc_stripe_get_available_local_gateways
  • wc_stripe_get_checkout_fields
  • wc_stripe_get_currencies
  • wc_stripe_get_current_page
  • wc_stripe_get_custom_forms
  • wc_stripe_get_customer_id
  • wc_stripe_get_customer_payment_tokens
  • wc_stripe_get_display_items
  • wc_stripe_get_error_messages
  • wc_stripe_get_idempotency_key
  • wc_stripe_get_local_payment_params
  • wc_stripe_get_order_from_source_id
  • wc_stripe_get_order_from_transaction
  • wc_stripe_get_publishable_key
  • wc_stripe_get_secret_key
  • wc_stripe_get_shipping_options
  • wc_stripe_get_site_locale
  • wc_stripe_get_template
  • wc_stripe_get_template_html
  • wc_stripe_hidden_field
  • wc_stripe_log
  • wc_stripe_log_error
  • wc_stripe_log_info
  • wc_stripe_mode
  • wc_stripe_order_cancelled
  • wc_stripe_order_has_shipping_address
  • wc_stripe_order_mode
  • wc_stripe_order_status_completed
  • wc_stripe_output_checkout_error
  • wc_stripe_payment_complete_order_status
  • wc_stripe_payment_gateways
  • wc_stripe_payment_intent_field
  • wc_stripe_pre_orders_active
  • wc_stripe_process_charge_failed
  • wc_stripe_process_charge_succeeded
  • wc_stripe_process_create_refund
  • wc_stripe_process_payment_intent_succeeded
  • wc_stripe_process_shop_subscription_meta
  • wc_stripe_process_source_chargeable
  • wc_stripe_remove_number_precision
  • wc_stripe_remove_order_locks
  • wc_stripe_restore_cart
  • wc_stripe_restore_cart_after_product_checkout
  • wc_stripe_retry_source_chargeable
  • wc_stripe_review_closed
  • wc_stripe_review_opened
  • wc_stripe_save_customer
  • wc_stripe_set_checkout_error
  • wc_stripe_set_idempotency_key
  • wc_stripe_shipping_address_serviceable
  • wc_stripe_stash_cart
  • wc_stripe_stash_product_cart
  • wc_stripe_token_field
  • wc_stripe_update_customer_location
  • wc_stripe_update_option_3_3_13
  • wc_stripe_update_shipping_methods
  • wc_stripe_woocommerce_payment_token_deleted
  • wcs_stripe_active

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, Shortcodes, Core Classes

Template Files

HookTypeFile(s)
wc_stripe_applepay_button_type filter applepay-button.php

Core Functions

HookTypeFile(s)
wc_stripe_charge_failed_status filter wc-stripe-webhook-functions.php
wc_stripe_dispute_closed_order_status filter wc-stripe-webhook-functions.php
wc_stripe_dispute_created_order_status filter wc-stripe-webhook-functions.php
wc_stripe_filter_order_id filter wc-stripe-functions.php
wc_stripe_get_account_id filter wc-stripe-functions.php
wc_stripe_get_currencies filter wc-stripe-functions.php
wc_stripe_get_custom_forms filter wc-stripe-functions.php
wc_stripe_get_customer_id filter wc-stripe-functions.php
wc_stripe_get_error_messages filter wc-stripe-functions.php
wc_stripe_get_publishable_key filter wc-stripe-functions.php
wc_stripe_get_secret_key filter wc-stripe-functions.php
wc_stripe_get_shipping_options filter wc-stripe-functions.php
wc_stripe_get_site_locale filter wc-stripe-functions.php
wc_stripe_mode filter wc-stripe-functions.php
wc_stripe_payment_token_deleted_$TOKEN->GET_GATEWAY_ID action wc-stripe-functions.php
wc_stripe_review_opened_order_status filter wc-stripe-webhook-functions.php
wc_stripe_save_customer filter wc-stripe-functions.php
woocommerce_calculated_shipping action wc-stripe-functions.php

Core Classes

HookTypeFile(s)
wc_stripe_add_payment_method_success action abstract-wc-payment-gateway-stripe.php
wc_stripe_add_to_cart_response filter class-wc-stripe-controller-cart.php
wc_stripe_after_checkout_validation_notice filter class-wc-stripe-controller-checkout.php
wc_stripe_afterpay_get_required_parameters filter class-wc-payment-gateway-stripe-afterpay.php
wc_stripe_afterpay_message_options filter class-wc-payment-gateway-stripe-afterpay.php
wc_stripe_afterpay_supported_locales filter class-wc-payment-gateway-stripe-afterpay.php
wc_stripe_api_controllers filter class-wc-stripe-rest-api.php
wc_stripe_api_options filter class-wc-stripe-gateway.php
wc_stripe_api_request_args filter class-wc-stripe-api-operation.php
wc_stripe_api_request_error_message filter class-wc-stripe-gateway.php
wc_stripe_apple_pay_domain filter class-wc-stripe-controller-gateway-settings.php
wc_stripe_asyncronous_payment_method_$THIS->PAYMENT_METHOD->ID filter class-wc-stripe-payment-intent.php
wc_stripe_authorized_order_status filter abstract-wc-stripe-payment.php
wc_stripe_authorized_preorder_order_status filter abstract-wc-payment-gateway-stripe.php
wc_stripe_authorized_renewal_order_status filter abstract-wc-payment-gateway-stripe.php
wc_stripe_before_process_payment action abstract-wc-payment-gateway-stripe.php
wc_stripe_cart_buttons_order filter class-wc-stripe-field-manager.php
wc_stripe_cart_payment_methods filter class-wc-stripe-field-manager.php
wc_stripe_cc_element_style filter class-wc-payment-gateway-stripe-cc.php
wc_stripe_cc_form_options filter class-wc-payment-gateway-stripe-cc.php
wc_stripe_cc_icon_template_args filter class-wc-payment-gateway-stripe-cc.php
wc_stripe_cc_show_save_source filter class-wc-payment-gateway-stripe-cc.php
wc_stripe_charge_order_args filter class-wc-stripe-payment-charge.php
wc_stripe_create_customer_args filter class-wc-stripe-gateway.php
wc_stripe_customer_args filter class-wc-stripe-customer-manager.php
wc_stripe_force_save_payment_method filter class-wc-stripe-payment-charge.php, class-wc-stripe-payment-intent.php
wc_stripe_form_fields_$THIS->ID filter abstract-wc-payment-gateway-stripe-local-payment.php, abstract-wc-payment-gateway-stripe.php
wc_stripe_gateway_class filter class-wc-stripe-gateway.php
wc_stripe_get_$THIS->OBJECT_TYPE_json filter abstract-wc-payment-token-stripe.php
wc_stripe_get_card_custom_field_options filter class-wc-payment-gateway-stripe-cc.php
wc_stripe_get_customer_attribute_keys filter class-wc-stripe-customer-manager.php
wc_stripe_get_display_items filter abstract-wc-payment-gateway-stripe.php
wc_stripe_get_element_options filter abstract-wc-payment-gateway-stripe.php
wc_stripe_get_formatted_shipping_methods filter abstract-wc-payment-gateway-stripe.php
wc_stripe_get_local_token_formats filter class-wc-payment-token-stripe-local-payment.php
wc_stripe_get_source_args filter abstract-wc-payment-gateway-stripe-local-payment.php
wc_stripe_get_token_formats filter class-wc-payment-token-stripe-ach.php, class-wc-payment-token-stripe-cc.php
wc_stripe_googlepay_get_button_locale filter class-wc-payment-gateway-stripe-googlepay.php
wc_stripe_googlepay_paymentdata_response filter class-wc-stripe-controller-googlepay.php
wc_stripe_googlepay_supported_button_locales filter class-wc-payment-gateway-stripe-googlepay.php
wc_stripe_klarna_get_required_parameters filter class-wc-payment-gateway-stripe-klarna.php
wc_stripe_local_payment_available filter abstract-wc-payment-gateway-stripe-local-payment.php
wc_stripe_local_payment_description filter abstract-wc-payment-gateway-stripe-local-payment.php
wc_stripe_localize_$CURRENT_SECTION_settings action class-wc-stripe-admin-assets.php
wc_stripe_localize_$WC_STRIPE_SUBSECTION_settings action class-wc-stripe-admin-assets.php
wc_stripe_localize_script_$NAME filter class-wc-stripe-frontend-scripts.php
wc_stripe_mini_cart_dependencies filter abstract-wc-payment-gateway-stripe.php, class-wc-payment-gateway-stripe-afterpay.php
wc_stripe_mini_cart_payment_methods filter class-wc-stripe-field-manager.php
wc_stripe_order_button_text filter abstract-wc-payment-gateway-stripe-local-payment.php
wc_stripe_order_failed_note filter abstract-wc-stripe-payment.php
wc_stripe_order_meta_data filter abstract-wc-stripe-payment.php
wc_stripe_order_payment_complete action abstract-wc-stripe-payment.php
wc_stripe_output_checkout_fields action class-wc-stripe-field-manager.php
wc_stripe_output_display_items filter abstract-wc-payment-gateway-stripe.php
wc_stripe_payment_classes filter class-wc-stripe-payment-factory.php
wc_stripe_payment_gateways filter class-stripe.php
wc_stripe_payment_intent_args filter class-wc-stripe-payment-intent.php
wc_stripe_payment_intent_capture_args filter class-wc-stripe-payment-intent.php
wc_stripe_payment_intent_confirmation_args filter class-wc-stripe-payment-intent.php
wc_stripe_payment_intent_retrieve_args filter class-wc-stripe-payment-intent.php
wc_stripe_payment_method_title filter abstract-wc-payment-token-stripe.php
wc_stripe_pending_charge_status filter abstract-wc-stripe-payment.php
wc_stripe_process_payment_error action abstract-wc-payment-gateway-stripe.php
wc_stripe_product_payment_methods filter class-wc-stripe-field-manager.php
wc_stripe_refund_args filter abstract-wc-stripe-payment.php
wc_stripe_rest_api_class filter class-stripe.php
wc_stripe_rest_process_checkout action class-wc-stripe-controller-checkout.php
wc_stripe_save_order_meta action abstract-wc-payment-gateway-stripe.php
wc_stripe_set_order_lock filter abstract-wc-payment-gateway-stripe.php
wc_stripe_setting_classes filter class-stripe.php
wc_stripe_settings_before_options_$CURRENT_SECTION_$WC_STRIPE_SUBSECTION action class-wc-stripe-admin-settings.php
wc_stripe_setup_intent_params filter class-wc-payment-gateway-stripe-cc.php
wc_stripe_shortcode_function filter class-wc-stripe-shortcodes.php
wc_stripe_should_save_payment_method filter abstract-wc-payment-gateway-stripe.php
wc_stripe_update_customer_args filter class-wc-stripe-customer-manager.php
wc_stripe_update_shipping_address_response filter abstract-wc-payment-gateway-stripe.php
wc_stripe_update_shipping_method_response filter class-wc-stripe-controller-cart.php
wc_stripe_webhook_$TYPE action class-wc-stripe-controller-webhook.php
wc_stripe_webhook_response filter class-wc-stripe-controller-webhook.php
wc_stripe_webhook_signature_tolerance filter class-wc-stripe-controller-webhook.php
woocommerce_ajax_get_endpoint filter class-wc-stripe-rest-api.php
woocommerce_settings_api_sanitized_fields_$THIS->ID filter wc-stripe-settings-trait.php
woocommerce_stripe_settings_checkout_$CURRENT_SECTION action class-wc-stripe-admin-settings.php
woocommerce_stripe_settings_checkout_$CURRENT_SECTION_$WC_STRIPE_SUBSECTION action class-wc-stripe-admin-settings.php
woocommerce_update_options_checkout_$CURRENT_SECTION action class-wc-stripe-admin-settings.php
woocommerce_update_options_checkout_$CURRENT_SECTION_$WC_STRIPE_SUBSECTION action class-wc-stripe-admin-settings.php
Stripe API documentation generated by ApiGen