Support » Plugin: WooCommerce » woo_change_order_received_text with PayPal payment

  • Resolved neotrope


    HI, folks
    kinda stumped on this — I have updated the customer checkout thank you page, where we need a link to a document for what they need to do next.

    For credit card payments, this hook works fine

    However it does not print anything for customer using PayPal checkout; so there is no message for those choosing PayPal vs Stripe, in our case, to know ‘what to do now.’

    add_filter('woocommerce_thankyou_order_received_text', 'woo_change_order_received_text', 10, 2 );
    function woo_change_order_received_text( $str, $order ) {
        $new_str = '<h4><strong>To submit your project go here <a href="#">BLAH</a></h4>';
        return $new_str;

    Specifically – this works fine on the payment complete thank you page for those using credit cards, but not for PayPal standard payment ‘Order Received …. blah blah. Log into your PayPal account for order details.’

    I cannot seem to locate a filter hook for this.

    Thanks for any help 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter neotrope


    Using latest WooCommerce, Storefront theme, and numerous licensed official Woo extensions paid annually. None are conflicting with the above.

    I’m thinking maybe I need to do something like an ‘above order details’ hook instead. Doh.

    Thread Starter neotrope


    looks like only workable solution turned out to be adding a copy of the thank you page template at


    hopefully that folder won’t get killed on theme update.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘woo_change_order_received_text with PayPal payment’ is closed to new replies.