Marketing 360® Payments for WooCommerce 2.0.2 has 29 actions and 54 filters, read directly from its source code on Nov 19, 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 Marketing 360® Payments for WooCommerce fires an action
add_action( 'wc_gateway_stripe_process_payment_authentication_required', function( $renewal_order ) {
// Your code runs here.
}, 10, 1 );
// Change a value Marketing 360® Payments for WooCommerce is about to use
add_filter( 'wc_stripe_generate_create_intent_request', function( $request, $order, $prepared_source ) {
// Change $request here.
return $request;
}, 10, 3 );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
-
wc_gateway_stripe_process_payment_authentication_required
action Used by 5 plugins → Copy link Customise this hook/** * A payment attempt failed because SCA authentication is required. */ do_action( 'wc_gateway_stripe_process_payment_authentication_required', $renewal_order ); -
/** * Shows customer details, and email address. */ do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email ); -
/** * Output the email header. */ do_action( 'woocommerce_email_header', $email_heading, $email ); -
/** * Shows the order details table. */ do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email ); -
/** * Shows order meta data. */ do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email ); -
/** * Filter the return value of the * WC_Payment_Gateway_CC::generate_create_intent_request. */ apply_filters( 'wc_stripe_generate_create_intent_request', $request, $order, $prepared_source ); -
/** * Filter the return value of the * WC_Payment_Gateway_CC::generate_payment_request. */ apply_filters( 'wc_stripe_generate_payment_request', $post_data, $order, $prepared_source ); -
wc_gateway_stripe_process_webhook_payment_error
action Used by 2 plugins → Copy link Customise this hookdo_action( 'wc_gateway_stripe_process_webhook_payment_error', $order, $notification, $e ); -
apply_filters( 'wc_stripe_allow_prepaid_card', true ); -
woocommerce_subscriptions_email_order_details
action Used by 10 plugins → Copy link Customise this hookdo_action( 'woocommerce_subscriptions_email_order_details', $order, $sent_to_admin, $plain_text, $email ); -
do_action( 'wc_gateway_stripe_process_payment', $charge, $order ); -
do_action( 'wc_gateway_stripe_process_payment_error', $e, $order ); -
apply_filters( 'wc_stripe_idempotency_key', $request['metadata']['order_id'] . '-' . $source, $request ); -
wc_stripe_update_subs_payment_method_card_statuses
filter Used by 3 plugins → Copy link Customise this hookapply_filters( 'wc_stripe_update_subs_payment_method_card_statuses', array( 'active' ) ); -
apply_filters( 'wc_stripe_use_default_customer_source', true ); -
wc_stripe_webhook_review_change_order_status
filter Used by 2 plugins → Copy link Customise this hookapply_filters( 'wc_stripe_webhook_review_change_order_status', true, $order, $notification ); -
apply_filters( 'woocommerce_stripe_request_body', $request, $api ); -
do_action( 'wc_gateway_stripe_process_redirect_payment', $response, $order ); -
wc_gateway_stripe_process_redirect_payment_error
action Used by 3 plugins → Copy link Customise this hookdo_action( 'wc_gateway_stripe_process_redirect_payment_error', $e, $order ); -
do_action( 'wc_gateway_stripe_process_response', $response, $order ); -
do_action( 'wc_gateway_stripe_process_webhook_payment', $response, $order ); -
apply_filters( 'wc_m360_payments_settings', array( 'account_details' => array( 'title' => __('Connect to Marketing 360®', 'marketing-360-payments-for-woocommerce'), 'type' => 'api_connection', 'default' => '', ), 'enabled' => array( 'title' => __('Enable/Disable', 'marketing-360-payments-for-woocommerce'), 'label' => __('Enable Marketing 360® Payments', 'marketing-360-payments-for-woocommerce'), 'type' => 'checkbox', 'description' => '... ); -
wc_stripe_add_payment_method_{$_POST['payment_method']}_success
action Copy link Customise this hookdo_action( "wc_stripe_add_payment_method_{$_POST['payment_method']}_success", $source_id, $source_object ); -
do_action( 'wc_stripe_cards_payment_fields', $this->id ); -
wc_stripe_change_subs_payment_method_success
action Used by 2 plugins → Copy link Customise this hookdo_action( 'wc_stripe_change_subs_payment_method_success', $prepared_source->source, $prepared_source ); -
apply_filters( 'wc_stripe_create_customer_args', $args ); -
apply_filters( 'wc_stripe_customer_metadata', $metadata, $user ); -
do_action( 'wc_stripe_delete_source', $this->get_id(), $response ); -
apply_filters( 'wc_stripe_description', wpautop(wp_kses_post($description)), $this->id ); -
wc_stripe_display_save_payment_method_checkbox
filter Used by 2 plugins → Copy link Customise this hookapply_filters( 'wc_stripe_display_save_payment_method_checkbox', $display_tokenization ); -
wc_stripe_display_update_subs_payment_method_card_checkbox
filter Used by 3 plugins → Copy link Customise this hookapply_filters( 'wc_stripe_display_update_subs_payment_method_card_checkbox', true ); -
apply_filters( 'wc_stripe_elements_classes', false ); -
apply_filters( 'wc_stripe_elements_options', array() ); -
apply_filters( 'wc_stripe_elements_styling', false ); -
apply_filters( 'wc_stripe_force_save_source', $force_save_source, $customer ); -
apply_filters( 'wc_stripe_hide_display_order_fee', false, $order_id ); -
apply_filters( 'wc_stripe_hide_display_order_payout', false, $order_id ); -
wc_stripe_hide_payment_request_on_product_page
filter Used by 2 plugins → Copy link Customise this hookapply_filters( 'wc_stripe_hide_payment_request_on_product_page', false, $post ); -
apply_filters( 'wc_stripe_localized_messages', array( 'invalid_number' => __( 'The card number is not a valid credit card number.', 'marketing-360-payments-for-woocommerce' ), 'invalid_expiry_month' => __( 'The card\'s expiration month is invalid.', 'marketing-360-payments-for-woocommerce' ), 'invalid_expiry_year' => __( 'The card\'s expiration year is invalid.', 'marketing-360-payments-for-woocommerce' ), 'invalid_cvc' => __( 'The card\'s ... ); -
apply_filters( 'wc_stripe_logging', true, $message ); -
apply_filters( 'wc_stripe_owner_details', $details, $order ); -
apply_filters( 'wc_stripe_params', $stripe_params ); -
apply_filters( 'wc_stripe_payment_icons', array( 'visa' => '<img src="' . WC_M360_PAYMENTS_PLUGIN_URL . '/assets/images/visa.svg" class="stripe-visa-icon stripe-icon" alt="Visa" />', 'amex' => '<img src="' . WC_M360_PAYMENTS_PLUGIN_URL . '/assets/images/amex.svg" class="stripe-amex-icon stripe-icon" alt="American Express" />', 'mastercard' => '<img src="' . WC_M360_PAYMENTS_PLUGIN_URL . '/assets/images/mastercard.svg" class="stripe-mas... ); -
apply_filters( 'wc_stripe_payment_metadata', $metadata, $order, $prepared_source ); -
wc_stripe_payment_request_add_to_cart_sold_individually_quantity
filter Used by 2 plugins → Copy link Customise this hookapply_filters( 'wc_stripe_payment_request_add_to_cart_sold_individually_quantity', 1, $qty, $product_id, $variation_id ); -
apply_filters( 'wc_stripe_payment_request_button_locale', substr(get_locale(), 0, 2) ); -
apply_filters( 'wc_stripe_payment_request_hide_itemization', true ); -
apply_filters( 'wc_stripe_payment_request_params', $stripe_params ); -
apply_filters( 'wc_stripe_payment_request_product_data', $data, $product ); -
wc_stripe_payment_request_shipping_posted_values
filter Used by 2 plugins → Copy link Customise this hookapply_filters( 'wc_stripe_payment_request_shipping_posted_values', $shipping_address ); -
apply_filters( 'wc_stripe_payment_request_supported_types', array( 'simple', 'variable', 'variation', 'subscription', 'variable-subscription', 'subscription_variation', 'booking', 'bundle', 'composite', 'mix-and-match', ) ); -
apply_filters( 'wc_stripe_payment_request_total_label', $this->total_label ); -
wc_stripe_payment_request_total_label_suffix
filter Used by 2 plugins → Copy link Customise this hookapply_filters( 'wc_stripe_payment_request_total_label_suffix', ' (via WooCommerce)' ); -
apply_filters( 'wc_stripe_privacy_eraser_subs_statuses', array( 'on-hold', 'active' ) ); -
apply_filters( 'wc_stripe_refund_request', $request, $order ); -
apply_filters( 'wc_stripe_save_to_account_text', __( 'Save payment information to my account for future purchases.', 'marketing-360-payments-for-woocommerce' ) ); -
apply_filters( 'wc_stripe_save_to_subs_checked', false ); -
apply_filters( 'wc_stripe_save_to_subs_text', __( 'Update the Payment Method used for all of my active subscriptions.', 'marketing-360-payments-for-woocommerce' ) ); -
apply_filters( 'wc_stripe_send_stripe_receipt', false ); -
apply_filters( 'wc_stripe_sepa_elements_options', array( 'supportedCountries' => array( 'SEPA' ), 'placeholderCountry' => WC()->countries->get_base_country(), 'style' => array( 'base' => array( 'fontSize' => '15px' ) ), ) ); -
apply_filters( 'wc_stripe_sepa_mandate_notification', 'email' ); -
do_action( 'wc_stripe_set_default_source', $this->get_id(), $response ); -
apply_filters( 'wc_stripe_show_payment_request_on_cart', true ); -
apply_filters( 'wc_stripe_supported_countries', array( 'AT', 'AU', 'BE', 'BR', 'CA', 'CH', 'DE', 'DK', 'EE', 'ES', 'FI', 'FR', 'GB', 'HK', 'IE', 'IN', 'IT', 'JP', 'LT', 'LU', 'LV', 'MX', 'NL', 'NZ', 'NO', 'PH', 'PL', 'PR', 'PT', 'RO', 'SE', 'SG', 'SK', 'US' ) ); -
apply_filters( 'wc_stripe_update_customer_args', $args ); -
apply_filters( 'woocommerce_add_to_cart_quantity', absint($_POST['qty']), $product_id ); -
apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key ); -
apply_filters( 'woocommerce_cart_shipping_packages', $packages ); -
do_action( 'woocommerce_credit_card_form_end', $this->id ); -
do_action( 'woocommerce_credit_card_form_start', $this->id ); -
do_action( 'woocommerce_email_after_order_table', $order, false, $plain_text, $email ); -
do_action( 'woocommerce_email_before_order_table', $order, false, $plain_text, $email ); -
apply_filters( 'woocommerce_gateway_icon', $icons_str, $this->id ); -
do_action( 'woocommerce_stripe_add_customer', $args, $response ); -
do_action( 'woocommerce_stripe_add_source', $this->get_id(), $wc_token, $response, $source_id ); -
apply_filters( 'woocommerce_stripe_calculated_total', WC_Stripe_Helper::get_stripe_amount($order_total), $order_total, WC()->cart ); -
do_action( 'woocommerce_stripe_process_manual_cancel', $order ); -
do_action( 'woocommerce_stripe_process_manual_capture', $order, $result ); -
apply_filters( 'woocommerce_stripe_request_headers', array_merge( Marketing_360_Payments::get_m360_payments_request_headers($token), [ 'Stripe-Version' => self::STRIPE_API_VERSION, 'User-Agent' => $app_info['name'] . '/' . $app_info['version'] . ' (' . $app_info['url'] . ')', 'X-Stripe-Client-User-Agent' => json_encode($user_agent), ] ) ); -
do_action( 'woocommerce_stripe_update_customer', $args, $response ); -
do_action( 'woocommerce_stripe_updated' );
Generated from Marketing 360® Payments for WooCommerce'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: