Updated: Oct. 15th, 2015 to work with ClickBank IPN Version 6.0
Rather than logging into your ClickBank account continually to see if you’ve made a sale, it’s much easier and convenient to receive an email informing you of one. Unfortunately, back in 2003 ClickBank discontinued sending email sale notifications to its affiliates. Although this feature is no longer available, there is still a way to receive email sale notifications. The method requires using a script and it’s fairly simple to set up, anyone with a website can do it. Below I provide you with a free script that will send you ClickBank sale notifications by email. But before I cover how to set it up, let’s go over some of the basics of the script.
Requirements…
A ClickBank account
An email address (to receive your sale notifications)
A web hosting account.
How it Works…
The script uses ClickBank’s Instant Notification Service.
When you make a sale, ClickBank’s Instant Notification Service sends the sale information to the script installed on your website.
The script then takes that sale information and puts it into an email and sends the email to whatever email address you’ve defined in the script.
Additional Details…
Although ClickBank still sends sale notifications by email to vendors, this script will work for all sales within a ClickBank account, including vendor and affiliate sales.
The script will send an email notification for sales, refunds, chargebacks, rebills, and rebill cancellations.
You have my permission to use this script freely and customize it however you’d like.
It’s possible to use SSL with ClickBank’s Instant Notification Service and this script, but it’s not required.
Installation…
Copy the script below to NotePad, WordPad, or any HTML editor and save it as clickscoopnotify.php
Replace the following information in the script…
Line 7 and 8 – Replace ENTER EMAIL ADDRESS HERE with the email address you want your notifications sent to and from. Both fields can have the same email address.
Line 9 – You’ll need to make up a secret key, this can be any series of up to 16 numbers and letters but must be in ALL UPPERCASE. Replace ENTER SECRET KEY HERE with your new secret key.
Upload the script to your website and note the path to the script. For example http://www.yourwebsite.com/folder/clickscoopnotify.php
Enable “Instant Notification” in your ClickBank Account.
Log into your ClickBank account and click on the Settings tab.
Click on “My Site.”
Under the “Advanced Tools” section click on “Edit.”
Under the “Advanced Tools Editor” click “request access.”
Answer the questions and make sure you’ve reviewed the Terms of Use. You’ll need to scroll to the bottom as there is a checkbox at the end of the terms. Once you’ve agreed to the terms, click on “Save Changes & Request API Access.”
Enter your Secret Key. This is the same secret key you created in Step 2b above.
Paste the path to your script into the field “Instant Notification URL”:
Make sure version 6.0 is selected and click on TEST IPN. This will send a $1 test purchase notification. At this point you should receive an email. If not, check the steps above to make sure you’ve set everything up correctly.
Click to Save Changes.
Further customization…
Currently, the script emails information in the following way…
Email Subject –
New Transaction: (Transaction Type): $(Amount)
Body of email –
Product: (Title of product)
Vendor: (Product Vendor)
Affiliate: (Referring Affiliate) – Only displays if affiliate referred the sale.
TID: (Tracking ID) – Only displays if there a TID is present.
Customer Name: (Customer Name) – Only displays if sale is made as a vendor.
Customer Email: (Customer Email Address) – Only displays if sale is made as a vendor.
Amount: $(Amount paid to you)
By editing the script, you can customize the information in numerous ways to fit your specific needs. All the post parameters available with ClickBank’s Instant Notification Version 6.0 will work with this script. By editing the script you could display additional customer or transaction information, rebill info., product item numbers, and more.
Troubleshooting…
Make sure to double check your email address, Secret Key, and the Instant Notification URL.
The sale notification email may be getting marked as spam, so make sure to check your spam folder.
Verify with your web host that this script will work. In rare cases a web host may require a different email process as in the case of RackSpace cloud hosting.