Looking for old forum posts and information? View the old forum archive here ยป
Welcome to Vortx Community Forum, where you can ask questions and receive answers from the staff at Vortx and other members of the community.

If you had a user account on our previous forums website, you will need to register a new account here.

A static copy of our previous forums website is available online for reference. Click here to access the forum archive.

Learn more about...

AspDotNetStorefront
DotFeed

Error: Invalid Customer ID or Invalid Order Number

Hi,
i add this code in orderconfirmation.aspx.cs

            writer.Write("<!-- Google Code for Conversion Page -->");
            writer.Write("<script type=\"text/javascript\">");
            writer.Write("/* <![CDATA[ */");
            writer.Write("var google_conversion_id = xxxxx;");
            writer.Write("var google_conversion_language = \"en\";");
            writer.Write("var google_conversion_format = \"3\";");
            writer.Write("var google_conversion_color = \"ffffff\";");
            writer.Write("var google_conversion_label = \"L77kCJ7o1QgQ-vez0wM\";");
            writer.Write("var google_remarketing_only = false;");
            writer.Write("/* ]]> */");
            writer.Write("</script>");
            writer.Write("<script type=\"text/javascript\" src=\"//www.googleadservices.com/pagead/conversion.js\">");
            writer.Write("</script>");
            writer.Write("<noscript>");
            writer.Write("<div style=\"display:inline;\">");
            writer.Write("<img height=\"1\" width=\"1\" style=\"border-style:none;\" alt=\"\" src=\"//www.googleadservices.com/pagead/conversion/980220922/?label=L77kCJ7o1QgQ-vez0wM&amp;guid=ON&amp;script=0\"/>");
            writer.Write("</div>");
            writer.Write("</noscript>");

for Conversion Page. I get this error "Error: Invalid Customer ID or Invalid Order Number". Why?

Its same error when i upload old file, without this code.

Thanks

asked May 30, 2014 in MultiStore by articuno (160 points)

1 Answer

0 votes

I believe that error is actually from the cart telling you are accessing an order confirmation page without being logged in or not logged in as admin...

 
Thank you,
Jan
 
Compunix, LLC (Phoenix, AZ)
AspDotNetStorefront Development Partner and Reseller since 2005
------------------------------------------------------------------------------------------------------
 AspDotNetStorefront add-ons and plugins : http://www.ecommercecartmods.com
 Complete Automotive Solution : http://www.autopartsshoppingcart.com
------------------------------------------------------------------------------------------------------
answered May 30, 2014 by jsimacek (6,485 points)
Thanks for your answer.

orderconfirmation.aspx.cs and orderconfirmation.aspx is to display information of order for customer. So, i dont know why should i be logged as an administrator? This site is for the all users - customers.

Yes, but it's for security because you don't want one customer to access the order confirmation of another customer...it sounds like you were logged out/anonymous at time of visiting the URL again and the cart, since not logged in, didn't know who you were so issued that error message.

 
Thank you,
Jan
 
Compunix, LLC (Phoenix, AZ)
AspDotNetStorefront Development Partner and Reseller since 2005
------------------------------------------------------------------------------------------------------
 AspDotNetStorefront add-ons and plugins : http://www.ecommercecartmods.com
 Complete Automotive Solution : http://www.autopartsshoppingcart.com
------------------------------------------------------------------------------------------------------
...