Support » Plugin: WooCommerce » “view order” URL not functioning

  • Resolved kseniavoropaeva


    On the order confirmation email, the button “View Order” links to a My Account Login page on my eCommerce site. When I log in with the same customer email that the order was placed with, I’m taken to an “Invalid order.” page. There is no way to actually view the order.

    I’m using my partner’s email to place the test order, not my own.

    I have MailChimp for WooCommerce installed. I’ve been working with MailChimp to resolve the “View order” button not functioning in the email order confirmation.

    But the root issue seems to be on WooCommerce’s end:

    “this URL is not created by Mailchimp, but by WooCommerce and Mailchimp only displays that order URL as we receive it from WooCommerce. So it will need to be changed within WooCommerce by your developer.”

    Please let me know what additional info I can provide.

    Thank you,

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • superkot


    Normally there is no View Order link in the Woocommerce new order email, as the order details are included in it.

    What are the exact links for “View Order” in the email and URL of the page where you see “invalid order”?

    Can you check your theme folder, does it have /woocommerce/emails/customer-processing-order.php file in it?

    Plugin Support Fernando


    Automattic Happiness Engineer

    As mentioned by @superkot above, the Processing email that goes out to customers does not include a View Order link by default. Nor does the New Order email sent out to the administrator.

    The New order email does have a link (when clicking on the Order number) that takes you to the order page, but this goes to the wp-admin dashboard and not the the my-account page.

    My guess is that this link is being added by another plugin you have installed on the site. The quickest way to verify this would be to disable all plugins on your site, except for WooCommerce – and test with a new order, to see if the link is now removed.

    You’ll want to do this on a staging site only, though; to avoid affecting your live site.

    • This reply was modified 6 months, 4 weeks ago by  Fernando.

    Thank you so much. I found another area where the email address was still set to my wordpress admin address. I changed that to the correct email address for the paypal account and it is working. So you can close this enquiry as resolved.

    I appreciate you quickly you answered me. Thanks. 🙂

    Plugin Support Fernando


    Automattic Happiness Engineer

    @angela-van-breemen Glad to hear it is working! Thanks for letting us know.

    Just for further clarity, and for the benefit of future users who might face this issue, can you elaborate a little more on what happened?

    Was a wrongful PayPal address the cause of this? That seems odd.

    Thank you all for your responses! The “View Order” button is inserted via the MailChimp for WooCommerce plugin into MailChimp’s automated Order Notifications emails.

    The MailChimp order notification email that’s triggered post-purchase has a “View order” button, and this button links to the Account login page. Which seems to Only work if a user chooses to Create an account at check out. Most users don’t do this.

    The View Order button links to the following URL:

    I see “Invalid order” when testing from an external email address. I place a test order, receive the Order Notification Email, click on “View Order”, am taken to the Login/Register page here, I register an account with the same email used to place the order, and that’s when I see “Invalid order” here

    Is there a View Order URL that the button should be redirecting to? That works whether a customer created an account or not? MailChimp seems to be implying that.

    Thank you!

    Woocommerce by default does not allow to add orders from the past to a newly registered account. Custom extra code of course could make it possible, but looks like it is not the case with this MailChimp plugin, however for some reason it assumes such possibility.

    So if the user does not have a registered account, then orders can not be possibly seen in “my account” later – since when you register through the link, you get a brand new clean account, and the order number in the link is not connected to it.

    This is some wrong design of the MailChimp plugin, it should either auto-connect unregistered orders upon registration for customers who visit this link, or avoid sending such links to non-registered buyers.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘“view order” URL not functioning’ is closed to new replies.