![]() |
![]() |
|
|
||
This article presents a script you can use to authenticate ClickBank purchases. The script is for merchants who use ClickBank to sell products. Download the script and examples mentioned in this article at http://willmaster.com/a/11/pl.pl?scbademo (If you are a merchant with downloadable products, see http://willmaster.com/a/11/pl.pl?cbnkmerchant for more information about ClickBank.) The script is simple to implement. The URL of the script is what you specify as the "thank you page" at your ClickBank account information control panel. Example URL: http://domain.com/cgi-bin/cb.cgi The script will:
If the receipt number is eight alphanumeric characters and the script can determine that the receipt number was sent from a ClickBank URL, authentication will pass. Otherwise, it fails. Near the top of the script are two places to customize. One specifies the file name of the web page template to present when authentication passes. The other specifies the one to present when authentication fails. In either/both of the above templates, you can use [[cbreceipt]] wherever you want the script to insert the ClickBank receipt number. Also, if you include any images, sounds, or other page elements that require a URL, use the complete http://... URL instead of a relative URL. The web page template to be presented when authentication passes should, of course, contain instructions about how to proceed a download link, if appropriate and ways to contact you in case of problems or confusions. Examples of both of these templates are in the ZIP file at http://willmaster.com/a/11/pl.pl?scbademo Just download, install, and use. service are more important now than they were in the previous economy. It's time to be the best one can be.Copyright 2001 William Bontrager
| ||