<?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>2Checkout.com &#187; direct return</title>
	<atom:link href="http://www.2checkout.com/community/blog/tag/direct-return/feed" rel="self" type="application/rss+xml" />
	<link>http://www.2checkout.com/community</link>
	<description>merchant account / credit card processing alternative</description>
	<lastBuildDate>Tue, 16 Mar 2010 13:29:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Direct Return</title>
		<link>http://www.2checkout.com/community/blog/newest/a-comprehensive-overview-of-direct-return</link>
		<comments>http://www.2checkout.com/community/blog/newest/a-comprehensive-overview-of-direct-return#comments</comments>
		<pubDate>Thu, 24 May 2007 19:01:40 +0000</pubDate>
		<dc:creator>beau</dc:creator>
				<category><![CDATA[2Checkout Blog]]></category>
		<category><![CDATA[Newest]]></category>
		<category><![CDATA[Passbacks and Returns]]></category>
		<category><![CDATA[direct return]]></category>
		<category><![CDATA[reference]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.2checkout.com/community/?p=318</guid>
		<description><![CDATA[One of the most utilized features available to our suppliers is the ability to return a customer, along with information regarding their order, to the page from which their order originated.
Although this process can be extremely useful and powerful, it can also be misunderstood by someone who does not have all of the available information. [...]]]></description>
			<content:encoded><![CDATA[<p>One of the most utilized features available to our suppliers is the ability to return a customer, along with information regarding their order, to the page from which their order originated.</p>
<p>Although this process can be extremely useful and powerful, it can also be misunderstood by someone who does not have all of the available information. This article contains detailed information about the Direct Return process, and is moderate to very technical in design.  The target audience of this article is most likely web developers and suppliers who are developing their own custom scripts or configuring a third party solution.  Also, throughout this article the phrase &#8220;return URL&#8221; is used to  collectively refer to the approved URL, configurable within your 2Checkout account.<br />
<span id="more-318"></span></p>
<p><strong>Choosing the Return URLs</strong></p>
<p>To start off, keep in mind that ALL of the methods outlined in this section are optional.  If return URLs are not configured for a particular method, Direct Return will skip it and move to the next.  If NO return URLs are specified anywhere, the customer will end their purchasing experience on 2Checkout&#8217;s Order Processed page (basically, a sales receipt). There are three methods that can be used to specify a return URL (where customers will be directed after a sale has been made):</p>
<p>The first method that will be processed is the &#8220;x_receipt_link_url&#8221; parameter.  This parameter can be used to specify an approved URL on-the-fly, but is limited to the same domain that is used for your 2Checkout account, otherwise it will fail.  If the parameter method fails for this or any other reason, the next successful method will be used to determine the return URL instead.  This parameter is special in the sense that the general warnings you may have seen that advise not to mix parameter sets do not apply.  <a href="http://www.2checkout.com/community/blog/knowledge-base/suppliers/tech-support/3rd-party-carts/parameter-sets/does-your-system-support-authorizenet-parameters-if-so-what-are-they">Click here for more information on using the &#8220;x_receipt_link_url&#8221; parameter.</a></p>
<p>The second method is done by setting the return URL on the product level.  This URL can be set per-product during creation or by editing an existing product.  If multiple products using this method are ordered at the same time, the customer will be taken to our Order Processed page with &#8220;Click Here&#8221; links next to each item.  These links will open a new browser window/tab so that the customer can return to the order processed page and follow the links for each product ordered. This method is most common for non-dynamic sites that offer downloadable products as a way to take the customer directly to the item ordered. It&#8217;s important to note that, if multiple products are ordered, parameters will be converted from POST to GET for this method.  So, if the return URL used here is a script it should be able to handle both methods without breaking.</p>
<p>The third method is the general return URL specified in the Site Management page of your 2Checkout account.  This URL will be used for all orders that do not utilize one of the previous mentioned methods, and is typically the choice of suppliers and web developers familiar with scripting.  The reason for this is that it allows all of the information for every order to be received at one location, which reduces the time and effort needed to develop individual pages for each product or relying on individual product-level return URLs and &#8220;Click Here&#8221; links.  At the least, it can be used to avoid entering the same URL for each product.</p>
<p><strong>Automatic or Manual</strong></p>
<p>After Direct Return selects the best return URL from the logic above, it will then direct the customer to your site in one of two ways:</p>
<p><em>With Direct Return <em>disabled</em></em> (set to &#8220;Given links back to my website&#8221; on your account&#8217;s Site Management page), the customer will then be taken to our Order Processed page after completing a successful purchase. This page will now feature a button at the top with the text &#8220;Click Here to Finalize Your Order&#8221;. When this button is clicked the customer, and the collected sale parameters, will be directed to the appropriate return URL. No domain masking will be used for this method.</p>
<p>Keep in mind, having Direct Return disabled relies heavily on user input as no parameters will be posted to the return URL if the customer does not click this button. For this reason, many suppliers that make use of third party order tracking (such as their own shopping cart) prefer to set Direct Return to &#8220;Immediately returned to my website&#8221;. If a supplier is using the 2Checkout Plug-n-Play cart, or records necessary parameters at the beginning of a sale before sending the customer to 2Checkout&#8217;s purchase page and does not require that the customer return to their page after a sale has completed, this can be a viable option.</p>
<p><em>With Direct Return </em><em>enabled</em> (set to &#8220;Immediately returned to my website&#8221; on your account&#8217;s Site Management page), the page to be used for the return URL will have the sale parameters posted to it automatically while fetched by our server and displayed to the customer.</p>
<p>Keep in mind, enabling Direct Return has the effect of masking the URL used so that the customer appears to still be on the 2Checkout domain.  This method can be used with redirects as long as each page outputs content (specifically, more then 255 characters) to the browser.  If Direct Return encounters a page that redirects without outputting content&#8211;usually a header redirect or content less then 255 characters&#8211;then the process will fail and the customer will be sent to our standard Order Processed page.  This is a common issue as many developers will set their return URLs to a script that processes the returned sale parameters, then silently forward the customer to another page (usually a &#8220;thank you for purchasing&#8221; page or a page featuring download links in the case that an intangible product has been ordered).  The best solution to this is to handle all post-order processing on the page set as your return URL, including the &#8220;thank you&#8221; message.</p>
<p>It is also important to note that if no redirects are used, meaning the URL will be masked by our servers, then relative links will no longer point to the correct location.  This can be corrected by using absolute links on the page used for the return URL or by simply using a &#8220;base&#8221; tag in the head of the document to provide a reference for the relative paths. <a href="http://www.2checkout.com/community/blog/knowledge-base/why-are-the-imageslinks-on-my-approved-url-broken">Click here for more detailed information on using the HTML base tag.</a></p>
<div><a href="http://www.addthis.com/bookmark.php" onclick="window.open('http://www.addthis.com/bookmark.php?pub=&amp;url=http%3A%2F%2Fwww.2checkout.com%2Fcommunity%2Fblog%2Fnewest%2Fa-comprehensive-overview-of-direct-return&amp;title=Direct+Return', 'addthis', 'scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no'); return false;" title="Bookmark using any bookmark manager!" target="_blank"><img src="https://secure.addthis.com/button1-bm.gif" width="125" height="16" border="0" /></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.2checkout.com/community/blog/newest/a-comprehensive-overview-of-direct-return/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Why Are the Images/Links on my Approved URL Broken?</title>
		<link>http://www.2checkout.com/community/blog/knowledge-base/why-are-the-imageslinks-on-my-approved-url-broken</link>
		<comments>http://www.2checkout.com/community/blog/knowledge-base/why-are-the-imageslinks-on-my-approved-url-broken#comments</comments>
		<pubDate>Fri, 04 May 2007 14:34:57 +0000</pubDate>
		<dc:creator>knowledgebase</dc:creator>
				<category><![CDATA[Knowledge Base]]></category>
		<category><![CDATA[Passbacks and Returns]]></category>
		<category><![CDATA[Tech Support]]></category>
		<category><![CDATA[approved url]]></category>
		<category><![CDATA[broken]]></category>
		<category><![CDATA[direct return]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[link]]></category>

		<guid isPermaLink="false">http://www.2checkout.com/community/?p=316</guid>
		<description><![CDATA[    When Direct Return is enabled (set to &#8216;Yes&#8217;), your Approved URL page will be fetched and displayed to the customer while they remain on 2Checkout&#8217;s server. Because of this, images and links that use relative paths will not resolve correctly, resulting in broken images and incorrect link destinations.
To fix this, you [...]]]></description>
			<content:encoded><![CDATA[<p>    When Direct Return is enabled (set to &#8216;Yes&#8217;), your Approved URL page will be fetched and displayed to the customer while they remain on 2Checkout&#8217;s server. Because of this, images and links that use relative paths will not resolve correctly, resulting in broken images and incorrect link destinations.</p>
<p>To fix this, you will need to specify a base URI for your Approved URL. This can be accomplished by inserting the following line between the  &lt;HEAD&gt; tag of your page:</p>
<p>&lt;base href=&#8221;http://www.example.com/pathto/approved.html&#8221;/&gt;</p>
<p>The URL specified after &#8216;href=&#8217; should be changed to your Approved URL. </p>
<div><a href="http://www.addthis.com/bookmark.php" onclick="window.open('http://www.addthis.com/bookmark.php?pub=&amp;url=http%3A%2F%2Fwww.2checkout.com%2Fcommunity%2Fblog%2Fknowledge-base%2Fwhy-are-the-imageslinks-on-my-approved-url-broken&amp;title=Why+Are+the+Images%2FLinks+on+my+Approved+URL+Broken%3F', 'addthis', 'scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no'); return false;" title="Bookmark using any bookmark manager!" target="_blank"><img src="https://secure.addthis.com/button1-bm.gif" width="125" height="16" border="0" /></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.2checkout.com/community/blog/knowledge-base/why-are-the-imageslinks-on-my-approved-url-broken/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Does The Return Process Work?</title>
		<link>http://www.2checkout.com/community/blog/knowledge-base/suppliers/tech-support/passbacks-and-returns/how-does-the-return-process-work</link>
		<comments>http://www.2checkout.com/community/blog/knowledge-base/suppliers/tech-support/passbacks-and-returns/how-does-the-return-process-work#comments</comments>
		<pubDate>Sat, 30 Dec 2006 07:00:00 +0000</pubDate>
		<dc:creator>knowledgebase</dc:creator>
				<category><![CDATA[Passbacks and Returns]]></category>
		<category><![CDATA[approved url]]></category>
		<category><![CDATA[direct return]]></category>
		<category><![CDATA[passback]]></category>
		<category><![CDATA[return]]></category>

		<guid isPermaLink="false">https://192.168.2.217/fresh/blog/2006/12/30/how-does-the-return-process-work/</guid>
		<description><![CDATA[After a sale, we can return the customer to a script or page on your site that you specify as the return URL. This can be done on the Look and Feel settings page of the Classic Sellers Area. This is located in the Helpful Links section of your account homepage. In the new Vendors [...]]]></description>
			<content:encoded><![CDATA[<p>After a sale, we can return the customer to a script or page on your site that you specify as the return URL. This can be done on the Look and Feel settings page of the Classic Sellers Area. This is located in the Helpful Links section of your account homepage. In the new Vendors Administration Area this information may be entered by first clicking the Account tab on your account homepage and then clicking the Site Management sub tab on your account page.</p>
<p>2Checkout can return the customer to an Approved or Pending URL after a sale. If we can immediately verify the availability of funds, then the customer is sent to the Approved URL. If we are not able to do this, then they will go to the Pending URL. For example, a digital check would always be sent to the Pending URL because we can not immediately verify the availability of funds. A confirmation email is sent out when the check clears, but no pass back ever occurs after the initial sale. Another way of saying this is that if the credit_card_processed parameter is &#8220;Y&#8221;, then the customer goes to the Approved URL, but if it is &#8220;K&#8221; then they will go to the Pending URL.</p>
<p>You may also specify the Approved and Pending URL on the product level in the Classic Sellers Area as well as the new Vendors Administration Area. Any URL set here over-rides the main ones set on the Look and Feel settings page.</p>
<p>The terms pass back URL and return URL generally mean the same thing and can be used interchangeably. However, pass back refers to the information or parameters that we send back to your site after a sale. Return refers to the actual process of sending the customer there. Pass back URL and return URL are the same because in this context it simply means &#8220;where do you want return/pass back to go to?&#8221;</p>
<p>Additionally, the x_receipt_link_url parameter can be used to specify the return URL on the fly. If you take this approach, this parameter will over-ride any URL set on the Look and Feel settings page. You may use this parameter to have a specific button or link use a return URL that is different than the ones set on the Look and Feel page. If you do this, your return script would need to check the value of the credit_card_processed parameter itself to determine what the appropriate course of action should be. Another way of saying this is that, since this parameter only allows you to specify one return URL rather than both the Approved and Pending URLs, whatever script it is returning the customer to will need to check the value of the credit_card_processed parameter to determine whether they should provide the customer with a &#8220;Thank You for Ordering! / Here is Your Download!&#8221; page, or a &#8220;You will receive more information when your payment is approved&#8221; screen.</p>
<p>It is also important to note that if x_receipt_link_url is used, then the return page must match the domain on the account. If the URL is saved on the Look and Feel page or the product level, then we can return them anywhere. In short, if the URL is in our database we can return them there. If not, then it must match for security reasons.</p>
<p>2Checkout.com will also POST the information to your return URL in all cases, regardless of whether Direct Return is enabled or disabled. It is important to note that we will not allow a mix of GET and POST in the return process. If you are trying to return the customer to &#8220;http://www.yoursite.com/your_script.php?param=value&#8221; then we actually return the customer to &#8220;http://www.yoursite.com/your_script.php&#8221; and the &#8216;param=value&#8217; will be returned as POST information with the rest of the sales information that we normally pass back.</p>
<p>You must also have a script set up as the return URL if you wish to receive the pass back information. If you would like this information returned to you, make sure that your return URL ends in the extension of a script. If your return URL ends in any of the following extensions, then pass back will NOT occur, but the customer will still be returned there : .htm, .html, .com, .zip, .pdf, .rar, .doc</p>
<p>The order of precedence for return from highest to lowest is:</p>
<ol>
<li>x_receipt_link_url</li>
<li>Product Level</li>
<li>Look and Feel page</li>
</ol>
<p>The x_receipt_link_url will take precedence over all other return URLs, and the Look and Feel page will be used by default if the other two are absent.</p>
<div><a href="http://www.addthis.com/bookmark.php" onclick="window.open('http://www.addthis.com/bookmark.php?pub=&amp;url=http%3A%2F%2Fwww.2checkout.com%2Fcommunity%2Fblog%2Fknowledge-base%2Fsuppliers%2Ftech-support%2Fpassbacks-and-returns%2Fhow-does-the-return-process-work&amp;title=How+Does+The+Return+Process+Work%3F', 'addthis', 'scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no'); return false;" title="Bookmark using any bookmark manager!" target="_blank"><img src="https://secure.addthis.com/button1-bm.gif" width="125" height="16" border="0" /></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.2checkout.com/community/blog/knowledge-base/suppliers/tech-support/passbacks-and-returns/how-does-the-return-process-work/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>How does a direct return work?</title>
		<link>http://www.2checkout.com/community/blog/knowledge-base/suppliers/tech-support/passbacks-and-returns/how-does-a-direct-return-work</link>
		<comments>http://www.2checkout.com/community/blog/knowledge-base/suppliers/tech-support/passbacks-and-returns/how-does-a-direct-return-work#comments</comments>
		<pubDate>Sat, 30 Dec 2006 07:00:00 +0000</pubDate>
		<dc:creator>knowledgebase</dc:creator>
				<category><![CDATA[Passbacks and Returns]]></category>
		<category><![CDATA[approved url]]></category>
		<category><![CDATA[direct return]]></category>
		<category><![CDATA[passback]]></category>
		<category><![CDATA[return]]></category>

		<guid isPermaLink="false">https://192.168.2.217/fresh/blog/2006/12/30/how-does-a-direct-return-work/</guid>
		<description><![CDATA[The direct return works through a spider on 2Checkout.com that does an HTML GET from our server with all the variables to the seller&#8217;s server. The spider prints to the screen whatever the seller&#8217;s server returns for the buyer to see.
]]></description>
			<content:encoded><![CDATA[<p>The direct return works through a spider on 2Checkout.com that does an HTML GET from our server with all the variables to the seller&#8217;s server. The spider prints to the screen whatever the seller&#8217;s server returns for the buyer to see.</p>
<div><a href="http://www.addthis.com/bookmark.php" onclick="window.open('http://www.addthis.com/bookmark.php?pub=&amp;url=http%3A%2F%2Fwww.2checkout.com%2Fcommunity%2Fblog%2Fknowledge-base%2Fsuppliers%2Ftech-support%2Fpassbacks-and-returns%2Fhow-does-a-direct-return-work&amp;title=How+does+a+direct+return+work%3F', 'addthis', 'scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no'); return false;" title="Bookmark using any bookmark manager!" target="_blank"><img src="https://secure.addthis.com/button1-bm.gif" width="125" height="16" border="0" /></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.2checkout.com/community/blog/knowledge-base/suppliers/tech-support/passbacks-and-returns/how-does-a-direct-return-work/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do single and multiple product downloads work with Direct Return?</title>
		<link>http://www.2checkout.com/community/blog/knowledge-base/suppliers/tech-support/passbacks-and-returns/how-do-single-and-multiple-product-downloads-work-with-direct-return</link>
		<comments>http://www.2checkout.com/community/blog/knowledge-base/suppliers/tech-support/passbacks-and-returns/how-do-single-and-multiple-product-downloads-work-with-direct-return#comments</comments>
		<pubDate>Sat, 30 Dec 2006 07:00:00 +0000</pubDate>
		<dc:creator>knowledgebase</dc:creator>
				<category><![CDATA[Passbacks and Returns]]></category>
		<category><![CDATA[direct return]]></category>
		<category><![CDATA[downloadable]]></category>
		<category><![CDATA[products]]></category>

		<guid isPermaLink="false">https://192.168.2.217/fresh/blog/2006/12/30/how-do-single-and-multiple-product-downloads-work-with-direct-return/</guid>
		<description><![CDATA[ORDERING A SINGLE PRODUCT VS. ORDERING MULTIPLE PRODUCTS WITH DIRECT RETURN (YES):
The order process works in the following manner when direct return is set to &#8220;Yes&#8220;.

If no approved URL has been specified in your vendor account, the customers order will end at the 2checkout order confirmation screen. The vendor is then responsible for supplying the [...]]]></description>
			<content:encoded><![CDATA[<p>ORDERING A SINGLE PRODUCT VS. ORDERING MULTIPLE PRODUCTS WITH DIRECT RETURN (YES):</p>
<p>The order process works in the following manner when <strong><u>direct return</u></strong> is set to &#8220;<strong>Yes</strong>&#8220;.</p>
<ol>
<li>If no approved URL has been specified in your vendor account, the customers order will end at the 2checkout order confirmation screen. The vendor is then responsible for supplying the customer with the product.</li>
<li> If a single product is ordered, the direct return feature will return the customer to your specified return URL. This is only true if you have specified a return URL at the product section or the look and feel section of your account. The assigned URL&#8217;s at the product level will always override the URL&#8217;s set up at the look and feel section of your account.	2A. If multiple products are ordered, the direct return feature will work exactly the same as if a customer orders a single product. This is only true if you have specified a return URL in the look and feel section of your account.</li>
<li> If the customer orders a single product and you have specified the return URL at the product level, the customer will be returned to the URL indicated at the product level.	3A. If multiple products are ordered and you have set up approved URLs at the product level, the order process ends at the	2checkout confirmation order page. At this page, there will be a &#8220;click here&#8221; link that is created for each product ordered on that page. The &#8220;click here&#8221; link will direct the customer to the approved URL for that product.
<p>Since the customer ordered multiple products, this page will not close until it is manually closed by the customer. This way the customer will receive all the downloads or will be forwarded to all the correct URLs to receive their downloads.</li>
</ol>
<p><strong><u>**Useful Info</u></strong></p>
<p>To add an approved URL to the look and feel section of your account, you can click on &#8220;settings&#8221; under the &#8220;helpful links&#8221; section of your account homepage.</p>
<p>To add a approved URL to each of your products, you will need to click on option 4 (set up products) of your account homepage. You will then need to click on the &#8220;edit&#8221; link for the product you need to add the approved URL to. There will be a field to input your approved URL. Simply add your approved URL and click on the save changes button.</p>
<div><a href="http://www.addthis.com/bookmark.php" onclick="window.open('http://www.addthis.com/bookmark.php?pub=&amp;url=http%3A%2F%2Fwww.2checkout.com%2Fcommunity%2Fblog%2Fknowledge-base%2Fsuppliers%2Ftech-support%2Fpassbacks-and-returns%2Fhow-do-single-and-multiple-product-downloads-work-with-direct-return&amp;title=How+do+single+and+multiple+product+downloads+work+with+Direct+Return%3F', 'addthis', 'scrollbars=yes,menubar=no,width=620,height=520,resizable=yes,toolbar=no,location=no,status=no'); return false;" title="Bookmark using any bookmark manager!" target="_blank"><img src="https://secure.addthis.com/button1-bm.gif" width="125" height="16" border="0" /></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.2checkout.com/community/blog/knowledge-base/suppliers/tech-support/passbacks-and-returns/how-do-single-and-multiple-product-downloads-work-with-direct-return/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
