How to pass data in payment link?

Discussion in 'ClickBank' started by dulidi, Feb 5, 2010.

  1. #1
    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?
     
    dulidi, Feb 5, 2010 IP
  2. PHAZ

    PHAZ Guest

    Messages:
    371
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    <?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!
     
    PHAZ, Feb 7, 2010 IP
  3. dulidi

    dulidi Peon

    Messages:
    121
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    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?
     
    dulidi, Feb 7, 2010 IP
  4. PHAZ

    PHAZ Guest

    Messages:
    371
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    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:
     
    PHAZ, Feb 8, 2010 IP
  5. dulidi

    dulidi Peon

    Messages:
    121
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    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.
     
    dulidi, Feb 8, 2010 IP
  6. PHAZ

    PHAZ Guest

    Messages:
    371
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Trust me.. it wont.
     
    PHAZ, Feb 9, 2010 IP
  7. dulidi

    dulidi Peon

    Messages:
    121
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    How to pass data through sell.cgi?
     
    dulidi, Feb 9, 2010 IP
  8. PHAZ

    PHAZ Guest

    Messages:
    371
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #8
    It's ok.. Don't mention it...
     
    PHAZ, Feb 11, 2010 IP