UPI QR Code Payment Gateway for WooCommerce 1.7.1 has 7 actions and 28 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 UPI QR Code Payment Gateway for WooCommerce fires an action
add_action( 'upiwc_after_before_title', function( $order ) {
// Your code runs here.
}, 10, 1 );
// Change a value UPI QR Code Payment Gateway for WooCommerce is about to use
add_filter( 'upiwc_order_button_text', function( $_ ) {
// Change $_ here.
return $_;
}, 10, 1 );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
-
upiwc_order_button_text
filterapply_filters( 'upiwc_order_button_text', __( 'Proceed to Payment', 'upi-qr-code-payment-for-woocommerce' ) ); -
apply_filters( 'upiwc_upi_address_placeholder', $placeholder ); -
upiwc_upi_handle_list
filterapply_filters( 'upiwc_upi_handle_list', [ 'airtel', 'airtelpaymentsbank', 'apb', 'apl', 'allbank', 'albk', 'allahabadbank', 'andb', 'axisgo', 'axis', 'axisbank', 'axisb', 'okaxis', 'abfspay', 'axl', 'barodampay', 'barodapay', 'boi', 'cnrb', 'csbpay', 'csbcash', 'centralbank', 'cbin', 'cboi', 'cub', 'dbs', 'dcb', 'dcbbank', 'denabank', 'equitas', 'federal', 'fbl', 'finobank', 'hdfcbank', 'payzapp', 'okhdfcbank', 'rajgovhdfcbank', 'hsb... ); -
upiwc_after_before_title
actiondo_action( 'upiwc_after_before_title', $order ); -
upiwc_after_payment_buttons
actiondo_action( 'upiwc_after_payment_buttons', $order ); -
upiwc_after_payment_init
actiondo_action( 'upiwc_after_payment_init', $order_id, $order ); -
upiwc_after_payment_verify
actiondo_action( 'upiwc_after_payment_verify', $order->get_id(), $order ); -
upiwc_button_show_interval
filterapply_filters( 'upiwc_button_show_interval', 30000 ); -
apply_filters( 'upiwc_capture_payment_order_status', $this->payment_status, $order ); -
upiwc_create_upi_handle
filterapply_filters( 'upiwc_create_upi_handle', 'false' ); -
upiwc_custom_checkout_url
filterapply_filters( 'upiwc_custom_checkout_url', false ); -
upiwc_donwload_button_text
filterapply_filters( 'upiwc_donwload_button_text', __( 'Download QR Code', 'upi-qr-code-payment-for-woocommerce' ) ); -
upiwc_enable_button_timer
filterapply_filters( 'upiwc_enable_button_timer', true ); -
upiwc_gateway_icon
filterapply_filters( 'upiwc_gateway_icon', UPIWC_URL . 'includes/icon/payment.gif' ); -
upiwc_loaded
actiondo_action( 'upiwc_loaded' ); -
upiwc_order_total_amount
filterapply_filters( 'upiwc_order_total_amount', $order->get_total(), $order ); -
upiwc_payee_vpa
filterapply_filters( 'upiwc_payee_vpa', $this->vpa, $order ); -
upiwc_payment_button_text
filterapply_filters( 'upiwc_payment_button_text', $this->pay_button ); -
upiwc_payment_cancel_url
filterapply_filters( 'upiwc_payment_cancel_url', wc_get_checkout_url(), $this->get_return_url( $order ), $order ); -
upiwc_payment_empty_cart
filterapply_filters( 'upiwc_payment_empty_cart', false ); -
upiwc_payment_redirect_url
filterapply_filters( 'upiwc_payment_redirect_url', $this->get_return_url( $order ), $order ); -
apply_filters( 'upiwc_plugin_hide_sticky_donate_notice', false ); -
apply_filters( 'upiwc_plugin_hide_sticky_notice', false ); -
upiwc_popup_themes
filterapply_filters( 'upiwc_popup_themes', [ 'light' => __( 'Light Theme', 'upi-qr-code-payment-for-woocommerce' ), 'dark' => __( 'Dark Theme', 'upi-qr-code-payment-for-woocommerce' ), ] ); -
upiwc_process_payment_note
filterapply_filters( 'upiwc_process_payment_note', $message, $order ); -
apply_filters( 'upiwc_process_payment_order_status', 'pending' ); -
apply_filters( 'upiwc_process_payment_redirect', $order->get_checkout_payment_url( true ), $order ); -
upiwc_screenshot_max_size
filterapply_filters( 'upiwc_screenshot_max_size', 5 * MB_IN_BYTES ); -
apply_filters( 'upiwc_settings_order_statuses', [ 'pending' => __( 'Pending Payment', 'upi-qr-code-payment-for-woocommerce' ), 'on-hold' => __( 'On Hold', 'upi-qr-code-payment-for-woocommerce' ), 'processing' => __( 'Processing', 'upi-qr-code-payment-for-woocommerce' ), 'completed' => __( 'Completed', 'upi-qr-code-payment-for-woocommerce' ), ] ); -
upiwc_show_cancel_button
filterapply_filters( 'upiwc_show_cancel_button', true ); -
apply_filters( 'upiwc_show_choose_payment_method', true ); -
upiwc_supported_currencies
filterapply_filters( 'upiwc_supported_currencies', [ 'INR' ] ); -
apply_filters( 'upiwc_valid_order_status_for_note', [ 'pending', 'on-hold' ] ); -
woocommerce_upi_form_end
actiondo_action( 'woocommerce_upi_form_end', $this->id ); -
woocommerce_upi_form_start
actiondo_action( 'woocommerce_upi_form_start', $this->id );
Generated from UPI QR Code Payment Gateway for WooCommerce's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: