Screen: ShopSite > Merchandising > Order API

Order API

If you have a custom CGI application that you want ShopSite to run when customers make purchases, you can 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:

Note:

Some Order API applications may be incompatible with the PayPal payment method. If the PayPal payment method is enabled, the Order API application must not send any output to the browser (stdout).

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.

You can use this sample Perl custom CGI program as an example. If you install it in the shopping cart directory and enter it’s file name as the custom CGI application, it will display all the information that is passed to it (you’ll see this information on the receipt screen).

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.

Additional Parameters

Use these fields to enter any values required by your custom CGI application, such as your account number.


ShopSite Help and Resource Center
April 3, 2003
Give Feedback

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