Great question — answering as the UphillTech team:
This question is not clear. I think you want us to help you commenting a portion of code on that checkout/thankyou.php template, to remove some info from line 43 to 77… So your template code will be: if ( ! defined( 'ABSPATH' ) ) { exit; } ?> <div class="woocommerce-order"> <?php if ( $order ) : ?> <?php if ( $order->has_status( 'failed' ) ) : ?> <p class="woocommerce-notice woocommerce-notice--error woocommerce-thankyou-order-failed"><?php _e( 'Unfortunately your order cannot be processed as the originating bank/merchant has declined your transaction. Please attempt your purchase again.', 'woocommerce' ); ?></p> <p class="woocommerce-notice woocommerce-notice--error...
Full answer by LoicTheAztec: https://stackoverflow.stackexchange.com/a/43470192 (CC BY-SA 3.0).
Need it done for your business? UphillTech.