Are you waiting or working? (Clickbank aff's wil love this)

3 replies
In the last month or so I've been focusing on monetizing a high traffic IM blog. In relatively short time I've managed to get it making $xxx /week, growing quickly towards $x,xxx /week.

All well and good, but there's a problem. I found myself checking the account daily to monitor tracking id's and make sure it's progressing. (basically waiting for sales) Which became a HUGE time suck.

So this morning I thought I'd do some work, and stop obsessing over stats.

I browsed and finally came on the code below (*swiped from another forum)

You can upload to your server, and get instant notifications to your phone or email!

In CB account settings -> my site -> advanced tools ( you should see secret key and instant notification url )

Change secret key in code below to match, edit the "your email address here" and then upload.

In CB enter the url where you uploaded. Click test and confirm. (i set mine to version 1)

P.S.
If you want it as a test message, send a text from your phone to your email, and check the from address. That's the email to use in the code below.

Enjoy!

PHP Code:
<?php 
function cbValid() { 
    
$key='Your SECRET KEY here'
    
$ccustname $_REQUEST['ccustname']; 
    
$ccustemail $_REQUEST['ccustemail']; 
    
$ccustcc $_REQUEST['ccustcc']; 
    
$ccuststate $_REQUEST['ccuststate']; 
    
$ctransreceipt $_REQUEST['ctransreceipt']; 
    
$cproditem $_REQUEST['cproditem']; 
    
$ctransaction $_REQUEST['ctransaction']; 
    
$ctransaffiliate $_REQUEST['ctransaffiliate']; 
    
$ctranspublisher $_REQUEST['ctranspublisher']; 
    
$cprodtype $_REQUEST['cprodtype']; 
    
$cprodtitle $_REQUEST['cprodtitle']; 
    
$ctranspaymentmethod $_REQUEST['ctranspaymentmethod']; 
    
$ctransamount $_REQUEST['ctransamount']; 
    
$caffitid $_REQUEST['caffitid']; 
    
$cvendthru $_REQUEST['cvendthru']; 
    
$cbpop $_REQUEST['cverify']; 
    
    
    
$xxpop sha1("$ccustname|$ccustemail|$ccustcc|$ccuststate|$ctransreceipt|$cproditem|$ctransaction|" 
        
."$ctransaffiliate|$ctranspublisher|$cprodtype|$cprodtitle|$ctranspaymentmethod|$ctransamount|$caffitid|$cvendthru|$key"); 

    
$xxpop=strtoupper(substr($xxpop,0,8)); 

    if (
$cbpop==$xxpop) return 1
    else return 
0


if (
cbValid()) 
mail("your email address here""ClickBank - " $_REQUEST['ctransaction'],"Product: " $_REQUEST['cprodtitle'] . "\nPublisher: " $_REQUEST['ctranspublisher'] . "\nAffiliate: " $_REQUEST['ctransaffiliate'] . "\nTransaction: " $_REQUEST['ctransaction'] . "\nAmount: " $_REQUEST['ctransamount']); 
?>
#aff #clickbank #waiting #working
  • Profile picture of the author littleredwagon
    good info, thanks.
    {{ DiscussionBoard.errors[4362406].message }}
  • Profile picture of the author MateHegedus
    Banned
    [DELETED]
    {{ DiscussionBoard.errors[4362806].message }}
    • Profile picture of the author Ross Vegas
      I should add, it works like a champ. Set it up this morning, and just got text messages while I was at the gym!

      I'm >< that close to hacking my phone to make it do a cha-ching sound...but i'm resisting the temptation.

      Also, if you want to do only sales notifications, you need to change one line to this...

      if($cbpop==$xxpop && $ctransaction =='SALE')

      P.S.
      If you want to get more stats, use the variables here...
      http://www.clickbank.com/help/affili...ation-service/

      (I'm working on the code for version two, btw. Will followup later)
      {{ DiscussionBoard.errors[4363306].message }}
      • Profile picture of the author Goldenboy
        Thanks for the info man, this would really be a great help. Can't wait to try what you have shared to us. I am guilty in some time about your question, there are really time that I wasn't working, I am more into waiting since there comes a point that I am stressed out of sitting too much in front of a computer and the challenge of getting more traffics to your site. But whatever the settings is, we should work for it and not wait for it.
        Thanks again man.
        {{ DiscussionBoard.errors[4367499].message }}

Trending Topics