The Thank You Page CGI Script
The script for processing the order will be required to do four tasks. One, it must receive the data passed to it from the ClickBank CGI. Two, it must authenticate the order using the 'seed' value and a second value termed 'cbpop'. This is accomplished using the ClickBank Script which must be inserted into the CGI code. The ClickBank authentication script is written in PERL, C and PHP and is designed to accomplish the above tasks. It is a function call that returns one if the value seed and cbpop correspond with a correct authentication. If they are authentic, then the CGI script must create the registration key for the software from the 'seed' value and the final task of the script is to output the appropriate thank you page.
The ClickBank CGI authorization code can be obtained at this location. This must be inserted into your web page code. Be sure to obtain the correct source for your scripting language. They have code available in PHP, PERL and C.
|