<?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; OTO</title>
	<atom:link href="http://www.digitalaccesspass.com/doc/category/oto/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 1-Click Upsells</title>
		<link>http://www.digitalaccesspass.com/doc/troubleshooting-1-click-upsells/</link>
		<comments>http://www.digitalaccesspass.com/doc/troubleshooting-1-click-upsells/#comments</comments>
		<pubDate>Mon, 21 Mar 2011 00:20:05 +0000</pubDate>
		<dc:creator>Ravi Jayagopal</dc:creator>
				<category><![CDATA[1-Click Upsells]]></category>
		<category><![CDATA[3rd Party Integration]]></category>
		<category><![CDATA[Authorize.net]]></category>
		<category><![CDATA[Integration with Shopping Carts]]></category>
		<category><![CDATA[OTO]]></category>
		<category><![CDATA[Payment Integration]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[Upsells & Downsells]]></category>

		<guid isPermaLink="false">http://www.digitalaccesspass.com/doc/?p=1359</guid>
		<description><![CDATA[1) Problem: Getting an error that looks like this after purchase &#8211; using 1-Click Upsells. Warning: file_get_contents(/home/mysite/dap/upsell1.html) [function.file-get-contents]: failed to open stream: No such file or directory in /home/mysite/dap/continue.php(1) : eval()'d code on line 20 Solution: Create missing file. Every buy button generated by DAP for Auth.net or Paypal Payments Pro, will look something like [...]]]></description>
			<content:encoded><![CDATA[<h3>1) Problem: Getting an error that looks like this after purchase &#8211; using 1-Click Upsells.</h3>
<blockquote><p><code>Warning: file_get_contents(/home/mysite/dap/upsell1.html) [function.file-get-contents]: failed to open stream: No such file or directory in /home/mysite/dap/continue.php(1) : eval()'d code on line 20<br />
</code></p></blockquote>
<p><strong>Solution: </strong>Create missing file.</p>
<p>Every buy button generated by DAP for Auth.net or Paypal Payments Pro, will look something like this&#8230;</p>
<blockquote><p>&lt;form name=&#8221;generate_authnet&#8221; method=&#8221;post&#8221; action=&#8221;https://www.DigitalAccessPass.com/dap/buy.php&#8221;&gt;<br />
&lt;input type=&#8221;hidden&#8221; name=&#8221;item_name&#8221; value=&#8221;DAP Upsell Tree &#8211; Auth.net (T)&#8221;/&gt;<br />
&lt;input type=&#8221;hidden&#8221; name=&#8221;description&#8221; value=&#8221;DAP Upsell Tree For Authorize.net&#8221; /&gt;<br />
&lt;input type=&#8221;hidden&#8221; name=&#8221;amount&#8221; value=&#8221;97.00&#8243; /&gt;<br />
&lt;input type=&#8221;hidden&#8221; name=&#8221;trial_amount&#8221; value=&#8221;0.01&#8243; /&gt;<br />
&lt;input type=&#8221;hidden&#8221; name=&#8221;total_occurrences&#8221; value=&#8221;1&#8243; /&gt;<br />
&lt;input type=&#8221;hidden&#8221; name=&#8221;is_recurring&#8221; value=&#8221;Y&#8221; /&gt;<br />
&lt;input type=&#8221;hidden&#8221; name=&#8221;recurring_cycle_1&#8243; value=&#8221;365&#8243; /&gt;<br />
&lt;input type=&#8221;hidden&#8221; name=&#8221;recurring_cycle_2&#8243; value=&#8221;365&#8243; /&gt;<br />
&lt;input type=&#8221;hidden&#8221; name=&#8221;recurring_cycle_3&#8243; value=&#8221;365&#8243; /&gt;<br />
<span style="color: #000000;"><strong>&lt;input type=&#8221;hidden&#8221; name=&#8221;<span style="color: #ff0000;">payment_succ_page</span>&#8221; value=&#8221;<span style="color: #ff0000;">https://www.YourSite.com/dap/continue.php?url=/dap/upsell1.html</span>&#8221; /&gt;</strong></span><br />
&lt;input type=&#8221;hidden&#8221; name=&#8221;payment_gateway&#8221; value=&#8221;authnet&#8221; /&gt;<br />
&lt;input type=&#8221;hidden&#8221; name=&#8221;is_submitted&#8221; value=&#8221;Y&#8221; /&gt;<br />
&lt;input type=&#8221;submit&#8221; value=&#8221;Buy Now&#8221; /&gt;<br />
&lt;/form&gt;</p></blockquote>
<p>If you see the line in bold above, you will see the field&#8230;</p>
<blockquote><p><span style="color: #ff0000;"><strong>payment_succ_page </strong></span></p></blockquote>
<p>&#8230; pointing to the first upsell&#8230;</p>
<blockquote><p><strong><span style="color: #ff0000;"><strong>https://www.YourSite.com/dap/continue.php?url=/dap/upsell1.html</strong></span></strong></p></blockquote>
<p>What this essentially means, is that once the payment for the front end order is complete, you want the contents of the page /dap/upsell.html to be presented as the first upsell.</p>
<p>So&#8230;</p>
<p>a) Either create an HTML page called <strong>upsell1.html</strong> in the <strong>dap</strong> folder.</p>
<p>b) Or change the name of the file in the buy-button form code above, to be whatever your actual file name is.</p>
<p>c) Or if you don&#8217;t wish to do any upsells, then put the URL of your final thank you page in that field&#8217;s value.</p>
<h3>2) Question: How do I use my own button with the shopping cart script?</h3>
<p>Look for this in the DAP generated button code:<br />
input type=&#8221;submit&#8221; value=&#8221;Buy Now&#8221; </p>
<p>Replace it with your own image :<br />
For example &#8211;<br />
input type=&#8221;image&#8221; src=&#8221;/images/btn-order.png&#8221; value=&#8221;Buy Now&#8221;</p>
<p>If images folder is at the root of your site, set src = /images/btn-order.png.  If it&#8217;s under dap folder, the src tag should be set to &#8220;/dap/images/btn-order.png&#8221;.</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.digitalaccesspass.com/doc/troubleshooting-1-click-upsells/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>One-Time Offers (OTO)</title>
		<link>http://www.digitalaccesspass.com/doc/one-time-offers-oto/</link>
		<comments>http://www.digitalaccesspass.com/doc/one-time-offers-oto/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 06:54:10 +0000</pubDate>
		<dc:creator>Ravi Jayagopal</dc:creator>
				<category><![CDATA[OTO]]></category>
		<category><![CDATA[Upsells & Downsells]]></category>

		<guid isPermaLink="false">http://www.digitalaccesspass.com/doc/?p=271</guid>
		<description><![CDATA[OTO&#8217;s are now part of DAP. And they&#8217;re available for free to all DAP users. This OTO script can also be used for making Upsells and Downsells too! Only thing you have to remember is, that these won&#8217;t be 1-Click Upsells or 1-Click Downsells.  If you want true 1-Click Upsells, then do check out our [...]]]></description>
			<content:encoded><![CDATA[<p>OTO&#8217;s are now part of DAP. And they&#8217;re <strong>available for free</strong> to all DAP users.</p>
<p><strong>This OTO script can also be used for making Upsells and Downsells too! </strong></p>
<p>Only thing you have to remember is, that these <strong>won&#8217;t be</strong> 1-Click Upsells or 1-Click Downsells.  If you want <a href="http://DigitalAccessPass.com/upselltree.php" target="_blank">true 1-Click Upsells, then do check out our plugin, Upsell-Tree</a>, which allows you to do exactly that.</p>
<h2>The Basics</h2>
<ol>
<li>There is a file in your <strong>dap</strong> folder, called <strong>continue.php . </strong>This<strong> </strong>is the OTO script.<strong><br />
</strong></li>
<li>Create and upload as many upsell and downsell pages &#8211; named, say, upsell1.html, downsell1.html, upsell2.html, downsell2.html &#8211; etc and store them in your root folder &#8211; the folder where your home page is (not in the <strong>dap</strong> folder).</li>
</ol>
<h2>Setting up continue.php</h2>
<p>When you set up your buy button, after the sale, configure the &#8220;return url&#8221; to be:</p>
<blockquote>
<h3>http://YourSite.com/dap/continue.php?url=/upsell1.html</h3>
</blockquote>
<p>Of course, you should have already created a page called <strong>upsell1.html</strong> and uploaded it to the root of your web site (where your home page is).</p>
<p>So after your buyer has purchased your product, and arrive at this first upsell page, the URL they see in their browser will actually look like&#8230;</p>
<blockquote>
<h3>http://YourSite.com/dap/continue.php</h3>
</blockquote>
<p>They will not see the text &#8220;<strong>/upsell1.html</strong>&#8221; in the url, because continue.php would have already stripped out the file name from the end of the link.</p>
<p>So even if they bookmark it or share it with others, the URL they see will just be http://YourSite.com/dap/continue.php &#8211; which means they can&#8217;t get back to that page, and neither will the people they have shared the link with.</p>
<p>On each upsell page, you can make any offer you want. Let&#8217;s say you put the buy button on this upsell page to buy a different product. Now when you create the buy button for this new upsell product, make sure the &#8220;return url&#8221; for that button, is now&#8230;</p>
<blockquote>
<h3>http://YourSite.com/dap/continue.php?url=/upsell2.html</h3>
</blockquote>
<p>And you can also put a &#8220;No Thanks&#8221; button on each of these upsell pages, which could in turn take them either to a downsell page, or to an order completion page (where you thank them for your purchase).</p>
<h2>Button Code For &#8220;No Thanks&#8221;</h2>
<p>If your &#8220;No Thanks&#8221; button is going to lead to a downsell page, then here&#8217;s the code:</p>
<blockquote><p>&lt;form action=<strong>&#8220;http://YourSite.com/dap/continue.php?url=/downsell1.html</strong>&#8221; method=&#8221;post&#8221; &gt;<br />
&lt;input type=&#8221;submit&#8221; value=&#8221;No, Thanks. I&#8217;ll skip this special offer&#8221; /&gt;<br />
&lt;/form&gt;</p></blockquote>
<p>If your &#8220;No Thanks&#8221; button is going to lead to a final thank you page, where there are no more upsells or downsells, and where you simply thank your buyer for the purchase, then the code for that is:</p>
<blockquote><p>&lt;form action=<strong>&#8220;http://YourSite.com/dap/continue.php?url=/thankyou.html</strong>&#8221; method=&#8221;post&#8221; &gt;<br />
&lt;input type=&#8221;submit&#8221; value=&#8221;No, Thanks. I&#8217;ll skip this special offer&#8221; /&gt;<br />
&lt;/form&gt;</p></blockquote>
<p>Yes, you do need to be <em>just a little bit</em> technical for this. So, if you absolutely did not understand <em>anything </em>written above, then you should <em>probably</em> not be attempting to be doing OTO&#8217;s.</p>
<p>But if you simply have questions about how to use this for what you&#8217;re thinking to do, please feel free to ask them in the comments below.</p>
<p>- Ravi Jayagopal</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;"><a href="http://digitalaccesspass.com/download/OTO.zip">One-Time Offers &#8211; OTO.zip</a></div>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.digitalaccesspass.com/doc/one-time-offers-oto/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>

