ClickBank
eCommerce Gateway
Setup
LinkPoint
ClickBank
PayPal
iTransact
|
ClickBank Gateway Setup
1. Enable ClickBank via e-Commerce Gateway section of System Setup panel.
2. Enter you ClickBank id into corresponding field of System Setup panel
3. Enter ClickBank Secret Key into corresponding field of System Setup panel.
4. Create a product of Receipt type to be used as default product and
enter its id into Default receipt product ID field (System Setup panel).
To use eCommerce Gateway with ClickBank, you will also need to login to your ClickBank Administration
Program and make a few changes.
5. Enter your secret key into corresponding field.
6. Enter the URL of your "Thank You" page - the web page where you want to take a customer if a transaction
was approved. This should be the full URL to your accview.pl script (preferably, this should be a secure URL
to avoid browser warnings after the order is processed) for each item you sell. You need append the following
inputs to the accview.pl url:
prodid - to convey your product id
amount - to convey transaction amount
Example:
http://www.yourdomain.com/cgi-bin/accview.pl?prodid=software&amount=99.95
Your order page should have the following code
<form method="get" action="http://www.clickbank.net/sell.cgi">
<input type="hidden" name="link" value="your-clickbank-id-here/product-number/product-title">
<input type="hidden" name="seed" value="radnom-number-here">
<input type="submit" value="Pay now"></form>
Note: In order to generate random value for seed input you can use ssirandom.pl script included
into standard eCommerce Gateway package. Here is a sample of seed input source using ssirandom.pl:
<input type="hidden" name="seed" value="<!--#include virtual="path-to-your-cgi-bin/ssirandom.pl"-->">
|