Black Hat Forum
Go Back   Black Hat Forum > Making Money Forum > Affiliate Programs > Clickbank

Clickbank Discuss all of your ClickBank related products and tactics here. Note: Do not spam your affiliate links here!

Search
 
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-05-2008, 03:40 PM
MontyzPython's Avatar
Executive VIP
 
Join Date: Nov 2007
Location: USA
Posts: 1,726
Thanks: 172
Thanked 172 Times in 102 Posts
Activity: 75%
Longevity: 34%
Today: 2/5
Default ClickBank: Sales Notification by E-Mail

To build on BlackBeret's earlier post, I found this on another site. This is the EXACT code and procedure for getting ClickBank to e-mail you whenever you make a sale...

Instructions:
First copy the script, change the Secret Key(an Uppercase letters and numbers string you will enter into your clickbank account in step 7 below) and Email Address to your own in the script, and upload it to your web server, I called mine mail.php I think, Then

1. Log into your account
2. Click the "Account Settings" tab
3. Click "My Site" in the sub nav
4. Locate the "Instant Notification" field and click the "Click HERE to request access" hyper link
5. Fill out the form and thoroughly review the terms of use.
6. Click the "Submit" button at the bottom of the form
7. Enter a Secret Key (Uppercase letters and numbers only) into the "My Site" Screen
8. Enter the URL of the file you uploaded to your site into the Instant Notification Box
9. Hit Save Changes
10. Click on Test next to the address you entered, and you should get a test email!

Script:

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']);
?>
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 4 Users Say Thank You to MontyzPython For This Useful Post:
BlackBeret (09-05-2008), chachinga (09-05-2008), jimmyvee (09-05-2008), ptsniper (09-05-2008)
  #2 (permalink)  
Old 09-05-2008, 05:03 PM
BlackBeret's Avatar
Jr. VIP
 
Join Date: Jul 2008
Location: Quick Stop Convenience Store, NJ
Posts: 235
Thanks: 49
Thanked 20 Times in 15 Posts
Activity: 52%
Longevity: 11%
Today: 0/5
Default Re: ClickBank: Sales Notification by E-Mail

Thanks, I'll give it a try. I just need some CB sales to make sure it works.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 09-05-2008, 05:26 PM
MontyzPython's Avatar
Executive VIP
 
Join Date: Nov 2007
Location: USA
Posts: 1,726
Thanks: 172
Thanked 172 Times in 102 Posts
Activity: 75%
Longevity: 34%
Today: 2/5
Default Re: ClickBank: Sales Notification by E-Mail

As you are adding the URL in ClickBank, you can also just click on "test" to see if it's working.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 09-05-2008, 05:55 PM
chachinga's Avatar
Jr. VIP
 
Join Date: Apr 2008
Location: Alberta, Canada
Posts: 226
Thanks: 18
Thanked 13 Times in 12 Posts
Activity: 37%
Longevity: 20%
Today: 2/5
Default Re: ClickBank: Sales Notification by E-Mail

This must be for if you make a sale as an affiliate?
__________________
The Next Mass Torrent Uploader ... Coming soon.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 09-05-2008, 05:55 PM
BANNED
 
Join Date: Jul 2008
Posts: 706
Thanks: 5
Thanked 121 Times in 88 Posts
Activity: 6%
Longevity: 10%
Today: 0/5
Default Re: ClickBank: Sales Notification by E-Mail

I wrote my own license script in php that works with clickstank.. There's no need to have your script email you though as clickstank will do that. At least they have always emailed me with a sales receipt so I can refund pplz if needed.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 09-05-2008, 05:58 PM
BANNED
 
Join Date: Jul 2008
Posts: 706
Thanks: 5
Thanked 121 Times in 88 Posts
Activity: 6%
Longevity: 10%
Today: 0/5
Default Re: ClickBank: Sales Notification by E-Mail

Quote:
Originally Posted by chachinga View Post
This must be for if you make a sale as an affiliate?
No, only for publishers selling things.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 09-05-2008, 06:11 PM
MontyzPython's Avatar
Executive VIP
 
Join Date: Nov 2007
Location: USA
Posts: 1,726
Thanks: 172
Thanked 172 Times in 102 Posts
Activity: 75%
Longevity: 34%
Today: 2/5
Default Re: ClickBank: Sales Notification by E-Mail

Incorrect, bhnoobz. This IS for affiliates. If you are selling ClickBank products as an affiliate, this will notify you via e-mail whenever you make a sale.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 09-05-2008, 06:13 PM
chachinga's Avatar
Jr. VIP
 
Join Date: Apr 2008
Location: Alberta, Canada
Posts: 226
Thanks: 18
Thanked 13 Times in 12 Posts
Activity: 37%
Longevity: 20%
Today: 2/5
Default Re: ClickBank: Sales Notification by E-Mail

Now that is cool. You can capture that email address and send related products and your own "bonus" material filled with aff links. I think i'll hit you up on this
__________________
The Next Mass Torrent Uploader ... Coming soon.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 09-05-2008, 06:24 PM
BANNED
 
Join Date: Jul 2008
Posts: 706
Thanks: 5
Thanked 121 Times in 88 Posts
Activity: 6%
Longevity: 10%
Today: 0/5
Default Re: ClickBank: Sales Notification by E-Mail

Quote:
Originally Posted by MontyzPython View Post
Incorrect, bhnoobz. This IS for affiliates. If you are selling ClickBank products as an affiliate, this will notify you via e-mail whenever you make a sale.
neet. i've never done the affiliate end.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 09-05-2008, 07:41 PM
MontyzPython's Avatar
Executive VIP
 
Join Date: Nov 2007
Location: USA
Posts: 1,726
Thanks: 172
Thanked 172 Times in 102 Posts
Activity: 75%
Longevity: 34%
Today: 2/5
Default Re: ClickBank: Sales Notification by E-Mail

Quote:
Originally Posted by chachinga View Post
Now that is cool. You can capture that email address and send related products and your own "bonus" material filled with aff links. I think i'll hit you up on this
Well, the only e-mail address is your OWN. You simply telling ClickBank to send YOU an e-mail whenever you make a sale. I don't THINK it will give you the buyer's e-mail address. All you will see is that you made a sale and the amount, I believe.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to MontyzPython For This Useful Post:
mikie46 (09-06-2008)
  #11 (permalink)  
Old 09-05-2008, 10:14 PM
Junior Member
 
Join Date: Feb 2008
Posts: 136
Thanks: 4
Thanked 11 Times in 11 Posts
Activity: 36%
Longevity: 25%
Today: 1/5
Default Re: ClickBank: Sales Notification by E-Mail

Easy setup and works great!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 09-05-2008, 10:35 PM
BANNED
 
Join Date: Jul 2008
Posts: 706
Thanks: 5
Thanked 121 Times in 88 Posts
Activity: 6%
Longevity: 10%
Today: 0/5
Default Re: ClickBank: Sales Notification by E-Mail

Affiliates get the email address of the person that orders too.. Login to the stats and go to reports.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 09-06-2008, 01:09 AM