Starting with DAP v3.9, DAP now has support for ClickBank's Instant Notification Services (INS). 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.
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:
http://YourSite.com/dap/dap-clickbank.php
Replace YourSite.com above with your actual domain name.
5. Select Version 1.0 .
6. Whatever value you put in the Secret Key field in ClickBank (see image above), put the same value (in 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.
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: