Integrating Clickbank via INS

DAP has built-in support for ClickBank’s Instant Notification Services (INS) (starting v3.9)

This is very similar to Paypal’s Instant Payment Notification (IPN).

The ClickBank INS notification will be processed instantly in real time, and your members will receive their welcome email with their membership login info instantly after purchase.

For high-level ClickBank user-flow, see this post.

Integrating with ClickBank is the same whether it’s a one-time product, a subscription product with recurring payments, or a PitchPlus (one-click upsells) product.

CB INS Setup

1. Login to your ClickBank account

2. Go to the “Account Settings” tab at the top

3. Click on “My Site” from the sub-menu at the top.

4. Under Advanced Tools, update the Instant Notification Service URL (accept the terms of service etc), and make sure the URL points to:


Replace YourSite.com above with your actual domain name.

5.  Screenshot below shows Version 1.0, but starting DAP v4.2, we have added support for CB INS 2.1.

So if you’re using DAP v4.2 or later, then select INS Version 2.0 and set the CB INS URL TO :


But if you’re using DAP v4.1 or earlier, then select Version 1.0

and set INS URL TO:


6. Whatever value you put in the Secret Key field in ClickBank (see image above), put the same value (must be ALL UPPERCASE) in to your DAP Admin Dashboard on your web site, at:

Setup > Config > Payment Processing > Secret Authorization Key used when interfacing with external systems

7. The Product Title in CB must match the Product Name in DAP.

8. The Thank You Page url in CB product settings page, should be set to point a static thank-you page you create in your WordPress blog – something like http://YourSite.com/thank-you/ .

And the page should state something to the effect of…

Thank you for your purchase. The download information for the product you just purchased has been sent to the email id you just use during the purchase.

Please check that email id in a few minutes, and you will see an email from us with your login information.

That’s it!


Make a test purchase.

If the integration was setup correctly, the user will be registered in DAP.  You will find the user account in the DAP Users > Manage screen and you will find the completed transaction / order details on the DAP Orders page.

If the test order is listed in DAP Orders page, then CB is correctly integrated with DAP.  Check the payment status in DAP Orders page. If it says Success, but no welcome/thank-you email got sent, then make sure you set the thank-you email for that product in DAP products page.


If no order is listed in DAP orders page for the test purchase, then CB is not integrated with DAP.

To troubleshoot, do the following:

  1. Set DAP Setup > Config > Log Level to 5.
  2. Empty log content under System -> Logs.
  3. Run another test purchase.
  4. Send us the log snippet from System -> Logs.
Click Here to Leave a Comment Below 32 comments
Paul - October 26, 2010

Will we still need to run any CRON jobs?

Veena Prashanth - October 27, 2010

There are 2 DAP cron jobs.

1. dap-emailorder.php

This cron is only needed if you use 1SC for payment processing. Not required if you use paypal or Clickbank INS service.

2. dap-cron.php

This is needed regardless of the payment processor you use to process email broadcasts, autoresponders, bulk imports, affiliate commissions etc.

Paul - October 27, 2010

Much Thanks Veena!

I must add the INS service works perfectly! 🙂

Thank you!

Payment Processing Via Email — DAP Documentation - November 8, 2010

[…] Clickbank, you have the option of using CB INS.  See DAP integration with Clickbank via INS […]

Carlos Barahona - December 20, 2010

Works like a charm!…

Thanks Veena / Ravi !

jason - January 25, 2011

Can we run paypal and CB at the same time?

Veena Prashanth - January 25, 2011

Hi Jason,
Yes, you can integrate both Paypal and CB with DAP and use both at the same time.

Eric - June 22, 2011

Will you support version 2.1 of the IPN anytime soon? Lots of new and useful data comes through 😉

Veena Prashanth - June 22, 2011

Hi Eric,

We will be supporting it in the upcoming release of dap (dap 4.2).

Eric - June 22, 2011

And the instant login functionality? I have a clickbank integration that could really use this, as well as proper upsell and downsell flows, I can hack it together myself, but a supported version would be excellent, any chance of that?

Veena Prashanth - June 22, 2011

The instant login functionality will not work for CB because INS (instant notification) that comes in from CB is a backend notification.

Shaun - November 8, 2011

You said to select INS Version 2.0, is this correct or should I select INS Version 2.1?

Veena Prashanth - November 8, 2011


If youre using DAP v4.2 or later, then select INS Version 2.0 OR INS 2.1 BUT the CB INS URL should point to –
http://YourSite.com/dap/dap-clickbank-2.1.php (replace yoursite.com with the name of your site).

If youre using DAP v4.1 or earlier, then select Version INS 1.0 and point to http://YourSite.com/dap/dap-clickbank.php (replace yoursite.com with the name of your site).

If you are on dap 4.2.1, and CB INS 2.1 or 2.0 does not work even if you have correctly used the dap-clickbank-2.1.php script, then open a support ticket with us and we will troubleshoot.

For a quick test, if INS 2.1 or 2.0 does not work, switch to INS 1.0 and dap-clickbank.php script and see if that works.

Mike - January 13, 2012

Question: Before starting this membership site I’ve been using clickbank to sell dozens of products.

These products are NOT going to be available in membership site using DAP.

I set everything up in clickbank…but I get error message notifications everytime someone buys a product that is not part of my membership site using DAP.

Is that okay?

Veena Prashanth - January 13, 2012

Yes, that’s ok. You can ignore the error.

Mike - January 13, 2012

Thank you for the reply.

Mike - January 13, 2012

I apologize if this was covered in the documentation. If it was I must have missed it.

I was wondering when someone cancels a recurring billing with clickbank when that is used as the processor will they automatically be removed or paused as user in DAP as well or does that have to be done manually? -Mike

Veena Prashanth - January 13, 2012

Here’s how all cancellations work in DAP.


Johnny - January 21, 2012

I’m a tad bit confused about the ClickBank integration. My questions are: what is the main purpose of integrating with ClickBank? Will it handle my needs listed below?

I’m considering to use ClickBank for these reasons:

– using ClickBank payment gateway (to handle credit cards)
– integrate with and credit my ClickBank affiliates.

Eric Schwarzer - January 21, 2012

RE: ClickBank – Yes to the first, and mostly for the 2nd – ClickBank will handle payments to affiliates for you – there’s nothing to do really.

Johnny - January 22, 2012

Thanks Eric. I did have a few other questions if you or anybody can help. I appreciate it.

– Can I use to ClickBank for affiliates but not as a payment gateway?
– Can I use both the ClickBank affiliate program and DAP affiliate functions at the same time?

Eric Schwarzer - January 22, 2012

No – ClickBank handles everything, there’s no way to use your own payment system and CB.

Not 100% sure on the answer to the second as I don’t know what you mean exactly.. You could use DAP and it’s own functions with PayPal and also use ClickBank (I think, double check before you order).. Not sure if that’s what you mean or not.

Veena Prashanth - January 22, 2012

>>- Can I use both the ClickBank affiliate program and DAP affiliate functions at the same time? >>

They are separate programs, you can use either dap or CB. CB affiliate and dap affiliate programs are independent programs, not integrated.

suzanne - March 9, 2012

Do you have instructions on integrating with RAP Bank, which is like Clickbank? Thanks.

Veena Prashanth - March 10, 2012

We do not have instructions for RAP but if they send the exact same IPN parameters as CB upon purchase completion, then you can use the DAP->CB instructions to connect RAP to DAP.

Suzanne - March 10, 2012

Hi Veena,

Thanks. I sent you RAP Bank’s instructions on setting up download pages through a new support ticket. DAP and RAP Bank seem to conflict, and I don’t know how to resolve that.

Marco - May 9, 2012

I tried INS2.1 and the user would get registered with the first name and last name all in full caps. Switched back to INS1.0 and name got saved with correct upper / lower case. Any ideas?

Veena Prashanth - May 10, 2012

Looks like CB sends first name and last name in full caps if you use INS2.1.

Pls open a support ticket with us and so we can take a look at the dap logs to confirm this.

omar - May 19, 2012


I have three clickbank accounts, for three different products, and I would like to integrate them with just one member area (DAP).

Is it posible to integrate various clickbank accounts with DAP if I use the same secret key in all of them?

Thank you.

Veena Prashanth - May 19, 2012

Hi Omar,

>>Is it posible to integrate various clickbank accounts with DAP if I use the same secret key in all of them? << Yes, it's possible. Just set the INS URL to point to http://YOURSITE.com/dap/dap-clickbank.php in all the CB accounts.
Also make sure the product names in your CB accounts exactly match the dap product names. That’s it.

Nicolay - February 23, 2016

Clickbank does not look like this anymore. It doe not have INS in the form you describe. What to do now?

Veena Prashanth - February 23, 2016

Please use this document for CB integration:




Leave a Reply: