UPI QR Code Payment Gateway for WooCommerce icon
eCommerce & WooCommerce

UPI QR Code Payment Gateway for WooCommerce hooks reference

  • By KnitPay
  • v1.7.1 New
  • Updated

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.

functions.phpyour child theme
// 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

  • includes/blocks/class-blocks-support.php line 93 · used in 2 places
    apply_filters( 'upiwc_order_button_text', __( 'Proceed to Payment', 'upi-qr-code-payment-for-woocommerce' ) );
  • includes/blocks/class-blocks-support.php line 85 · used in 2 places
    apply_filters( 'upiwc_upi_address_placeholder', $placeholder );
  • includes/blocks/class-blocks-support.php line 71 · used in 2 places
    apply_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... );
  • includes/class-payment.php line 672
    do_action( 'upiwc_after_before_title', $order );
  • includes/class-payment.php line 683
    do_action( 'upiwc_after_payment_buttons', $order );
  • includes/class-payment.php line 622
    do_action( 'upiwc_after_payment_init', $order_id, $order );
  • includes/class-payment.php line 923
    do_action( 'upiwc_after_payment_verify', $order->get_id(), $order );
  • includes/class-payment.php line 578
    apply_filters( 'upiwc_button_show_interval', 30000 );
  • includes/class-payment.php line 896
    apply_filters( 'upiwc_capture_payment_order_status', $this->payment_status, $order );
  • includes/class-payment.php line 486
    apply_filters( 'upiwc_create_upi_handle', 'false' );
  • includes/class-payment.php line 1011
    apply_filters( 'upiwc_custom_checkout_url', false );
  • includes/class-payment.php line 701
    apply_filters( 'upiwc_donwload_button_text', __( 'Download QR Code', 'upi-qr-code-payment-for-woocommerce' ) );
  • includes/class-payment.php line 577
    apply_filters( 'upiwc_enable_button_timer', true );
  • includes/class-payment.php line 57
    apply_filters( 'upiwc_gateway_icon', UPIWC_URL . 'includes/icon/payment.gif' );
  • upiwc_loaded

    action
    upi-qr-code-payment-for-woocommerce.php line 113
    do_action( 'upiwc_loaded' );
  • includes/class-payment.php line 559
    apply_filters( 'upiwc_order_total_amount', $order->get_total(), $order );
  • includes/class-payment.php line 1134
    apply_filters( 'upiwc_payee_vpa', $this->vpa, $order );
  • includes/class-payment.php line 675
    apply_filters( 'upiwc_payment_button_text', $this->pay_button );
  • includes/class-payment.php line 573
    apply_filters( 'upiwc_payment_cancel_url', wc_get_checkout_url(), $this->get_return_url( $order ), $order );
  • includes/class-payment.php line 617
    apply_filters( 'upiwc_payment_empty_cart', false );
  • includes/class-payment.php line 926
    apply_filters( 'upiwc_payment_redirect_url', $this->get_return_url( $order ), $order );
  • upi-qr-code-payment-for-woocommerce.php line 369
    apply_filters( 'upiwc_plugin_hide_sticky_donate_notice', false );
  • upi-qr-code-payment-for-woocommerce.php line 348
    apply_filters( 'upiwc_plugin_hide_sticky_notice', false );
  • includes/class-payment.php line 299
    apply_filters( 'upiwc_popup_themes', [ 'light' => __( 'Light Theme', 'upi-qr-code-payment-for-woocommerce' ), 'dark' => __( 'Dark Theme', 'upi-qr-code-payment-for-woocommerce' ), ] );
  • includes/class-payment.php line 614
    apply_filters( 'upiwc_process_payment_note', $message, $order );
  • includes/class-payment.php line 94
    apply_filters( 'upiwc_process_payment_order_status', 'pending' );
  • includes/class-payment.php line 636
    apply_filters( 'upiwc_process_payment_redirect', $order->get_checkout_payment_url( true ), $order );
  • includes/class-private-screenshots.php line 171
    apply_filters( 'upiwc_screenshot_max_size', 5 * MB_IN_BYTES );
  • includes/class-payment.php line 235
    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' ), ] );
  • includes/class-payment.php line 676
    apply_filters( 'upiwc_show_cancel_button', true );
  • includes/class-payment.php line 680
    apply_filters( 'upiwc_show_choose_payment_method', true );
  • includes/class-payment.php line 152
    apply_filters( 'upiwc_supported_currencies', [ 'INR' ] );
  • includes/class-payment.php line 903
    apply_filters( 'upiwc_valid_order_status_for_note', [ 'pending', 'on-hold' ] );
  • includes/class-payment.php line 480
    do_action( 'woocommerce_upi_form_end', $this->id );
  • includes/class-payment.php line 464
    do_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: