FunnelKit Payment Gateway with PayPal for WooCommerce 1.1.2 has 20 actions and 85 filters, read directly from its source code on Nov 18, 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 FunnelKit Payment Gateway with PayPal for WooCommerce fires an action
add_action( 'fkwcppcp_payment_methods_registration', function( $arg1, $arg2 ) {
// Your code runs here.
}, 10, 2 );
// Change a value FunnelKit Payment Gateway with PayPal for WooCommerce is about to use
add_filter( 'fkwcppcp_honor_order_intent', function( $value, $order_intent, $setting_intent, $order, $order_details ) {
// Change $value here.
return $value;
}, 10, 5 );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 whether to honor the PayPal order's own intent when it diverges from * the store's transaction-type setting. */ apply_filters( 'fkwcppcp_honor_order_intent', true, $order_intent, $setting_intent, $order, $order_details ); -
/** * Filters the label of the line item added to absorb rounding drift. */ apply_filters( 'fkwcppcp_rounding_line_item_name', '' ); -
/** * This filter is documented below in the non-synced branch. */ apply_filters( 'fkwcppcp_sublium_use_checkout_plan', false, $sublium_cart_item ); -
/** * Filters the resolved ACDC vetting status. */ apply_filters( 'fkwcppcp_acdc_vetting_status', strtoupper( $status ) ); -
/** * Filter the line items shown inside the Apple Pay sheet. */ apply_filters( 'fkwcppcp_apple_pay_line_items', $items, $response ); -
/** * Whether a fully refunded parent order should cancel its subscription. */ apply_filters( 'fkwcppcp_cancel_subscription_on_parent_refund', true, $subscription, $order ); -
/** * Filter the final 3-D Secure decision before the gateway acts on it. Lets a * downstream rule engine override per-cart. */ apply_filters( 'fkwcppcp_card_3ds_post_auth_decision', $decision, $auth, $strict ); -
/** * Override the implicit-vault decision for the current cart. */ apply_filters( 'fkwcppcp_card_force_vault_for_cart', $force_vault, WC()->cart ); -
/** * Filters the express standalone-card order payload before it is sent to * PayPal's /v2/checkout/orders endpoint. Mirrors the ACDC * `fkwcppcp_card_create_order_payload` filter so the express card body is * filterable too. */ apply_filters( 'fkwcppcp_express_card_create_order_payload', $data, $data ); -
/** * Filter whether the express PayPal window updates shipping options. */ apply_filters( 'fkwcppcp_express_popup_shipping_enabled', $enabled ); -
/** * Filter whether express submits skip the on-page reCaptcha check. */ apply_filters( 'fkwcppcp_express_skip_captcha', true ); -
/** * Filter the order meta keys searched for a foreign plugin's capture id. */ apply_filters( 'fkwcppcp_foreign_paypal_capture_meta_keys', array( '_ppcp_capture_id', '_paypal_capture_id', ) ); -
/** * Filter the PayPal gateway ids treated as "another plugin's PayPal orders". */ apply_filters( 'fkwcppcp_foreign_paypal_gateway_ids', array( 'ppcp-gateway', 'ppcp-credit-card-gateway', 'ppcp-card-button-gateway', 'ppcp', 'ppcp_card', 'angelleye_ppcp', 'angelleye_ppcp_cc', 'ppec_paypal', ) ); -
/** * Filter the order meta keys searched for a foreign plugin's PayPal order id. */ apply_filters( 'fkwcppcp_foreign_paypal_order_id_meta_keys', array( '_ppcp_paypal_order_id', '_paypal_order_id', '_ppcp_order_id', ) ); -
/** * Filter the webhook id used to verify an intercepted foreign webhook. */ apply_filters( 'fkwcppcp_foreign_webhook_id_for_route', $webhook_id, $route ); -
/** * Filter the display items shown inside the Google Pay sheet. Use to relabel, * reorder, merge product lines, or inject a custom row. */ apply_filters( 'fkwcppcp_google_pay_display_items', $items, $response ); -
/** * Filter the list of two-letter country codes where Google Pay is offered. Use * to narrow further or to add a country PayPal has since rolled out to. */ apply_filters( 'fkwcppcp_google_pay_supported_countries', $countries ); -
/** * Filter whether to back-fill line items on payloads that arrive without them. */ apply_filters( 'fkwcppcp_itemise_purchase_units_from_order', true, $data ); -
/** * Filter the carriers offered in the PayPal Package Tracking box. */ apply_filters( 'fkwcppcp_package_tracking_carriers', $groups ); -
/** * Filter the data attributes emitted on a Pay Later message container. */ apply_filters( 'fkwcppcp_paylater_message_attributes', $attrs, $placement, $amount ); -
/** * Fires so additional gateway factories can register themselves into our * PaymentMethodRegistry. Listeners MUST hook earlier than plugins_loaded @ 5. */ do_action( 'fkwcppcp_payment_methods_registration', self::$container->get( PaymentMethodRegistry::class ), self::$container ); -
/** * Filters the PayPal item(s) one cart line is sent as. */ apply_filters( 'fkwcppcp_paypal_cart_line_items', array( $line_item ), $cart_item, $line_subtotal ); -
/** * Customise the buyer-facing decline message surfaced on the checkout / * order-pay form when an authorization or capture is rejected by PayPal. */ apply_filters( 'fkwcppcp_paypal_decline_message', $message, $kind, $status, $code, $details ); -
/** * Filter the gateway id => owning plugin map. */ apply_filters( 'fkwcppcp_paypal_gateway_owners', array( 'ppcp-gateway' => 'woocommerce-paypal-payments', 'ppcp-credit-card-gateway' => 'woocommerce-paypal-payments', 'ppcp-card-button-gateway' => 'woocommerce-paypal-payments', 'ppcp-applepay' => 'woocommerce-paypal-payments', 'ppcp-googlepay' => 'woocommerce-paypal-payments', 'ppcp' => 'pymntpl-paypal-woocommerce', 'ppcp_card' => 'pymntpl-paypal-woocommerce', 'angelleye_ppcp' => 'paypal-for-w... ); -
/** * Filters the PayPal item(s) one order line is sent as. */ apply_filters( 'fkwcppcp_paypal_order_line_items', array( $line_item ), $item, $order ); -
/** * Filter the final PayPal SDK URL parameters before enqueue. */ apply_filters( 'fkwcppcp_paypal_sdk_params', $params ); -
/** * Filter the meta keys searched for a PayPal-hosted subscription id. */ apply_filters( 'fkwcppcp_paypal_subscription_id_meta_keys', array( '_fkwcppcp_subscription_id', 'ppcp_subscription', '_ppcp_subscription_id', '_billing_agreement_id', '_ppec_billing_agreement_id', '_paypal_subscription_id', ), $order ); -
/** * Filters whether gross (tax-inclusive) unit prices are sent to PayPal. */ apply_filters( 'fkwcppcp_send_gross_prices', $gross, $cart ); -
/** * Filters the cart lines PayPal reads for subscription decisions. */ apply_filters( 'fkwcppcp_subscription_cart_items', $items, WC()->cart ); -
/** * Allow merchants / integrations to opt out of automatic on-hold for a * specific subscription (e.g. a custom dunning flow they prefer to handle * themselves). */ apply_filters( 'fkwcppcp_suspend_subscription_on_token_delete', true, $sub, $token ); -
/** * Filters the effective advanced-vaulting state. */ apply_filters( 'fkwcppcp_vaulting_vetting_status', $effective ); -
apply_filters( 'fkwcppcp_express_button_load_script', false ); -
apply_filters( 'fkwcppcp_smart_buttons_locale', $button_language ); -
do_action( 'fkwcppcp_sublium_subscription_status_update', $order, 'ACTIVE', __( 'PayPal subscription activated', 'funnelkit-payment-gateway-paypal-for-woocommerce' ) ); -
apply_filters( 'fkwcppcp_applepay_vault_charge_send_stored_credential', $is_mit, $order, $vault_id, $initiator ); -
apply_filters( 'fkwcppcp_card_vault_charge_send_stored_credential', $is_mit, $order, $vault_id, $initiator ); -
apply_filters( 'fkwcppcp_card_3ds_contingency', $value, $this ); -
apply_filters( 'fkwcppcp_express_button_cart_position_priority', $this->get_cart_priority() ); -
apply_filters( 'fkwcppcp_express_checkout_or_text', __( 'OR', 'funnelkit-payment-gateway-paypal-for-woocommerce' ) ); -
apply_filters( 'fkwcppcp_express_force_vault_for_cart', false ); -
apply_filters( 'fkwcppcp_get_sublium_subscription_id', $order ); -
do_action( "fkwcppcp_update_options_{$this->id}_{$current_section}" ); -
wfocu_front_payment_gateway_integration_enabled
filter Used by 2 plugins → Copy link Customise this hookapply_filters( 'wfocu_front_payment_gateway_integration_enabled', true, $order ); -
woocommerce_checkout_create_order_line_item
action Used by 11 plugins → Copy link Customise this hookdo_action( 'woocommerce_checkout_create_order_line_item', $item, $cart_item_key, $cart_item, $order ); -
apply_filters( 'fkwcppcp_add_payment_method_data', $data, $context, $pm ); -
apply_filters( 'fkwcppcp_apple_pay_create_order_payload', $payload, $cart ); -
apply_filters( 'fkwcppcp_apple_pay_create_order_payload_from_order', $payload, $order ); -
apply_filters( 'fkwcppcp_apple_pay_create_order_payload_with_vault', $payload, $order, $vault_id, $initiator ); -
apply_filters( 'fkwcppcp_apple_pay_icon', $html, $this->id ); -
apply_filters( 'fkwcppcp_apple_pay_upsell_create_order_payload', $payload, $parent_order, $vault_id, $amount, $currency ); -
apply_filters( 'fkwcppcp_button_language_options', array( '' => __( 'Browser language', 'funnelkit-payment-gateway-paypal-for-woocommerce' ), 'ar_DZ' => __( 'Arabic (Algeria)', 'funnelkit-payment-gateway-paypal-for-woocommerce' ), 'ar_BH' => __( 'Arabic (Bahrain)', 'funnelkit-payment-gateway-paypal-for-woocommerce' ), 'ar_EG' => __( 'Arabic (Egypt)', 'funnelkit-payment-gateway-paypal-for-woocommerce' ), 'ar_JO' => __( 'Arabic (Jordan)', 'funnel... ); -
apply_filters( 'fkwcppcp_card_create_order_payload', $payload, $cart, $save_card ); -
apply_filters( 'fkwcppcp_card_create_order_payload_from_order', $payload, $order, $save_card ); -
apply_filters( 'fkwcppcp_card_create_order_payload_with_vault', $payload, $order, $vault_id, $initiator ); -
apply_filters( 'fkwcppcp_card_enforce_acdc_eligibility', false ); -
apply_filters( 'fkwcppcp_card_icon', $html, $this->id ); -
apply_filters( 'fkwcppcp_card_setup_token_payload', $payload, $billing, $user_id ); -
apply_filters( 'fkwcppcp_card_upsell_create_order_payload', $payload, $parent_order, $vault_id, $amount, $currency ); -
apply_filters( 'fkwcppcp_cart_payment_gateways', $gateways ); -
apply_filters( 'fkwcppcp_checkout_validation_notice', __( 'Please fill out all required fields then click Place Order.', 'funnelkit-payment-gateway-paypal-for-woocommerce' ), $data, $errors ); -
do_action( 'fkwcppcp_dispute_created', $resource, $order ); -
do_action( 'fkwcppcp_dispute_resolved', $resource, $order, $resource->status ?? 'UNKNOWN' ); -
apply_filters( 'fkwcppcp_enrich_payment_method_title', true, $order ); -
apply_filters( 'fkwcppcp_express_checkout_legend', __( 'Express Checkout', 'funnelkit-payment-gateway-paypal-for-woocommerce' ) ); -
apply_filters( 'fkwcppcp_express_checkout_payment_gateways', $gateways ); -
apply_filters( 'fkwcppcp_express_require_final_confirmation', $enabled ); -
apply_filters( 'fkwcppcp_express_skip_field_validation', true, $context ); -
apply_filters( 'fkwcppcp_funding_source_title', $title, $source ); -
apply_filters( 'fkwcppcp_gateway_localize', $localize ); -
apply_filters( "fkwcppcp_get_sections_{$this->id}", $sections ); -
apply_filters( "fkwcppcp_get_settings_{$this->id}", $settings, $current_section ); -
apply_filters( 'fkwcppcp_google_pay_create_order_payload', $payload, $cart ); -
apply_filters( 'fkwcppcp_google_pay_create_order_payload_from_order', $payload, $order ); -
apply_filters( 'fkwcppcp_google_pay_icon', $html, $this->id ); -
do_action( 'fkwcppcp_initialize_page_context', $this ); -
do_action( 'fkwcppcp_installed' ); -
apply_filters( 'fkwcppcp_is_product_section_disabled', false, $product ); -
do_action( 'fkwcppcp_loaded' ); -
apply_filters( 'fkwcppcp_minicart_payment_gateways', $gateways ); -
apply_filters( 'fkwcppcp_package_tracking_enabled', false ); -
apply_filters( 'fkwcppcp_payment_method_title_detail', self::detail( $order ), $order ); -
do_action( 'fkwcppcp_payoff_order_payment_completed', $order, $subscription_id, $resource->id ); -
apply_filters( 'fkwcppcp_paypal_icon', Main::get_plugin_url() . 'assets/images/paypal.svg' ); -
do_action( 'fkwcppcp_paypal_vault_token_saved', $order, $response ); -
apply_filters( 'fkwcppcp_process_payment_approval_response', array( 'result' => 'success', 'redirect' => $this->get_approval_url(), ), $this->order, $this->payment_method ); -
apply_filters( 'fkwcppcp_process_payment_error_response', $data, $this->order, $this->payment_method ); -
apply_filters( 'fkwcppcp_process_payment_success_response', array( 'result' => 'success', 'redirect' => $redirect, ), $this->order, $this->payment_method ); -
apply_filters( 'fkwcppcp_product_payment_gateways', $gateways, $product ); -
apply_filters( 'fkwcppcp_reconcile_pending_batch_limit', 20 ); -
apply_filters( 'fkwcppcp_reconcile_pending_window_hours', 24 ); -
apply_filters( 'fkwcppcp_register_script_dependencies', $deps, $handle ); -
apply_filters( 'fkwcppcp_should_save_payment_method', $need_to_save_token, $order, $order_details ); -
apply_filters( 'fkwcppcp_show_express_button_checkout', true ); -
apply_filters( 'fkwcppcp_show_paypal_fees_on_order', true, $order ); -
do_action( 'fkwcppcp_sublium_subscription_payment_failed', $order, $resource ); -
do_action( 'fkwcppcp_sublium_subscription_renewal_payment', $order, $resource, $subscription_id ); -
do_action( 'fkwcppcp_sublium_subscription_sale_completed', $order, $resource ); -
apply_filters( 'fkwcppcp_subscription_migration_resolvers', array( array( __CLASS__, 'resolve_angelleye_ppcp' ), array( __CLASS__, 'resolve_paypal_standard' ), array( __CLASS__, 'resolve_woocommerce_paypal_payments' ), ), $subscription, $parent_order, $original_payment_method ); -
apply_filters( 'fkwcppcp_suppress_express_cart_redirect', true ); -
do_action( 'fkwcppcp_updated' ); -
do_action( 'fkwcppcp_webhook_order_approved', $order, $resource->id ); -
do_action( 'funnelkit_paypal_subscription_after_activated', $order, $resource ); -
do_action( 'funnelkit_paypal_subscription_before_activated', $resource ); -
do_action( 'litespeed_purge_url', $url ); -
sublium_wcs_subscription_renewal_payment_complete
action Used by 2 plugins → Copy link Customise this hookdo_action( 'sublium_wcs_subscription_renewal_payment_complete', $subscription, $order );
Generated from FunnelKit Payment Gateway with PayPal 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: