Once a payment has been processed, either through to success or to cancellation, information about the processed transaction is made available to you through any of the following methods.
For Select Junior the call-back can be handled by an ordinary cgi script or any other kind of server-side form processing. For Select Pro the call-back must be handled by a SelectServlet, and for Select COM you should use an ASP script in conjuction with the COMcallback object. See the appropriate documentation for further details.
If you are using Select Pro or Select COM then the information passed to your server is signed and encrypted so that you can be confident that it came from Web-Merchant/WM and has not been tampered with. If you accept a call-back and are not using Select Pro we cannot guarantee that all calls to your call-back URL originate at Web-Merchant/WM. You will need to have additional checks to ensure that it relates to a valid payment.
You can set the call-back URL and specify that it be used for payment responses by using the page reached from the "Configuration Options" button for your installation on the WAS home page.
Note: if you want the shopper to be able to return to your site easily after the purchase has been completed (the normal situation!), then you must ensure that an appropriate link is given on the response page.
Before being passed to the shopper this page is processed by Web-Merchant/WM for parameter substitution. This enables you to embed details of this particular transaction in the page. This page can also contain any graphics you wish. These graphics must be uploaded to the Web-Merchant/WM server even if the page is returned by the call-back to your server. Details of parameter substitution and use of graphics can be found in Configuring Your Installation. Note that you can use the file substitution tag to embed your standard header and footer into the result file. Here is a simple example of HTML for a resultY.html page:
<html> <head> <title>Thank you for your payment</title> </head> <WPDISPLAY FILE=header.html DEFAULT="<body bgcolor=#ffffff>"> <h1>My Company Ltd.</h1> <WPDISPLAY ITEM=name>, thank you for your payment of <WPDISPLAY ITEM=amountString> for <WPDISPLAY ITEM=desc>. Your goods will be shipped to you within three working days. <WPDISPLAY ITEM=banner> <WPDISPLAY FILE=footer.html DEFAULT="</body>"> </html>
In addition, Web-Merchant/WM always inserts a standard "banner" containing certain information that Web-Merchant/WM must convey to the shopper. The banner is inserted into your page either at the position of the tag <WPDISPLAY ITEM=banner> or else directly after the <BODY> tag if the special tag is missing.
$Revision: 1.14 $