{"id":3025,"date":"2013-02-17T15:44:38","date_gmt":"2013-02-17T23:44:38","guid":{"rendered":"http:\/\/www.digitalaccesspass.com\/doc\/?p=3025"},"modified":"2017-06-10T14:24:46","modified_gmt":"2017-06-10T21:24:46","slug":"clickbank-auto-login","status":"publish","type":"post","link":"https:\/\/digitalaccesspass.com\/doc\/clickbank-auto-login\/","title":{"rendered":"Clickbank Auto-Login"},"content":{"rendered":"<h2><strong>CB=&gt;DAP Integration<\/strong><\/h2>\n<p>When you integrate CB with DAP using this feature, the user will get auto-logged-in to dap upon purchase, and you can redirect users wherever you want after they are auto-logged-in. The users will get auto-logged when they hit the &#8216;Complete My Purchase&#8217; button on the CB page after they complete purchase. But even if the users decide to abort and do not hit the &#8216;Complete My Purchase&#8217; button, the great thing about this new feature is&#8230; DAP has a backdoor to make sure the user account gets created automatically (for successful purchase) and you do NOT have to handle the user creation manually.<\/p>\n<p>So you are fully covered regardless of what the user\/buyer does after the purchase as far as membership account creation is concerned.<\/p>\n<p>Pls NOTE: DAP does not have this feature currently but we will make this feature available in DAP 4.5 (upcoming release of dap).<br \/>\n======================================<br \/>\nUsers will get auto-logged-in to membership upon CB purchase.<\/p>\n<p>1. Login to your ClickBank account<\/p>\n<p>2. Go to the &#8220;<strong>Account Settings<\/strong>&#8221; tab at the top<\/p>\n<p>3. Click on &#8220;<strong>My Site<\/strong>&#8221; from the sub-menu at the top.<\/p>\n<p><img loading=\"lazy\" title=\"cbins_mysite\" src=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2010\/10\/cbins_mysite.png\" alt=\"\" width=\"339\" height=\"76\" border=\"1\" \/><\/p>\n<p>4. Under <strong>Advanced Tools<\/strong>, update the <strong>Instant Notification Service<\/strong> URL (accept the terms of service etc), and make sure the URL points to:<\/p>\n<blockquote>\n<h3><strong>http:\/\/YourSite.com\/dap\/dap-<\/strong><strong>clickbank-6.0<\/strong>.php (Version 6.0)<\/h3>\n<\/blockquote>\n<p>Replace <strong>YourSite.com<\/strong> above with your actual domain name.<\/p>\n<p><a href=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2013\/02\/CB_INS.png\"><img loading=\"lazy\" src=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2013\/02\/CB_INS.png\" alt=\"CB_INS\" width=\"398\" height=\"127\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>5. Whatever value you put in the <strong>Secret Key<\/strong> field in ClickBank (see image above), put the same value (<strong>must be ALL UPPERCASE<\/strong>) in to your <strong>DAP Admin Dashboard<\/strong> on your web site, at:<\/p>\n<p><strong>DAP Admin -&gt; Setup &gt; Config &gt; Payment Processing &gt; Secret Authorization Key used when interfacing with external systems<\/strong><\/p>\n<p><img loading=\"lazy\" title=\"cbins_secretkey\" src=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2010\/10\/cbins_secretkey.png\" alt=\"\" width=\"336\" height=\"116\" border=\"1\" \/><\/p>\n<p>6.\u00a0 Create product in your CB account. Say the product name is &#8216;facebook secrets&#8217;. Say the product price is $47 (one-time).<\/p>\n<p>7. Create same name (facebook secrets) product in DAP.<\/p>\n<p><strong>IMPORTANT<\/strong>: The <strong>Product Title <\/strong>in CB must match the <strong>Product Name<\/strong> in DAP.<\/p>\n<p>8. Set the <strong>CB Product<\/strong> =&gt; &#8216;<strong>Thankyou<\/strong> <strong>URL<\/strong>&#8216;\u00a0 to :<\/p>\n<p><strong>http:\/\/www.YOURSITE.com\/dap\/dap-CB-autologin.php?corderamount=47&amp;cprodid=2&amp;cproditem=facebook+secrets&amp;redirect=\/thankyou.html<\/strong><\/p>\n<p>The <strong>corderamount<\/strong> should be set to your product price in the thankyou url querystring.<br \/>\nThe <strong>cproditem<\/strong> needs to be set to your CB product name (replace space with &#8220;+&#8221; in the name, for ex- &#8220;facebook secrets&#8221; will be &#8220;facebook+secrets&#8221;).<\/p>\n<p>The <strong>cprodid<\/strong> needs to be set to your CB product ID.<\/p>\n<p>Set the <strong>redirect<\/strong> tag to tell dap where to send the user after they are logged-in automatically. If you want to redirect to http:\/\/YOURSITE.com\/thankyou.html, then set the CB thankyou URL to:<\/p>\n<p>http:\/\/www.YOURSITE.com\/dap\/dap-CB-autologin.php?corderamount=47&amp;cprodid<strong>=<\/strong>2&amp;cproditem=facebook+secrets&amp;redirect=\/thankyou.html<\/p>\n<p><a href=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2013\/02\/cb_product.png\"><img loading=\"lazy\" src=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2013\/02\/cb_product.png\" alt=\"cb_product\" width=\"405\" height=\"188\" \/><\/a><\/p>\n<p>9. Go to Clickbank -&gt; Account Settings -&gt; &#8216;My Site&#8217; tab (https:\/\/CLICKBANKUSER.accounts.clickbank.com\/account\/site.htm)<\/p>\n<p><strong>Here you can generate test CC for test the auto-login.<\/strong><\/p>\n<p>11. For testing, visit the CB payment page (for ex : <strong>1.pay.clickbank.net<\/strong> if your CB productID=1) and test using the test CC generated in step #10 above.<\/p>\n<p>That&#8217;s it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CB=&gt;DAP Integration When you integrate CB with DAP using this feature, the user will get auto-logged-in to dap upon purchase, and you can redirect users wherever you want after they are auto-logged-in. The users will get auto-logged when they hit the &#8216;Complete My Purchase&#8217; button on the CB page after they complete purchase. But even [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[20],"tags":[],"_links":{"self":[{"href":"https:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/3025"}],"collection":[{"href":"https:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/comments?post=3025"}],"version-history":[{"count":12,"href":"https:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/3025\/revisions"}],"predecessor-version":[{"id":5848,"href":"https:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/3025\/revisions\/5848"}],"wp:attachment":[{"href":"https:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/media?parent=3025"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/categories?post=3025"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/tags?post=3025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}