• I have been trying to add the TRANSACTIONID of a successful transaction so that it appears under the order number in admin So instead of…

    Payment via Credit Card on July 29, 2016 @ 3:26 pm. Customer IP: 124.169.234.84

    …it would be…

    Payment via Credit Card (NNNNNNNNN) on July 29, 2016 @ 3:26 pm. Customer IP: 124.169.234.84

    I have tried the following code but I have not been able to get it working.
    Can you see what I am doing wrong here…

    public function get_transaction_url( $transactionId ) {
       $return_url = // my code to modify the url
       return apply_filters( 'woocommerce_get_transaction_url', $return_url, $transactionId, $this );
    }

    Thanks in advance for any advice.

    https://www.ads-software.com/plugins/woocommerce-paypal-pro-payment-gateway/

  • The topic ‘Adding Transaction ID to Transaction Url’ is closed to new replies.