Checking Order Status with the Order Status Service

Contents of this Topic: Show

Overview

This topic applies to subscribers of the Order Status Service provided by Monsoon Commerce.

There are several methods you can use so that your customers can check the status of their order:

Provide a hyperlink to the Order Status Service site in an e-mail

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 e-mail template, the URL is visible because Monsoon Order Manager sends plain text e-mail. 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 redirects visitors to the Monsoon Commerce servers.

Redirect visitors to the Order Status Service site

Create a new web page in the editor of your choice, such as 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 Monsoon 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, such as http://www.mycompany.com/ status.asp .

 

The script looks for the following variables:

 

Ordernumber

MerchantID

Email

Zip

 

OrderNumber and MerchantID are required.

OrderNumber can be the web order number or the Monsoon 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

Check out http://www.w3schools.com/ xml/ xml_parser.asp for a lesson on XML Parsing with Microsoft's 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 Service looks like, follow the link below:

http://www.stoneedge.net/setistatus/checkstatus.asp?merchantid=3&OrderNumber=12345&zip=10000&posttype=XML

 

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 e-mail address is required to validate the request, not both. The e-mail address is highly recommended over the zip code.

 

Additional information

Set System Parameters

 

Created:

Revised: 6/30/15

Published: 08/19/15