• Hello,

    Does anyone have a code that allows you to enter the Txid or crypto address in an input field in the WordPress order overview and then immediately find the associated order?

    Sometimes it is very tedious when orders do not automatically go to processing because the ETH amount is not exact, for example.

Viewing 2 replies - 1 through 2 (of 2 total)
  • did you ever found this?

    Okay, this simple to do @raymondreddington

    mcc_to = Wallet address
    transaction_id = TXID

    Create folder / file: wp-content/mu-plugins/wc-admin-search-mcc.php

    Paste the following in the php file:

    <?php
    /**

    • Plugin Name: WC Admin Order Search – MyCryptoCheckout
      */

    add_filter( ‘woocommerce_order_table_search_query_meta_keys’, ‘my_add_crypto_meta_to_order_search’ ); // HPOS
    add_filter( ‘woocommerce_shop_order_search_fields’, ‘my_add_crypto_meta_to_order_search’ ); // Legacy

    function my_add_crypto_meta_to_order_search( $meta_keys ) {
    $meta_keys[] = ‘_mcc_to’;
    $meta_keys[] = ‘_transaction_id’;
    return $meta_keys;
    }

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.