Passing Data With every transaction, ClickBank passes nine query string parameters to your Thank You Page. The nine are listed below. You can use this data to personalize the messaging on your Thank You Page. For example, you could say “Welcome [Customer's Name].†Personalizing data on the Thank You Page can enhance customer satisfaction by creating a heightened sense of security about the purchase. ClickBank receipt number (cbreceipt) Epoch time of the order (time & seconds) ClickBank item number (item) ClickBank proof of purchase (cbpop) Customer name (cname) Customer e-mail (cemail) Customer zip (czip) Customer country (ccountry) Affiliate nickname (cbaffi) Vendor variables (up to 128 bytes) Vendor variables can be any additional information you wish to pass back to your Thank You Page via QUERY_STRING parameters. Could someone give me an example? Does it create a new cookie if I pass affiliate name? And how to use the old payment link sell.cgi?
<?php echo $_GET['cname'] ?> PHP: Where cname is one of the data strings. So if cname was 'Bob' you would write: Hello, <?php echo $_GET['cname'] ?>.. Thanks for your purchase! PHP: Which would display: Hello, Bob.. Thanks for your purchase!
Oh, it is to pass data to vendor's thank you page from CB order page. I thought the apposite of that before. Is it possible to pass data to CB order page from xxx.xxx.pay.clickbank.net and change the cookie? Is there the only way to change the old cookie by xxxxxxxxxx.hop.clickbank.net?
Nope That's the only way (Unless you a script which cookies the user and then transfers to payment link.. this would do it.. <html> <head> <title>Please Wait..</title> <meta http-equiv="REFRESH" content="1;url=http://1.VENDOR.pay.clickbank.net"></HEAD> <BODY> <img src="http://YOURID.VENDORID.hop.clickbank.net" width="0" height="0"> </BODY> </HTML> PHP:
It is a good idea, but CB said the hoplink shouldnt be put in frame, iframe. Policy like this: "However, some affiliates attempt to hide their HopLinks by having them open into other types of sub-window objects, such as frames, iframes, layers, applets, or images. These types of HopLinks are considered invalid, and can result in lost affiliate referral credit, incorrect display of your website, or, in the case of abuse of the HopLink system, could result in account termination without notice." I'm afraid the account will be banned if use hoplink in img html tag.