Go to Bottom

Checking Order Status when using the Order Status System

In this Topic: Show


There are several methods that you can use to provide your customers with the ability to check the status of their order. You can provide a hyperlink to the Stone Edge order status site in an email, you can include a link that redirects visitors from your site to the Stone Edge Order status site, or you can use a link to an XML feed that will display your URL.


Provide a hyperlink to the Stone Edge Order Status System site in an email


Use the <<Status Link>> tag in the body of your email template. Verify that the SETIStatusLinkURL system parameter (in the SETI group) is set to http://www.stoneedge.net/setistatus/checkstatus.asp.


When you include an order status link in an email template, the URL is visible because the Order Manager sends plain text email. If you do not want use the default URL http://www.stoneedge.net/setistatus/checkstatus.asp, enter the URL of one of your own pages that will redirect visitors to it. (For directions, see below.)


Redirect visitors to the Stone Edge Order Status System site


Create a new web page in the editor of your choice, e.g. Notepad or a similar program.

Copy and paste the code below at the top of the web page. There should be no carriage returns or line breaks after the code is pasted.


<% response.redirect "http://www.stoneedge.net/setistatus/checkstatus.asp?MerchantID=" & Request("MerchantID") & "&OrderNumber=" & Request("OrderNumber") & "&Zip=" & Request("Zip") & "&Phone=" & Request("Phone") & "&email=" & Request("Email") %>


Save the page. Name it anything you like as long as the extension is ".asp". (e.g., "status.asp")

Upload this page to your web site.


In the Order Manager, set the SETIStatusLinkURL system parameter (in the SETI group) to your domain name, the path to the page you just created plus the name of the page, e.g. http://www.mycompany.com/status.asp.


The script looks for the following variables:






OrderNumber and MerchantID are required. OrderNumber can be the web order number or the Order Manager order number.

At least one of the remaining fields are required (zip, email).

You can submit the key/value pairs in a URL or from a form using either the post or get method. The script is NOT case sensitive.


Include a link to an XML feed


Note: Check out http://www.w3schools.com/xml/xml_parser.asp for a lesson on XML Parsing with Microsofts XML DOM.


To use the XML feed, you need a script that can parse the data and serve it. It will then appear with your own URL.


To see what the XML version of the Order Status System looks like, follow the link below:



Point and HTTP Post to www.stoneedge.net/setistatus/checkstatus.asp


The key/value pairs to send in the post are:


MerchantID = (Your MerchantID)

PostType = XML

OrderNumber = The OM or Web order number for the order

Email = The email address on the order

Zip = The Bill to zip code for the order.


The following is the HTTP Post portion which runs in Classic ASP (VBScript) on a computer with Windows installed.


'Build the string that you will post

URL = "http://www.stoneedge.net/setistatus/checkstatus.asp"

PostData = "MerchantID=3&PostType=XML&OrderNumber=100&email=support@stoneedge.com"


'Send the transaction information as part of the query string

set xml = Server.CreateObject("MSXML2.ServerXMLHTTP")


xml.open "POST", URL, false

xml.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"

xml.send PostData


Note: Either the zip code or the email address is required to validate the request, not both. The email address is highly recommended over the zip code.




See Also:

Order Status Configuration - System Parameters

Created: 1/17/12

Go to Top