DirectOne Customisable Fields

Passing arguments to a CGI script
via "reply_link_url" on the receipt page


Many of the DirectOne fields can be customised 'on the fly' from your order page.
This page describes how you can pass information from your DirectOne web page to a cgi script following a successful transaction and is directed towards more advanced programmers.

This feature can be used in the context of an automatic software download or automatic password protected access to a restricted area of your site. Anywhere where customer or order information must be used post-payment.


REPLY_LINK_URL SUPPLEMENTARY ARGUMENTS

The reply_link_url works much like the return_link_url with the one exception being that it is automatically fired off as a GET request just prior to the confirmation emails and receipt page being sent following a successful transaction. It will do interpolation of cgi arguments in the same manner as return_link_url, and explicity names the port (currently port 80 only is available). Vendors may not specify alternate ports. The request has a 15 second timeout, so if the remote server has not responded in that time, an error will be generated, and reported via the vendor_reply_errors list, available for template parsing. If the vendor's server does respond in the 15 seconds allowed, the response is read into a variable called vendor_reply, and is also available for parsing.