uShopOrderButtonCGI.class
For performance reasons, it may be desireable to have all of the
store's product pages on the faster public server and then just
transfer to the slower encrypted secure server when the customer wants
to actually place the order. The uShopOrderButtonCGI applet
provides the means to do this. That is, you can place all of the
store's product pages on your public server, then configure this
applet to load the order page on your secure server when the customer
is ready to order.
Note, in order to configure this, you must have:
- Configured the ushop_cgiscript on your secure server.
- Put the order.template on your secure server.
- Put any necessary uShop classes on your secure server (Typically
in a subdirectory of your main directory called "classes")
See the uShop User's Manual for a step-by-step description of setting
up this button.
See also ushop_cgiscript.pl,
order.template setup.
Parameters
- scriptpath - The full path to the ushop_cgiscript.pl on your server. Example:
"https://www.mystore.com/cgi-bin/ushop_cgiscript.pl".
- label - The label that will appear on the button. This can be any
text you like, such as "Secure Order" or "Place Order".
- order_page - This is the name and path relative to the CGI directory on your
secure of the order template file. For example, if you created
an order page called MyOrderPage.html and put this page in the
main directory on your server, then you would set this parameter
to "../MyOrderPage.html". See also
order.template setup.
Note: Optional parameters are in italics
Example
<APPLET CODE = "uShopOrderButtonCGI.class" WIDTH=80 HEIGHT=30>
<PARAM NAME=scriptpath VALUE="https://www.uburst.com/cgi-bin/ushop/ushop_cgiscript.pl">
<PARAM NAME=label VALUE="Secure Order">
<PARAM NAME=order_page VALUE="../classes/order.template">
</APPLET>