Are you waiting or working? (Clickbank aff's wil love this)
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
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']);
?>
-
littleredwagon -
Thanks
{{ DiscussionBoard.errors[4362406].message }} -
-
MateHegedus Banned{{ DiscussionBoard.errors[4362806].message }}-
Ross Vegas -
Thanks - 1 reply
{{ DiscussionBoard.errors[4363306].message }}-
Goldenboy -
Thanks
{{ DiscussionBoard.errors[4367499].message }} -
-
-