Screen: ShopSite > Merchandising > Order API

Order API

If you have a custom CGI application that you want ShopSite to run when customers make purchases, enable it on this screen by specifying its location. Be sure that your application conforms to the Order API Specification

Web developers can write programs to interface to ShopSite during the ordering process. By writing a custom CGI a developer could:

Custom CGI Location

Enter the file name of the custom CGI application. The application file must be in the shopping cart directory. If the file exists and is executable, ShopSite will run the custom program instead of running its own routine that prints out the customer receipt.

Only enter the path to the custom CGI if you are sure the CGI is ready to run. If improper permissions are set on the custom CGI, no orders will be processed.

A sample Perl custom CGI ships with ShopSite. It is custom-dump.pl and is located in the shopping cart directory. This CGI will display all the information that is passed to it. (You must have Perl correctly installed on your server for this CGI to run.)

E-mail receipts to buyer, merchant?

Check this box if you still want ShopSite to e-mail receipts to buyers and merchants.

Screen receipt for buyer?

Check this box if you still want ShopSite to display a receipt on the customer's screen. If your custom API displays a receipt to the customer, leave this box unchecked.


ShopSite Help and Resource Center
April 18, 2002
Give Feedback

Copyright © ShopSite, Inc.
http://www.shopsite.com