woo_change_order_received_text with PayPal payment
-
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
woo_change_order_received_text
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)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘woo_change_order_received_text with PayPal payment’ is closed to new replies.