1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

TUTORIAL + SCRIPT: Clickbank Sales Notifications (via email)

Discussion in 'Clickbank' started by VitaVee, Jun 21, 2010.

  1. VitaVee

    VitaVee BANNED BANNED

    Joined:
    Feb 10, 2010
    Messages:
    99
    Likes Received:
    467
    Hi

    I remember a time when I was login to my clickbank account several times per day to check my stats :)

    I think this is a quite typical behavior for affiliate marketers.

    I have just prepared a little script for all of you the compulsive stat checkers :D

    Instead of going to clickbank to check your stats you will now be able to receive an email each time a transaction occurs and in realtime.

    I'm tracking:

    1/ Initial sales
    2/ Recurring billings
    3/ Cancellation of recurring billings
    4/ Refunds

    If you use this script you will receive emails like these ones:

    [​IMG]

    If you open an email you will get the full details about the transaction.
    The amount, the customer info, the sold/refunded product etc...

    Ok so here is how to use this script.

    STEP 1:
    Login to your clickbank account.

    STEP 2:
    Display that page (Account Settings / My Site):
    [​IMG]

    STEP 3:
    Scroll down until you see the "Advanced Tools", then click on Edit.
    [​IMG]

    STEP 4:
    You will have to request access to the instant notification feature. Just click on the "request access" link:
    [​IMG]

    ... it will expand the box and display several options, select everything like shown in the screenshot below then click on save:

    [​IMG]

    STEP 5:
    After saving you should get your request immediately accepted. So now let's configure the script....

    Once again scroll down until you see the "Advanced Tools", then click on Edit.
    [​IMG]

    STEP 6:
    This time you will see this:
    [​IMG]

    For the secret key enter a value that can be up to 16 letters or digits and must be in ALL CAPS.
    For this example, let's say that our secret key is VITAVEE101.

    For the Instant Notification URL 1, enter this:
    Code:
    http://vitavee.com/cbinstantsalesnotifications.php?email=YOUR-EMAIL-ADDRESS&key=VITAVEE101
    Make sure to replace YOUR-EMAIL-ADDRESS by your real email address and VITAVEE101 by the secret key you have chosen.

    Then click on test to see if it is setup correctly. If it is you should receive an email such as this one:

    Code:
    SUBJECT: ClickBank Notification - TEST
    
    BODY:
    Product: A passed in title
    Publisher: vitavee
    Affiliate ID: 
    Transaction: TEST
    Amount (in cents): 100
    Customer Name: Test User
    Customer Email: testuser@somesite.com
    TID: 
    
    Hope this will be helpful for all the compulsive clickbank stats checkers ;)

    Vita Vee
     
    • Thanks Thanks x 10
    Last edited: Jun 21, 2010
  2. thestrangefruit

    thestrangefruit Regular Member

    Joined:
    Jan 25, 2009
    Messages:
    204
    Likes Received:
    27
    Looks good, will be using it in the near future.

    Thank you

    Thestrangefruit
     
  3. BigBuddy

    BigBuddy Account Under Review

    Joined:
    Oct 6, 2008
    Messages:
    6,421
    Likes Received:
    14,039
    Gender:
    Male
    Location:
    BHW
    Ha ha you are right vitavee, i have this habit of checking multiple times per day. Much appreciated.
     
  4. VitaVee

    VitaVee BANNED BANNED

    Joined:
    Feb 10, 2010
    Messages:
    99
    Likes Received:
    467
    You're welcome guys :)

    @Umair: I have setup this address and this name so people using this script don't forget me :)

    But it's not a big deal, you will never have to reply to those automated emails anyway, the only things that count is that you get the notifications instantly.
     
  5. webnise

    webnise Regular Member

    Joined:
    Dec 21, 2009
    Messages:
    296
    Likes Received:
    121
    Location:
    London
    You are dead right VitaVee, I do check my stats very regularly :)

    Thanks for leading the way. I have come up with my own script to send these notifications.
     
  6. VitaVee

    VitaVee BANNED BANNED

    Joined:
    Feb 10, 2010
    Messages:
    99
    Likes Received:
    467
    Way to go webnise :thumbsup:

    Now don't spend the whole day checking your emails :)
     
  7. webnise

    webnise Regular Member

    Joined:
    Dec 21, 2009
    Messages:
    296
    Likes Received:
    121
    Location:
    London
    Ye..No I won't...thanks to Instant Messengers ;)..But, I will put up a filter to redirect these emails to MONEY folder :D
     
  8. virus_1720

    virus_1720 Jr. VIP Jr. VIP Premium Member

    Joined:
    May 9, 2008
    Messages:
    1,686
    Likes Received:
    1,197
    Location:
    BHW
    I am coming to paris and staying with you VitaVeee...lol
    Your techniques rock, I implemented the Zero to $5000 systems a few months back and I was amazed how well it worked.
    Never did clickbank back then but now I do it all the time and checking stats is just a bad unproductive habit.
     
    • Thanks Thanks x 1
  9. N0H4T

    N0H4T Junior Member

    Joined:
    Sep 14, 2008
    Messages:
    109
    Likes Received:
    89
    Occupation:
    Full Time Internet Marketer
    Location:
    Frankfurt, Germany
    Exec VIP, Nice!!! Vitavee is the ultimate Guru Non-Guru. Though I have not been able to keep up the momentum with the from 0 to profits technique, I did see nearly instant results, got traffic and made sales!

    Buy his stuff, its better than 99.99999% of the crap out there! There is a reason how he became execvip with only 50 Posts!!!
     
    • Thanks Thanks x 1
  10. ChanzGrande

    ChanzGrande Jr. VIP Jr. VIP Premium Member

    Joined:
    Feb 16, 2008
    Messages:
    2,484
    Likes Received:
    1,158
    Occupation:
    Accountant
    Location:
    Northern Woods Counting Money
    Hey,

    You know I have mad love for you Vita Vee, but let's be fair - this is downright dishonest.

    You are representing to all of these people that your sole goal and intention here is to remain favorably in their memory for providing a tool when in fact your intention is to parse data determining trends, and finding campaigns to copy.

    If you are so giving, please provide the actual code as so many others do here on BHW. This isn't your forum despite your elevated status which you deserve for your overall contribution to IM over the past year.

    There should be no reason we would need to run this script from your servers other than that you are parsing the data for analysis, so please just play it straight. Keeping all of Vita's Steps above, you can keep the code below stored on your own server, and prevent others from gaining from your hard work under false pretenses:

    USE THIS CODE ON YOUR OWN SITE
    1. Copy to notepad file.
    2. REPLACE SECRET KEY as indicated, and EMAIL address as indicated
    3. Save the file with a .php extension
    4. Upload it to your server
    5. Use the url to the file you uploaded as your clickbank notification url.
    6. Keep your clickbank sales data PRIVATE. - No offense VITA

    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']);
    
    ?>
    
     
    • Thanks Thanks x 7
    Last edited: Jul 6, 2010
  11. VitaVee

    VitaVee BANNED BANNED

    Joined:
    Feb 10, 2010
    Messages:
    99
    Likes Received:
    467
    @virus_1720 and @N0H4T: Thanks a lot guys :) Don't hesitate to send me the URLs of your sites via PM so I can have a look - I want to be proud of your achievements :)

    @Davers: There was a time when lying was worth than dying, people were trusted.

    My sole gole was really to help with that thread. I don't collect any information and don't do anything else than being an interface between clickbank and the affiliates using my script.

    I could have given the code without any problem, the reason I didn't is I just wanted to make the process as easy and fast as possible. Since no one asked the code here I didn't post it. But you might be interested in reading my discussion and the update I made to my similar thread here:

    Code:
    http://www.warriorforum.com/main-internet-marketing-discussion-forum/227141-tutorial-script-clickbank-sales-notifications-via-email.html
    Anyone using the script on my servers is safe - I don't do ANYTHING with that info and honestly I don't need it at all :D
     
    • Thanks Thanks x 1
  12. humvee9

    humvee9 Power Member

    Joined:
    Jul 1, 2010
    Messages:
    703
    Likes Received:
    220
    I may be out of Topic but with all due respect,
    May i ask Vitavee if his course "From Zero to Profits" still works ??

    Regards,
    Humvee9
     
  13. ChanzGrande

    ChanzGrande Jr. VIP Jr. VIP Premium Member

    Joined:
    Feb 16, 2008
    Messages:
    2,484
    Likes Received:
    1,158
    Occupation:
    Accountant
    Location:
    Northern Woods Counting Money
    @VitaVee Great thread over there with lots of different views. They pointed out issues I would not even have thought about. In any event, we appreciate your forthrightness, and that you actually encouraged users in your other thread to install their own working version of the script on their own servers.

    Rock on!
     
    • Thanks Thanks x 1
  14. glew

    glew Junior Member

    Joined:
    Feb 10, 2008
    Messages:
    141
    Likes Received:
    93
    Last edited: Jul 25, 2010
  15. VitaVee

    VitaVee BANNED BANNED

    Joined:
    Feb 10, 2010
    Messages:
    99
    Likes Received:
    467
    @neverblue that's why I didn't reply - I'm obviously not the best person to answer this :)

    @glew thanks for the link - didn't see this, well the only difference is that I'm making it easier for those who don't want to (or don't know how to) deal with ftp
     
  16. imguy

    imguy BANNED BANNED

    Joined:
    Jun 25, 2011
    Messages:
    182
    Likes Received:
    191
    Does still this method works?