• Resolved marko2002

    (@marko2002)


    Hey guys, I know this is kinda asking for a modification but it’s really something that I think should be present on the checkout page.

    The situation is this: customer adds items to basket, goes to checkout and then (for example) pay’s using PayPal OR customer simply chooses to pay instantly by PP on product page. They log in to PP and complete the transaction but then they are taken back to the “checkout” and must then complete the transaction.

    We’ve had a few people attempting to pay by PP and contact us saying they haven’t yet received their items but it appears they are simply believing that once they have completed the PayPal portion of things, the purchase is done, but instead they still have to complete the transaction on the checkout instead.

    My question is, is it possible to have some form of snippet or functionality which can be added to the checkout so that even though users have completed their PP checkout it then queries the status of the order and displays a message.

    For example, in the case where the order hasn’t yet been completed the checkout would show a message along the lines of “Your order is not yet completed, please scroll down to finish this order”. For completed orders woocommerce already shows the ‘thanks’ for your order type thing so this is really only relating to hitting the checkout when the order hasn’t yet been completed. I had added such a notice to the checkout page itself, but this displays no matter what the order status, so isn’t ideal.

    Hope this all makes sense and if woocommerce don’t consider this to be a feature request I’d appreciate anyone’s help on adding it as a snippet if possible.
    Many Thanks
    Marko

    • This topic was modified 3 years, 4 months ago by marko2002.
    • This topic was modified 3 years, 4 months ago by marko2002.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter marko2002

    (@marko2002)

    Actually, after reading through and applying my ‘own’ logic it’s really as simple as adding a snippet to show a message on the checkout page, the ‘thank you’ message is taken care of by woocommerce so for anyone else looking for this we added the following snippet to our site:

    `add_action( ‘woocommerce_before_checkout_form’, ‘wnd_checkout_code’, 10 );

    function wnd_checkout_code( ) {
    echo ‘<h2>Please scroll down to complete your purchase</h2>’;
    }`

    • This reply was modified 3 years, 4 months ago by marko2002.
    Thread Starter marko2002

    (@marko2002)

    Solved ??

    Hi @marko2002

    Glad to hear you found a solution, and thank you for sharing the snippet. If you have any further questions, feel free to open a new topic.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add “complete your payment” message to woocommerce checkout?’ is closed to new replies.