<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DAP Documentation &#187; Cron</title>
	<atom:link href="http://www.digitalaccesspass.com/doc/category/cron/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.digitalaccesspass.com/doc</link>
	<description>Documentation for DigitalAccessPass.com</description>
	<lastBuildDate>Fri, 27 Jan 2012 11:34:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Troubleshooting Cron</title>
		<link>http://www.digitalaccesspass.com/doc/troubleshooting-cron/</link>
		<comments>http://www.digitalaccesspass.com/doc/troubleshooting-cron/#comments</comments>
		<pubDate>Sat, 19 Mar 2011 22:05:28 +0000</pubDate>
		<dc:creator>Ravi Jayagopal</dc:creator>
				<category><![CDATA[Autoresponders]]></category>
		<category><![CDATA[Broadcasts]]></category>
		<category><![CDATA[Cron]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Email Resources]]></category>
		<category><![CDATA[Setup]]></category>

		<guid isPermaLink="false">http://www.digitalaccesspass.com/doc/?p=1356</guid>
		<description><![CDATA[The Problem Your autoresponder or broadcast emails are not going out (hourly cron job dap-cron.php) Your Affiliates aren&#8217;t being credited with sales (hourly cron job dap-cron.php) Your 1SiteAutomation/1ShoppingCart Orders are not being processed. (10-minute cron job dap-emailorder.php) The Solution One possible solution is that your cron job(s) aren&#8217;t running correctly. DAP has two cron jobs. [...]]]></description>
			<content:encoded><![CDATA[<h3><strong>The Problem</strong></h3>
<ul>
<li>Your autoresponder or broadcast emails are not going out (hourly cron job <strong>dap-cron.php</strong>)</li>
<li>Your Affiliates aren&#8217;t being credited with sales (hourly cron job <strong>dap-cron.php</strong>)</li>
<li>Your 1SiteAutomation/1ShoppingCart Orders are not being processed. (10-minute cron job <strong>dap-emailorder.php</strong>)</li>
</ul>
<h3><strong>The Solution</strong></h3>
<p>One possible solution is that your cron job(s) aren&#8217;t running correctly.</p>
<p>DAP has two cron jobs. One that runs once an hour (dap-cron.php), and one that runs every 10 minutes (dap-emailorder.php).</p>
<p>You can see how to set them up <a href="http://www.digitalaccesspass.com/doc/setting-up-cron-jobs/" target="_blank">here</a>.</p>
<p>But in this post, we will see how to make sure your cron is actually set up correctly, or if it&#8217;s running correctly.</p>
<h3>How To Know If Cron Is Running</h3>
<ol>
<li>Go to <strong>System &gt; Logs</strong> and click on &#8220;Empty Logs&#8221;. That will fully clear out all logs.</li>
<li>Go to <strong>Setup &gt; Config &gt; Basic</strong> and set &#8220;DAP Log Level&#8221; to &#8220;5&#8243; and update row.</li>
<li>Wait for the top of the hour for the hourly cron job to run. So if the time when you&#8217;re doing this, is say 11:20 AM, then wait for 12:00 Noon. If time is 3:45 PM, then wait for 4:00 PM.</li>
<li>A few minutes past the top of the hour and go back to the <strong>System &gt; Logs</strong> screen.</li>
<li>If you see hundreds of lines of text in the logs, then that means your cron job is running correctly. If you only see maybe 10-20 lines of text, then your cron job is NOT running correctly, and you need to make sure the cron job is actually <a href="http://" target="_blank">set up correctly</a>.</li>
</ol>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.digitalaccesspass.com/doc/troubleshooting-cron/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Troubleshooting Bulk-Add &amp; Bulk-Import Of Users</title>
		<link>http://www.digitalaccesspass.com/doc/troubleshooting-bulk-add-bulk-import-of-users/</link>
		<comments>http://www.digitalaccesspass.com/doc/troubleshooting-bulk-add-bulk-import-of-users/#comments</comments>
		<pubDate>Fri, 29 Oct 2010 05:23:01 +0000</pubDate>
		<dc:creator>Ravi Jayagopal</dc:creator>
				<category><![CDATA[Bulk-Add Users]]></category>
		<category><![CDATA[Cron]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[Users]]></category>

		<guid isPermaLink="false">http://www.digitalaccesspass.com/doc/?p=800</guid>
		<description><![CDATA[Issue: You tried to bulk-add users to DAP (i.e., a bulk-import), and it is not working. No users have been added to the system. Possible Solutions &#38; Troubleshooting Tips 1. CSV File created? First check if there&#39;s a .csv file that has been created in the folder /dap/bulk/ on your server. If there&#39;s more than [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Issue</strong>: You tried to <a href="http://digitalaccesspass.com/doc/importing-users-in-bulk-into-dap/">bulk-add users to DAP</a> (i.e., a bulk-import), and it is not working. No users have been added to the system.</p>
<p><strong>Possible Solutions &amp; Troubleshooting Tips</strong></p>
<h3>1. CSV File created?</h3>
<p>First check if there&#39;s a .csv file that has been created in the folder <strong>/dap/bulk/</strong> on your server. If there&#39;s more than one .csv file in there (from a previous import/bulk-add), then see if there&#39;s a file whose timestamp is close to the time when you actually did the &quot;Users &gt; Add &gt; Bulk-add Multiple Users To A Product&quot; action.</p>
<p>If there&#39;s no .csv file, then it&#39;s possible that the folder doesn&#39;t have the right permissions for DAP to be able to create the file. So CHMOD the &quot;bulk&quot; folder (in <strong>/dap/</strong> folder) to 755. Then re-try the bulk-add again.</p>
<h3>2. Is Cron job running?</h3>
<p>You see a .csv file in there sitting for a few hours, but none of the users inside the .csv file have been added to DAP.</p>
<p>It&#39;s possible that the hourly cron job has either not been set up at all, or may have been setup incorrectly. Make sure the cron is setup and running correctly.</p>
<p>See both these links: </p>
<p><a href="http://www.digitalaccesspass.com/doc/setting-up-cron-jobs/">i) Setting up Cron</a></p>
<p><a href="http://www.digitalaccesspass.com/doc/all-about-dap-cron-job/">ii) All about Cron</a></p>
<h3>3. Error in CSV File</h3>
<p>Sometimes, it is possible that the .csv file was actually created, but it was actually corrupt. And you won&#39;t know this until the cron runs and that specific bulk-add job shows an error.</p>
<div>
<p>When you look at the &ldquo;<strong>System</strong> &gt; <strong>Job Queue</strong>&rdquo; screen, you see one line that shows this error&hellip;</p>
<blockquote>
<p>Action: BulkAddCSVToProduct<br />
			Message: Error in CSV File</p>
</blockquote>
<p>You were probably trying to to Bulk-Add Users to DAP. Or do a Broadcast email to a CSV file. In either case, there was an error in processing your request, because one of the following happened:</p>
<p>1) The CSV file could not be created in <strong>/dap/bulk/</strong> folder because of a permission issue (try CHMOD 755), so when the cron task ran, it could not find the CSV file (or the file was corrupted for some reason).</p>
<p>2) The list of email addresses within the CSV file were not in the right format &ndash; Order should be: <strong>Email,FirstName,LastName </strong>(<strong> </strong>LastName is optional)</p>
<p><strong>How To Fix It</strong></p>
<p>If a job fails, then there&rsquo;s no way to &ldquo;fix it and re-run it&rdquo; right now. So you basically have to delete the job, and then submit a new one. So if a Bulk-Add job errors with the above message, then here&rsquo;s what you need to do&hellip;</p>
<p>A) Click on the &ldquo;Delete Jobs In Error&rdquo; link on the &ldquo;System &gt; Job Queue&rdquo; page. That will delete all jobs that have failed for whatever reason.</p>
<p>B) You should also clear out the <strong>/dap/bulk/</strong> folder to make sure you delete any old, or errored out CSV files from that folder.</p>
</div>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.digitalaccesspass.com/doc/troubleshooting-bulk-add-bulk-import-of-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Your Host Does Not Support Cron Jobs</title>
		<link>http://www.digitalaccesspass.com/doc/your-host-does-not-support-cron-jobs/</link>
		<comments>http://www.digitalaccesspass.com/doc/your-host-does-not-support-cron-jobs/#comments</comments>
		<pubDate>Sun, 10 Oct 2010 03:49:54 +0000</pubDate>
		<dc:creator>Ravi Jayagopal</dc:creator>
				<category><![CDATA[Cron]]></category>
		<category><![CDATA[Fail]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[Web Hosting]]></category>

		<guid isPermaLink="false">http://www.digitalaccesspass.com/doc/?p=693</guid>
		<description><![CDATA[Question: You ask what to do if your host does not support cron jobs? Short answer: Fire them and get a better host. Ok, the basic idea of a cron jobs is that it allows you to run scheduled tasks, that run automatically, frequently, silently, in the background, without requiring manual intervention. DAP uses cron [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Question</strong>: You ask what to do if your host does not support cron jobs?</p>
<p><strong>Short answer</strong>: Fire them and get a <a href="http://www.digitalaccesspass.com/doc/dap-certified-web-hosts/" target="_blank">better host</a>.</p>
<p>Ok, the basic idea of a cron jobs is that it allows you to run scheduled tasks, that run automatically, frequently, silently, in the background, without requiring manual intervention.</p>
<p>DAP uses cron jobs to do things like&#8230;</p>
<ul>
<li>Send out autoresponder emails</li>
<li>Send out broadcast emails</li>
<li>Manage your outgoing queue of emails so that you can stay within your cheap web host&#8217;s strict hourly email sending limits</li>
<li>Process and manage affiliate data &amp; commissions , and</li>
<li>Do some clean up jobs</li>
</ul>
<p>Any membership script worth more than $1, should ask you to set up cron jobs for sending out emails. You couldn&#8217;t possibly send out an email blast to even 100 members in real time. If your membership script doesn&#8217;t require you to set up a cron job, then they&#8217;re worth absolutely nothing.</p>
<p>But DAP requires you to set up a cron job to do all of the tasks above.</p>
<p>And even the cheapest of the cheapest web hosts will allow you to set up a cron job.</p>
<p>If yours doesn&#8217;t, seriously you have only 2 choices&#8230;</p>
<ol>
<li>Stick to your pathetic host, and lose the ability to use powerful scripts like DAP</li>
<li>Or do the smart thing and move to a better host. There are plenty of good ones out there, and there are a few we <a href="http://www.digitalaccesspass.com/doc/dap-certified-web-hosts/" target="_blank">recommend highly</a>, and they&#8217;re very inexpensive.</li>
</ol>
<p>The choice is pretty obvious, no? <img src='http://www.digitalaccesspass.com/doc/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.digitalaccesspass.com/doc/your-host-does-not-support-cron-jobs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DAP-Supported Shopping Carts</title>
		<link>http://www.digitalaccesspass.com/doc/dap-supported-shopping-carts/</link>
		<comments>http://www.digitalaccesspass.com/doc/dap-supported-shopping-carts/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 06:32:59 +0000</pubDate>
		<dc:creator>Ravi Jayagopal</dc:creator>
				<category><![CDATA[1-Click Upsells]]></category>
		<category><![CDATA[1ShoppingCart]]></category>
		<category><![CDATA[3rd Party Integration]]></category>
		<category><![CDATA[Cancellations/Refunds]]></category>
		<category><![CDATA[ClickBank]]></category>
		<category><![CDATA[Cron]]></category>
		<category><![CDATA[Integration with Shopping Carts]]></category>
		<category><![CDATA[Payment Integration]]></category>
		<category><![CDATA[Paypal]]></category>
		<category><![CDATA[Paypal Website Payments Pro]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[Subscription]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Upsell Tree]]></category>
		<category><![CDATA[Upsells & Downsells]]></category>
		<category><![CDATA[Web Hosting]]></category>

		<guid isPermaLink="false">http://www.digitalaccesspass.com/doc/?p=533</guid>
		<description><![CDATA[Direct Integration with Shopping Carts and Payment Processors DAP directly integrates with the following Payment Processors without the need for any additional third-party shopping carts: Authorize.net 2Checkout.com ClickBank Digiresults Google Checkout e-Junkie (e-J does not allow recurring payments) JVZoo Paypal Standard Paypal Website Payments Pro Plimus WorldPay WSO Pro (Warrior Plus) DAP also integrates with [...]]]></description>
			<content:encoded><![CDATA[<h3>Direct Integration with Shopping Carts and Payment Processors</h3>
<p>DAP directly integrates with the following Payment Processors without the need for any additional third-party shopping carts:</p>
<ul>
<li><strong>Authorize.net</strong></li>
<li>2Checkout.com</li>
<li><strong>ClickBank</strong></li>
<li>Digiresults</li>
<li><strong>Google Checkout</strong></li>
<li>e-Junkie (e-J does not allow recurring payments)</li>
<li><strong><a title="JV Zoo" href="http://DigitalAccessPass.com/jvzoo.php" target="_blank">JVZoo</a></strong></li>
<li>Paypal Standard</li>
<li><strong>Paypal Website Payments Pro</strong></li>
<li>Plimus</li>
<li><strong>WorldPay</strong></li>
<li>WSO Pro (Warrior Plus)</li>
</ul>
<p>DAP also integrates with the following Shopping Carts</p>
<ul>
<li><a href="http://1SiteAutomation.com" target="_blank">1SiteAutomation.com</a> (a 1shoppingcart private label)</li>
<li><a title="Premium Web Cart" href="http://DigitalAccessPass.com/pwc.php" target="_blank">Premium Web Cart</a></li>
<li>InfusionSoft</li>
<li><a title="WP eStore" href="http://DigitalAccessPass.com/wpestore.php" target="_blank">WP eStore</a></li>
</ul>
<h3>Indirect Integration through 3rd Party Shopping Carts</h3>
<p>Since DAP integrates with Shopping carts like <a title="1SiteAutomation" href="http://1SiteAutomation.com" target="_blank">1SiteAutomation.com</a> (our white label of 1Shoppingcart), e-Junkie, <a title="Premium Web Cart" href="http://digitalaccesspass.com/pwc.php" target="_blank">Premium Web Cart</a> and Infusionsoft, that means that it also integrates (albeit indirectly) with all of the Payment processors and gateways that these carts support. So, or example, since DAP works with 1SiteAutomation, it essentially integrates with <a href="http://1siteautomation.com/faq.asp" target="_blank">all payment providers supported by 1SiteAutomation</a>, like:</p>
<p><strong>2CheckOut.com</strong> (direct integration too)<br />
<strong>Authorize.net</strong> (direct integration too)<br />
Bank of America<br />
BluePay<br />
Concord EFSNet<br />
Cybercash<br />
DPI Merchant Services<br />
e-Commerce Exchange<br />
Echo Inc.<br />
ECX QuickCommerce 3.0<br />
Epoch Systems<br />
eProcessing Network<br />
EPS SecureNet<br />
EWAY (Australia)<br />
FastTransact<br />
Firepay<br />
<strong>Google Checkout</strong> (direct integration too)<br />
GoRealTime/EPP<br />
GoRealTime<br />
iBill<br />
IntelliPay ExpertLink<br />
IONGate (Costco)<br />
iTransact RediCharge<br />
LinkPoint Secure<br />
MCPS WebLink<br />
MerchantPartners<br />
Moneris<br />
NETbilling<br />
Network Merchants<br />
Paradata<br />
PayCom Processing<br />
<strong>Paymentech</strong> (direct integration via Authorize.net)<br />
<strong>PayPal</strong> (direct integration too)<br />
PayPal Payflow Pro (via e-Junkie)<br />
PayReady<br />
Planet Payment<br />
PRIGate<br />
PSiGate<br />
RightConnect<br />
RTWare WebLink<br />
Shift4<br />
SkipJack<br />
StrataPay<br />
Surepay<br />
TrialPay (via e-Junkie)<br />
TrustCommerce<br />
USAEpay<br />
uSight<br />
VeriPayment<br />
VeriSign PayFlow Pro<br />
ViaKlix (Nova Systems)<br />
<strong>WorldPay</strong> (direct integration too)<br />
YourPay</p>
<p><a href="http://1siteautomation.com/faq.asp" target="_blank">For the full list and more details, click here</a></p>
<h3>1-Click Upsells</h3>
<p>If you use DAP as a shopping cart, then you can do 1-Click Upsells/Downsells like the pros, without the need for any external shopping cart or upsell service provider.</p>
<p>DAP directly allows you to do 1-Click Upsells using <strong>Authorize.net</strong>, <strong>Paypal Website Payments Pro</strong> and <strong>Paypal Standard</strong>. Upsell-Tree plugin for Authorize.net and Paypal Website Payments Pro is included for free along with your purchase of DAP. However, the Upsell-Tree plugin for Paypal Standard is <a title="DAP Store" href="http://DigitalAccessPass.com/buynow.php#store" target="_blank">sold separately</a>.</p>
<p>Of course, if you need advanced shopping cart features &#8211; like ability to calculate shipping, tax, and coupons, then you&#8217;re better off using <a href="http://1SiteAutomation.com" target="_blank">1SiteAutomation.com</a>.</p>
<h3>1ShoppingCart &amp; GoDaddy</h3>
<p>If you want automated recurring order processing using 1ShoppingCart (1SC) or <a href="http://1SiteAutomation.com" target="_blank">1SiteAutomation.com</a>, then DAP needs to be able to process the recurring email notifications sent by 1ShoppingCart, which it does on the back-end when the <strong>DAP Cron Job</strong> runs every 10 minutes.</p>
<p>However, if you&#8217;re using Godaddy as your web host, then because <strong>GoDaddy disables a mandatory PHP library (&#8220;imap&#8221;) on all their servers</strong> for some reason, DAP is unable to process the recurring order email notifications from 1ShoppingCart.</p>
<p>This is not an issue if you are using GoDaddy as just your domain name registrar, and using some other service like <a href="http://dream-host.biz" target="_blank">Dreamhost</a> or <a href="http://www.HostMonster.Com/track/monsterpromo" target="_blank">Hostmonster</a> as your web host.</p>
<p>But if you&#8217;re using 1SC &amp; GoDaddy hosting, you will have to end up doing manual cancellations if any member cancels their subscription, or if their credit card fails and their recurring payments don&#8217;t get processed.</p>
<p>Please note that 1ShoppingCart order processing works great with <a href="http://www.digitalaccesspass.com/doc/dap-certified-web-hosts/">all other (non-GoDaddy) hosts</a>.</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.digitalaccesspass.com/doc/dap-supported-shopping-carts/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Troubleshooting the Affiliate Program</title>
		<link>http://www.digitalaccesspass.com/doc/troubleshooting-the-affiliate-program/</link>
		<comments>http://www.digitalaccesspass.com/doc/troubleshooting-the-affiliate-program/#comments</comments>
		<pubDate>Sun, 04 Jul 2010 21:00:57 +0000</pubDate>
		<dc:creator>Ravi Jayagopal</dc:creator>
				<category><![CDATA[Affiliates]]></category>
		<category><![CDATA[Cron]]></category>
		<category><![CDATA[Transactions]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://www.digitalaccesspass.com/doc/?p=470</guid>
		<description><![CDATA[The single biggest reason why the affiliate program may not be working for you when you&#8217;re initially setting it up and testing it, is because of incorrect testing parameters. The most common ones being: A good clean test was not carried out, allowing the proper cookies to be set, or You were already logged in [...]]]></description>
			<content:encoded><![CDATA[<p>The single biggest reason why the affiliate program may not be working for you when you&#8217;re initially setting it up and testing it, is because of incorrect testing parameters.</p>
<p>The most common ones being:</p>
<ul>
<li>A good clean test was not carried out, allowing the proper cookies to be set, or</li>
<li>You were already logged in as DAP admin, and did not log in correct as your new buyer</li>
<li>You were using the same browser to log in as DAP admin, DAP user, new buyer, etc, thus causing a problem for DAP to set and track the affiliate cookies.</li>
</ul>
<p>A clean test is:</p>
<ul>
<li>You log out of DAP as admin, clear your browser cookies, and restart your browser</li>
<li>You click on an affiliate link (that you have previously sent yourself via email)</li>
<li>You go to your web site, and make a real purchase</li>
<li>If you were automatically logged in to the member&#8217;s area (Login Xpress &#8211; keep reading to learn more about this), then nothing further to do regarding this test as a buyer</li>
<li>BUT&#8230; if you were NOT automatically logged in to the member&#8217;s area, then check your email for the welcome email DAP would&#8217;ve sent you, and using the login information in the email, you must log in to the member&#8217;s area as the new buyer.</li>
</ul>
<p>Then, you log in to DAP Admin in a completely different browser, and see if an affiliate was credited for the buyer. If yes, then you must wait for the top of the next hour for the cron job to run, and credit the actual commissions to the affiliate&#8217;s account.</p>
<p>Here are some more troubleshooting steps:</p>
<h3>1A) Affiliate was not credited with a sale</h3>
<p>There could be many reasons for why the affiliate was not credited to the sale.</p>
<p>1) Buyer didn&#8217;t click on any affiliate links before purchasing the product<br />
2) Buyer did click on an affiliate link, but somehow (intentionally &#8211; or not) cleared her cookies before buying the product<br />
3) If you haven&#8217;t set up <a href="http://www.digitalaccesspass.com/doc/dap-login-xpress/">Login Xpress</a>, then buyer needs to log in to your membership site &#8211; which they probably haven&#8217;t done yet (if this is the case, see if DAP supports <a href="http://www.digitalaccesspass.com/doc/dap-login-xpress/">Login Xpress</a> for your payment processor)<br />
4) The hourly cron job on your DAP site hasn&#8217;t run yet (hourly cron has to have run *after* the buyer has logged in to their account)<br />
5) You have not set up any affiliate commissions for the Product on the &#8220;Affiliates &gt; Set Commissions&#8221; page</p>
<h3>1B) Affiliate was credited with the &#8220;Lead&#8221;, but not the &#8220;Sale&#8221; (no commissions awarded)</h3>
<p><strong>Short answer</strong>: You&#8217;re not using &#8220;Login Xpress&#8221;. And you probably forgot to initially set up the affiliate commission for the Product in question, under &#8220;<strong>Affiliates &gt; Commissions</strong>&#8220;, and only set up the commission record 7 days (or more) after the actual sale happened (the sale for which your affiliate got the &#8220;Lead&#8221;, but not the &#8220;Sale&#8221; (and in effect, no commissions). We call this the &#8220;7 Day Commission Cutoff Period&#8221;. So affiliate will not be awarded the commission. You just have to pay them offline.</p>
<p><strong>Long answer</strong>: DAP has two ways of awarding commissions:</p>
<p>a) Using Login-Xpress, where affiliates are attached to buyers instantly after purchase, and when the cron job runs at the top of the next hour, the affiliate commissions are credited to the affiliate&#8217;s account.</p>
<p>b) In situations where Login-Xpress is not possible (due to restrictions with the specific payment processor), the affiliate is attached to the buyer only when the buyer actually logs in to your membership site. Believe it or not, not everyone logs in the same day (sometimes not even for a few days after) they&#8217;ve purchased your product. So it&#8217;s possible that the affiliate/buyer connection is not made by DAP until a couple of days later.</p>
<p>Now consider these scenarios&#8230;</p>
<p><strong>Case X</strong>: Buyer clicked on affiliate link at work. They purchased the product at work. You don&#8217;t have Login-Xpress setup. So only way for affiliate/buyer connection to be made, is when your member logs in to your site for the first time. So they went home that evening, logged in for the first time from home, but there&#8217;s no affiliate cookie at home. Normally your affiliate is screwed. But DAP goes the extra mile to be fair to affiliates. If your buyer logs in to your membership site even a couple of days later from work, since the cookie is still on their work computer, the affiliate and buyer are now connected, and affiliate gets credit for the sale.</p>
<p><strong>Case Y</strong>: Buyer never clicked on any affiliate link. They bought your product. You did not have Login-Xpress setup. So only way for affiliate/buyer connection to be made, is when your member logs in to your site for the first time. So since they never clicked on any affiliate link, there&#8217;s no affiliate cookie. They buy your product, log in to your site, and their account has no affiliate attached to it. Then a couple of days later, they&#8217;re surfing the web, and happen to read an article from one of your affiliates, and intentionally or not, click on that affiliate&#8217;s link. Now that affiliate&#8217;s cookie is stored on their computer. The next time they login, DAP thinks &#8220;Ah, this is the same as Case X (above): No affiliate attached already, but now finding affiliate cookie &#8211; same as the <em>buy at work/login at home</em> example. So DAP will go ahead and give that affiliate credit for the sale, even though the referral was not made prior to purchase. So to avoid awarding affiliates incorrectly (after the sale), DAP is deliberately programmed to look for transactions only for the last 7 days, every time the DAP hourly cron job runs.</p>
<p><a name="2"></a></p>
<h3>2) Affiliate Program Life Cycle</h3>
<ol>
<li>You have already set up a &#8220;Per Sale&#8221; commission for the Product being purchased.</li>
<li>Visitor clicks on affiliate link and affiliate cookie is set on her computer</li>
<li>Visitor goes on to buy the product</li>
<li>a) If you HAVE setup <a href="http://www.digitalaccesspass.com/doc/dap-login-xpress/">Login Xpress</a>, then member is logged right into the members&#8217; area.<br />
b) If your payment processor does not support (or you HAVE NOT setup) Login Xpress, then buyer gets welcome email <strong>and logs in to your member&#8217;s area</strong>: This is when the affiliate is actually credited with the referral. So it is critical that if you&#8217;re testing the affiliate program, make sure you log in to the new member&#8217;s account.</li>
<li>So regardless of whether they&#8217;re auto-logged in right after purchase, or whether they log in a few minutes after the purchase after they&#8217;ve received their log in information via email, the login action takes place at this point.</li>
<li>At the time of this login, the only thing that happens is:<br />
a) DAP records in the database that this buyer was referred by the affiliate set in the affiliate cookie.<br />
b) If you have set up any &#8220;Per Lead&#8221; commission, then this lead commission amount is instantly credited to the affiliate&#8217;s account. So if the affiliate were to log in to his account exactly at this second, they would just see that they have gotten the &#8220;Per Lead&#8221; commission credited to their account. If there is no &#8220;Per Lead&#8221; commission, then nothing is credited to Affiliate account at this point. So the affiliate would see no &#8220;Sale&#8221; commissions yet.</li>
<li>At the top of the hour <em>after</em> the buyer has logged in to their member&#8217;s area, the DAP Hourly Cron (dap-cron.php) runs. It sees that Buyer X has been referred by Affiliate Y. It also sees that no &#8220;Sale&#8221; commissions have yet been credited to the affiliate for the purchase. It then looks up the Affiliate Commissions that you have previously set up at &#8220;Affiliates &gt; Set Commissions&#8221;, calculates the commission to be credited (&#8220;Per Sale Fixed&#8221; or &#8220;Per Sale Percentage&#8221;), and then credits affiliate&#8217;s account with that amount.</li>
<li>If the affiliate were to log in to his account at this point, they would just see that they have gotten the &#8220;Per Sale&#8221; commission credited to their account.</li>
</ol>
<p><a name="3"></a></p>
<h3>3) Affiliate is unable to access the Affiliate-Info page.</h3>
<p>So you created an &#8220;Affiliate&#8221; product, created a free sign-up form, and an affiliate signed up to this product, and is trying to log in and access the page, but is unable to, and is getting the &#8220;Sorry, you don&#8217;t have access to this product&#8221; error.</p>
<p>There could be many reasons for that (main one is #1 below):</p>
<p>a) Anyone who signs up through the &#8220;Direct Signup HTML Form&#8221; is added as a &#8220;Free&#8221; user. Which means, they can only access content that has been marked as free. So if you have created an &#8220;Affiliate&#8221; Product, and have added the affiliate-info page to that product, make sure that page is accessible by free users too, by clicking on the &#8220;edit&#8221; link next to the page, and on the resulting popup, set &#8220;Accessible to<br />
Free users too?&#8221; to &#8220;Y&#8221;.</p>
<p><img class="alignnone size-full wp-image-1559" style="border: 1px solid black;" title="dap-content-setting-for-affiliate" src="http://www.digitalaccesspass.com/doc/wp-content/uploads/2010/07/dap-content-setting-for-affiliate.png" alt="" width="493" height="270" /></p>
<p>b) You have not even made the affiliate-info page protected under the &#8220;Affiliate&#8221; product</p>
<p>&nbsp;</p>
<h3>4) Double Credit of Affiliate Commissions for the same purchase</h3>
<p>This is not really a double-credit for the same purchase, even though it appears to be so.</p>
<p>Sometimes you may enter a manual transaction for a purchase around the same time that DAP is processing an automated transaction for that purchase.</p>
<p>That means, there are now two transactions in DAP for the same purchase &#8211; one manual, and one automated &#8211; which can cause problems in accounting.</p>
<p>That&#8217;s usually how you end up crediting double commissions to the affiliate who referred the user, because all affiliate commissions are calculated from sales, and if you have two separate transactions for the same purchase, then the affiliate will get credited twice for the same referral.</p>
<p>So if you see two credits for the affiliate, you must first note that it is not for the same transaction, but for different transactions (note the different <strong>Trans Id</strong>&#8216;s) on the <strong>Affiliates &gt; Reports</strong> page.</p>
<p>So be careful when you&#8217;re entering Manual transactions. Those are meant only for when there is no way to automate the recording of a purchase (because they paid offline) and you&#8217;re unable to bring the transaction into DAP automatically.</p>
<p>If you see two affiliate commission credits (one for the automated transaction that DAP picked up, and one for the Manual transaction that you entered), then just refund the manual transaction in DAP. There will probably be a change to the user&#8217;s access because of the refund. So make a note of the current access of the user BEFORE you do the refund, and then AFTER you&#8217;ve processed the refund, go back to the User&#8217;s details on the <strong>Users &gt; Manage</strong> page, and manually adjust their access to make sure it&#8217;s accurate.</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.digitalaccesspass.com/doc/troubleshooting-the-affiliate-program/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Troubleshooting 1ShoppingCart Integration</title>
		<link>http://www.digitalaccesspass.com/doc/troubleshooting-1shoppingcart-integration/</link>
		<comments>http://www.digitalaccesspass.com/doc/troubleshooting-1shoppingcart-integration/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 17:23:35 +0000</pubDate>
		<dc:creator>Ravi Jayagopal</dc:creator>
				<category><![CDATA[1ShoppingCart]]></category>
		<category><![CDATA[3rd Party Integration]]></category>
		<category><![CDATA[Config]]></category>
		<category><![CDATA[Cron]]></category>
		<category><![CDATA[Errors]]></category>
		<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Integration with Shopping Carts]]></category>
		<category><![CDATA[Payment Integration]]></category>
		<category><![CDATA[Payment Setup and Integration FAQ]]></category>
		<category><![CDATA[Products]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[Transactions]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Users]]></category>

		<guid isPermaLink="false">http://www.digitalaccesspass.com/doc/?p=445</guid>
		<description><![CDATA[There are a few different reasons why this may not be working. 1. Check if Cron is running The DAP email-processing cron that processes the 1SC emails may not be running. Check your webhost control panel -&#62; Cron job settings. Make sure dap-emailorder.php is setup to run once every 10 minutes. 2. Incorrect Setup of [...]]]></description>
			<content:encoded><![CDATA[<p>There are a few different reasons why this may not be working.</p>
<h3>1. Check if Cron is running</h3>
<p>The DAP email-processing cron that processes the 1SC emails may not be running. Check your webhost control panel -&gt; Cron job settings. Make  sure <strong>dap-emailorder.php</strong> is setup to run once every 10 minutes.</p>
<h3>2. Incorrect Setup of Billing Email Id</h3>
<p>The billing email id you have entered in DAP at Setup &gt; Config &gt; Payment Processing , should be entered into the &#8220;<strong>Order Notice Email &#8211; Primary Destination</strong>&#8221; field in your 1SiteAutomation/1Shoppingcart account, on the Setup &gt; Orders &gt; Notifications section. If by chance you enter it into the &#8220;Order Notice Email &#8211; Primary Destination&#8221; field, it WILL NOT WORK.</p>
<h3>3. No Notification Emails from 1SC</h3>
<p>The DAP cron is running but 1SC payment notification emails are not  reaching your mail server. Check the email account where you expect to  receive your 1SC payment notification emails and see if the order  notification email from 1SC is in that mail box.</p>
<h3>4. Incorrect Mail Server Settings</h3>
<p>The cron is running and the 1SC order notification email is reaching your  mail server &#8211; but you did not configure the mail server settings correctly in  DAP Dashboard -&gt; Setup -&gt; Config -&gt; Payment Processing.</p>
<p><strong>Email Server Where Order Emails Come In</strong><br />
<strong>Email Server  User Name</strong><br />
<strong>Email Server Password</strong></p>
<h3>5.&#8221;Read&#8221; Or Deleted Emails</h3>
<p>DAP only processes order notification emails that are in the &#8220;Unread&#8221; status, to prevent previously processed emails and other non-DAP emails from being repeatedly processed.</p>
<p>Also, if you &#8220;pop&#8221; off the emails from that mail box (means, your email client like Outlook or Thunderbird or Gmail is &#8220;removing&#8221; your emails from the server when it retrieves them), it means that when DAP logs in to that billing email address, there are no emails there to be processed &#8211; the mailbox is empty, or the 1SC payment notification emails have somehow gotten deleted from that mailbox.</p>
<p>So it is possible that DAP is able to  connect to your email server, but DAP is not finding any &#8220;unread&#8221; emails.  Please login to your email server and mark all the payment emails that  you want DAP to process&#8230; as &#8220;unread&#8221;. And also make sure that your email client does not remove the emails from that mail box.</p>
<h3>6.Product Name Mismatch</h3>
<p>There might be a &#8220;Product Name&#8221; mismatch. The product name has to  be EXACTLY the same (including case, spaces, etc) in both DAP as well as  in 1ShoppingCart. So if you have created a product by name &#8220;Widget A&#8221;,  make sure your 1shoppingcart product also has the exact same name  &#8220;Widget A&#8221;.</p>
<p>If everything is setup correctly, DAP cron will run every 10 minutes  and try to process all 1SC emails.</p>
<p>The next time the DAP cron  will run (every 10 minutes), it will pick up all the unread payment  emails from 1SC.</p>
<h3>7. Empty &#8220;Thankyou-Email Body/Subject&#8221;</h3>
<p>Welcome email is not getting sent.</p>
<p>Select  the product, and make sure there is some text in the &#8220;Thankyou-Email  Subject&#8221; and &#8220;Thankyou-Email Body&#8221;. Whatever is in these fields is what  gets sent immediately after someone purchases that product (or right  after you give them access from the backend).</p>
<p>Now go to DAP Dashboard -&gt; Users -&gt; Add .</p>
<p>Select the  product and manually add user. Now see if the thankyou email gets sent to that email id. If it got sent, then your product setup is correct.</p>
<p>Also  check the DAP Dashboard -&gt; Orders . Search for all orders, look up the order for the particular user in question by email.</p>
<p>Check the payment status and make sure there is no error there.</p>
<p>If you did all this and things are still not working,  please do  this:</p>
<p>1. Set DAP Dashboard &gt; Setup Config -&gt; Basic &gt; Log Level = 5<br />
2. Re-run  the 1SC test purchase<br />
3. Check the DAP Logs (DAP Dashboard &gt; System &gt; Logs) and send us the log text in there for troubleshooting by pasting it into a new support ticket.</p>
<h3>8. Sending Email &amp; Password To Buyer</h3>
<p>Make sure you have set the thank-you message with the right merge tags for Email and Password.</p>
<h3>9. Manually Running Cron</h3>
<p>First set DAP Dashboard &gt; Settings &gt; Config &gt; Log Level = 5</p>
<p>If  you feel that the orders were not processed in dap, then just login to  the 1SC email account where the sales/payment notification emails are  sitting, and mark those orders/emails as UNREAD that you want dap to  process.</p>
<p>Then manually run the cron script dap-emailorder.php cron by visiting the following link in the browser.</p>
<p><strong>http://www.yoursite.com/dap/dap-emailorder.php</strong></p>
<p>Replace  yoursite.com with the name of your site.</p>
<p>It will just display an  empty screen when complete.</p>
<p>Then check &#8220;Users &gt; Manage&#8221; to see if user has been created.</p>
<p>- <strong>Veena Prashanth</strong></p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.digitalaccesspass.com/doc/troubleshooting-1shoppingcart-integration/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Silent Import</title>
		<link>http://www.digitalaccesspass.com/doc/silent-import/</link>
		<comments>http://www.digitalaccesspass.com/doc/silent-import/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 18:46:37 +0000</pubDate>
		<dc:creator>Ravi Jayagopal</dc:creator>
				<category><![CDATA[Broadcasts]]></category>
		<category><![CDATA[Cron]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Email Resources]]></category>
		<category><![CDATA[Products]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[Users]]></category>

		<guid isPermaLink="false">http://www.digitalaccesspass.com/doc/?p=433</guid>
		<description><![CDATA[You wish to do what we call a &#8220;silent&#8221; import. Basically, you don&#8217;t want DAP to send out the instant &#8220;thanky-you&#8221; email to the users being imported. You may want to do this, say, if you wanted to import a bunch of users into DAP first, without DAP sending them any kind of emails at [...]]]></description>
			<content:encoded><![CDATA[<p>You wish to do what we call a &#8220;silent&#8221; import. Basically, you don&#8217;t want DAP to send out the instant &#8220;thanky-you&#8221; email to the users being imported.</p>
<p>You may want to do this, say, if you wanted to import a bunch of users into DAP first, without DAP sending them any kind of emails at all, do some preliminary testing, make sure their settings, product access, etc, are all correct, before notifying them of any changes.</p>
<h3>Here&#8217;s how to do a &#8220;Silent Import&#8221; with DAP</h3>
<p>1. Remove the &#8220;ThankYou-Email Subject&#8221; and &#8220;ThankYou-Email Body&#8221; from the Product into which you wish to import users. Save it in a text file for later, and save the Product.</p>
<p>2. Go ahead and do the bulk-add of users from &#8220;Users &gt; Add &gt; Bulk-Add Multiple Users To A Product&#8221;.</p>
<p>3. Wait for the DAP Hourly Cron to run and finish importing all users. Since the &#8220;ThankYou-Email Subject&#8221; and &#8220;ThankYou-Email Body&#8221; of the Product is empty at the time of import, DAP won&#8217;t send out those emails.</p>
<p>4. Once all the users have been imported, put back the &#8220;ThankYou-Email Subject&#8221; and &#8220;ThankYou-Email Body&#8221; text content, and save the Product.</p>
<p><strong>OPTIONAL</strong></p>
<p>5. At a later point, if you want, you can send out an Autoresponder email &#8211; or even better, a Broadcast email &#8211; with the merge codes for the email and password, if you want the newly imported users to get their passwords, or if you wish to notify them of anything at all (like the new system you&#8217;re using, their new account info, a general &#8220;what has changed recently&#8221; type of email, etc).</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.digitalaccesspass.com/doc/silent-import/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installation / Pre-Installation FAQs</title>
		<link>http://www.digitalaccesspass.com/doc/installation-pre-installation-faqs/</link>
		<comments>http://www.digitalaccesspass.com/doc/installation-pre-installation-faqs/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 02:58:52 +0000</pubDate>
		<dc:creator>Ravi Jayagopal</dc:creator>
				<category><![CDATA[Cron]]></category>
		<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Installation FAQ]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[Web Hosting]]></category>

		<guid isPermaLink="false">http://www.digitalaccesspass.com/doc/?p=24</guid>
		<description><![CDATA[What are the minimum web-hosting requirements to run DAP? See &#8220;Minimum web-hosting requirements&#8221; What web hosts to you recommend? See &#8220;DAP-Certified Web Hosts&#8221; I&#8217;m getting an error during installation See this post for more details about errors . How can I avail of Free Installation? See &#8220;Free Installation&#8221; How do I setup Cron? Setting up [...]]]></description>
			<content:encoded><![CDATA[<h2><strong>What are the minimum web-hosting requirements to run DAP?</strong></h2>
<p><a href="http://www.digitalaccesspass.com/doc/minimum-requirements-to-run-dap/">See &#8220;Minimum web-hosting requirements&#8221;</a></p>
<h2>What web hosts to you recommend?</h2>
<p><a href="http://www.digitalaccesspass.com/doc/dap-certified-web-hosts/" target="_blank">See &#8220;DAP-Certified Web Hosts&#8221;</a></p>
<h2><strong>I&#8217;m getting an error during installation<br />
 </strong></h2>
<p>See <a href="http://www.digitalaccesspass.com/doc/plugin-errors/" target="_self">this post for more details about errors</a> .</p>
<h2><strong>How can I avail of Free Installation?</strong></h2>
<p><a href="http://www.digitalaccesspass.com/doc/free-installation/">See &#8220;Free Installation&#8221;</a><strong><br />
 </strong></p>
<h2><strong>How do I setup Cron?<br />
 </strong></h2>
<p><a href="http://www.digitalaccesspass.com/doc/setting-up-cron-jobs/">Setting up Cron Jobs</a></p>
<p><a href="http://www.digitalaccesspass.com/doc/all-about-dap-cron-job/">All about Cron Jobs</a></p>
<p><a href="http://www.digitalaccesspass.com/doc/your-host-does-not-support-cron-jobs/">Your host does not support Cron Jobs</a></p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.digitalaccesspass.com/doc/installation-pre-installation-faqs/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>1ShoppingCart Email Order Processing</title>
		<link>http://www.digitalaccesspass.com/doc/payment-processing-via-email/</link>
		<comments>http://www.digitalaccesspass.com/doc/payment-processing-via-email/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 00:00:54 +0000</pubDate>
		<dc:creator>Ravi Jayagopal</dc:creator>
				<category><![CDATA[1ShoppingCart]]></category>
		<category><![CDATA[ClickBank]]></category>
		<category><![CDATA[Config]]></category>
		<category><![CDATA[Cron]]></category>
		<category><![CDATA[Integration with Shopping Carts]]></category>
		<category><![CDATA[Products]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[Users]]></category>

		<guid isPermaLink="false">http://www.digitalaccesspass.com/doc/?p=19</guid>
		<description><![CDATA[If you&#8217;re using 1ShoppingCart or 1SiteAutomation.com (our private label of 1SC), if you want your users to be automatically logged in to their DAP membership area upon completion of purchase, then refer to this documentation on how to setup Login Xpress with 1ShoppingCart. If you only sell one-time products, then the 1SC Login Xpress is [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re using 1ShoppingCart or <a href="http://1SiteAutomation.com" target="_blank">1SiteAutomation.com</a> (our private label of 1SC), if you want your users to be automatically logged in to their DAP membership area upon completion of purchase, then <a href="http://www.digitalaccesspass.com/doc/dap-1sc-login-xpress/">refer to this documentation on how to setup <strong>Login Xpress with 1ShoppingCart</strong></a>.</p>
<p>If you only sell one-time products, then the 1SC Login Xpress is the only thing you will need to integrate DAP and 1SC.</p>
<p>However, if you sell RECURRING products via 1SC, then you need to set up the <strong>email parsing of orders</strong> to allow DAP to process recurring payment notification from 1SC, as described below.</p>
<p>The reason for this, is that 1ShoppingCart, while very robust as a cart, does not trigger payment notification messages on the backend (like Paypal can do with IPN) when recurring payments comes in for a member.</p>
<p>So, we at DAP have created an exclusive &#8220;<strong>Email Order Processing</strong>&#8221; feature, where DAP will log in to your <strong>billing email inbox </strong>(where your 1SC email notifications come in) and then check your emails as if it were your personal assistant, and then process any orders that match your DAP Product names.</p>
<p>That is how DAP is able to do automated processing of Cancellations and Failed Recurring Payments.</p>
<p>For 1ShoppingCart and ClickBank, DAP does &#8220;Email Parsing&#8221; of orders.</p>
<h3>Setting Up &#8220;Email Parsing&#8221;</h3>
<p>Basically all you will be doing here is telling DAP where your payment notification emails from 1SC come in, and how to go fetch those emails so the recurring payments can be processed automatically, without you having to lift a finger.</p>
<p>1. <strong>Log in to your 1SC account</strong>. Then go to &#8220;Setup &gt; Orders&#8221;. Copy the email id that you have entered into the &#8220;<strong>Order Notice Email &#8211; Primary Destination</strong>&#8221; field. Please note that 1SC DOES NOT send recurring billing notifications to the email id in the &#8220;Secondary Destination&#8221;. So be sure you use the email id from the &#8220;Primary Destination&#8221; field.</p>
<p><img title="dap-1sc-billingemail" src="../wp-content/uploads/2008/11/dap-1sc-billingemail.png" alt="" width="536" height="150" /></p>
<p>So let&#8217;s say you have set the primary destination email currently, to point to  say &#8216;billing@yoursite.com&#8217;. Now make sure that the emails in your billing@yoursite.com inbox remain in &#8216;<strong>Unread</strong>&#8216; status, because when DAP logs in to check your recurring notifications, it will be looking at only Unread emails. It will not touch the ones that are already read.</p>
<p>2. Go to <strong>DAP Admin Dashboard &gt; Setup &gt;  Config &gt; Payment Integration </strong>.</p>
<p>3. On this screen, configure the following fields&#8230;</p>
<blockquote><p><strong>Email Server Where Order Emails Come In</strong> : <strong><span style="color: #ff0000;">mail.yoursite.com</span></strong></p>
<p><strong>Email Server Protocol (pop3/imap)</strong> : <span style="color: #ff0000;"><strong>imap </strong><span style="color: #000000;">(no need to change this)</span><strong><br />
</strong></span></p>
<p><strong>Email Server Port :  <span style="color: #ff0000;">143 </span></strong>(probably won&#8217;t need to change this)</p>
<p><strong>Email Server Protocol (ssl/nossl) </strong> :  <span style="color: #ff0000;"><strong>nossl </strong></span><strong> </strong>(probably won&#8217;t need to change this)</p>
<p><strong>Email Server User Name</strong> : <span style="color: #ff0000;"><strong>billing@yoursite.com </strong></span><strong> </strong>(enter email id copied from Step #1 above)</p>
<p><strong>Email Server Password</strong> : <span style="color: #ff0000;"><strong>yourpassword</strong></span> <strong> </strong>(the password to your email inbox for the above email address)</p></blockquote>
<p>That&#8217;s it as far as setup is concerned.</p>
<h3>Additional Notes</h3>
<p>4. Set up your sales page as you would normally do when accepting payment through 1ShoppingCart. The only thing you need to make sure is to use the exact same &#8220;Product Name&#8217; in your cart as well as within DAP.</p>
<p>So, if you set up a product called &#8220;My Membership Site&#8221; within DAP, then use the same name &#8220;My Membership Site&#8221; in your 1SC product name.</p>
<p>5. During installation, a Cron job (dap-emailorder.php) would have already been set up in your web hosting cpanel, to run every 10 minutes. So, every 10 minutes, DAP will automatically check the email id specified in <strong>Email Server User Name</strong> (the email id from Step 1).</p>
<p>If there is a payment notification (first time or recurring payment) for a product name that matches a product name in DAP, then it will automatically add that customer to DAP as a member if they&#8217;re a new member, or if they&#8217;re an existing member and it was a recurring payment notification, then DAP will &#8220;extend&#8221; their membership access by a month (or whatever your recurring cycle is), so that they will continue to get access to your membership site until the next payment comes in.</p>
<h3><strong>Testing</strong></h3>
<p>Try out some test purchases first. Make sure you try out the full purchase and full user experience, end-to-end.</p>
<p><span style="color: #ff0000;"><strong>WARNING 1</strong></span>: If you ever change the name of your product in 1ShoppingCart, or within DAP, make sure that both DAP and 1SC Product names are in sync.</p>
<p><strong></strong><span style="color: #ff0000;"><strong>WARNING 2</strong></span>: Do not use SKU in 1SC while defining the product. DAP will not parse the emails correctly if you use SKU.</p>
<p>More: <a href="http://www.digitalaccesspass.com/doc/troubleshooting-1shoppingcart-integration/">Troubleshooting 1ShoppingCart Integration</a></p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.digitalaccesspass.com/doc/payment-processing-via-email/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Setting Up Cron Jobs</title>
		<link>http://www.digitalaccesspass.com/doc/setting-up-cron-jobs/</link>
		<comments>http://www.digitalaccesspass.com/doc/setting-up-cron-jobs/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 17:40:41 +0000</pubDate>
		<dc:creator>Ravi Jayagopal</dc:creator>
				<category><![CDATA[Cron]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[Web Hosting]]></category>

		<guid isPermaLink="false">http://www.digitalaccesspass.com/doc/?p=14</guid>
		<description><![CDATA[(Note: You can get this setup as part of your free installation. But if you insist on doing it yourself, keep reading There are two cron jobs (backend schedulers) that you need to setup. 1. dap-cron.php (mandatory &#8211; every 1 hour): This is the main scheduler. This sends out broadcast emails, autresponder emails, bulk member [...]]]></description>
			<content:encoded><![CDATA[<p><strong>(Note: You can get this setup as part of your free installation. But if you insist on doing it yourself, keep reading <img src='http://www.digitalaccesspass.com/doc/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </strong></p>
<p>There are two cron jobs (backend schedulers) that you need to setup.</p>
<p>1. <strong>dap-cron.php</strong> (mandatory &#8211; every 1 hour):<br />
This is the main scheduler. This sends out broadcast emails,  autresponder emails, bulk member imports, affiliate commissions  processing, clean up, etc. <strong>This one is mandatory</strong>.</p>
<p>2. <strong>dap-emailorder.php</strong> (optional &#8211; every 10 minutes)<br />
This is the email order processing cron, used <strong>ONLY for 1ShoppingCart</strong>. <strong>Skip setting this cron up if you&#8217;re using any of the other carts or payment processors.</strong></p>
<h2><strong>Before You Start<br />
</strong></h2>
<p>(A) Before you can set up the cron jobs, you first need to figure out the &#8220;<strong>Path to PHP</strong>&#8221; on your web host. They usually have this somewhere in your web site control panel. If not, just ask them or read their wiki.</p>
<p>For eg., on <a href="http://www.kqzyfj.com/click-4116856-10409151" target="_blank">Hostgator</a>, it looks like this:</p>
<blockquote><p><strong>/usr/bin/php</strong></p></blockquote>
<p>(B) Next, visit the following url (replace YourSite.com with your actual domain name):</p>
<p><strong>http://www.YourSite.com/dap/getpath.php</strong></p>
<p>This will show something like this in your browser:</p>
<p><strong>/home/path/to/yoursite.com/dap</strong></p>
<p>This is your &#8220;local path&#8221; to your root folder.</p>
<p>Make a note of the two things above:</p>
<p>A) &#8220;<strong>Path to PHP</strong>&#8221; and</p>
<p>B) &#8220;<strong>Local Path</strong>&#8221;</p>
<p>You will be needing both below.</p>
<h2>Setting up the Cron jobs</h2>
<p>1. <strong>dap-cron.php</strong>:<br />
This one is mandatory. Should be set up to run <strong>Once Every Hour</strong>. This hourly process is what sends out all the scheduled broadcast (bulk) emails and processes different types of &#8220;bulk actions&#8221; &#8211; like importing a large list of customers into DAP from an external system, for instance.</p>
<p>The full text to put in where it asks for the &#8220;Command to run&#8221; on your &#8220;Cron Jobs&#8221; screen in your control panel, is this:</p>
<p><strong><code>/usr/bin/php</code><code><span style="color: #ff0000;">&lt;insert space&gt;</span></code>/home/path/to/yoursite.com/dap/dap-cron.php</strong></p>
<p>2. <strong>dap-emailorder.php</strong> (required ONLY if you&#8217;re using 1ShoppingCart or any private label of 1SC &#8211; like our own <a href="http://1siteautomation.com/" target="_blank">1SiteAutomation.com</a>)</p>
<p>This cron job should be set up to run <strong>once every 10 minutes</strong>.  This is the cron script that processes all of your orders from your  customers through email. So, if you set this up to run once every 10  minutes, then every 10 minutes, it will log in to your billing email  address (you can configure what this email id is within the admin  control panel on the &#8220;Config&#8221; screen) and process the email  notifications that you have received from 1ShoppingCart (and its private  labels).</p>
<p>Running it sooner than once every 10 minutes &#8211; like say,  once every minute or even once every 5 minutes is resource  intensive.  Your web host may not not even allow it in the first place. But even if  they do, it&#8217;s <strong>not recommended</strong>.</p>
<p>The full text to put in where it asks for the &#8220;Command to run&#8221; on your &#8220;Cron Jobs&#8221; screen in your control panel, is this:</p>
<p><strong><code>/usr/bin/php</code><span style="color: #ff0000;"><code><span style="color: #ff0000;">&lt;insert space&gt;</span></code></span>/home/path/to/yoursite.com/dap/dap-emailorder.php</strong></p>
<h2><strong>MISCELLANEOUS NOTES</strong>:</h2>
<p>1. Where you see the text <span style="color: #ff0000;"><strong><code>&lt;insert space&gt;</code></strong></span>, replace with an actual space (hitting the space bar).</p>
<p>2. Cron Email Reports:</p>
<p>Your webhost control panel allows you to set an email address where it  can send the cron output. So login to your <strong>Webhost Control Panel &gt; Cron Jobs</strong> page, and add your email address where you want the cron report  sent.  If you do not want to receive the cron report, you can just  remove the email address, leave it blank, and save changes.</p>
<p>3. To check if you have set up the cron job correctly, you can set <strong>DAP Admin -&gt; Setup -&gt;  Config -&gt; Log Level</strong> to <strong>5</strong> . Then go to <strong>DAP Admin -&gt; System -&gt;  Logs</strong> . Empty the logs by clicking on the &#8220;Empty Logs&#8221; link, and then revisit the screen and refresh the page, after say 10 minutes (to verify the running of dap-emailorder.php) or at the top of hour (to veryify the running of dap-cron.php).</p>
<p>4. To force run a cron (manually), click on this link:</p>
<blockquote><p><strong>http://YourSite.com/dap/dap-cron.php </strong><br />
(to run hourly cron)</p>
<p><strong>http://YourSite.com/dap/dap-emailorder.php </strong><br />
(to run the email order cron that runs every 10 minutes)</p></blockquote>
<p>Replace <strong>YourSite.com</strong> with the actual domain name of your web site.</p>
<p>5. Disabling Cron Emails:</p>
<p>The cron job by default will send you an email every time it runs (feature of your web host, not that of DAP). If you wish to disable it, go to the Cron tab page and just remove your email address from that page (&#8220;Please enter an email address where the cron output will be sent&#8221;).</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.digitalaccesspass.com/doc/setting-up-cron-jobs/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
	</channel>
</rss>

