<?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; purchase links</title>
	<atom:link href="http://www.2checkout.com/blog/tag/purchase-links/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.2checkout.com</link>
	<description>merchant account / credit card processing alternative</description>
	<lastBuildDate>Mon, 06 Feb 2012 21:37:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>TUTORIAL: Creating 2Checkout Purchase Links</title>
		<link>http://www.2checkout.com/blog/tutorials/tutorial-creating-2checkout-purchase-links/</link>
		<comments>http://www.2checkout.com/blog/tutorials/tutorial-creating-2checkout-purchase-links/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 20:17:57 +0000</pubDate>
		<dc:creator>simba</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[parameters]]></category>
		<category><![CDATA[purchase links]]></category>

		<guid isPermaLink="false">http://www.2checkout.com/community/blog/tutorials/tutorial-creating-2checkout-purchase-links/</guid>
		<description><![CDATA[There are several different ways you can set up your website using the four different parameter sets available in 2Checkout&#8217;s purchase system. The system works through sending HTML parameters (aka. variables) to the purchase routine to initiate a sale, whether they be sent by a HTML submission form or a direct purchase link. As you [...]]]></description>
			<content:encoded><![CDATA[<p>There are several different ways you can set up your website using the four different parameter sets available in 2Checkout&#8217;s purchase system. The system works through sending HTML parameters (aka. variables) to the purchase routine to initiate a sale, whether they be sent by a HTML submission form or a direct purchase link.</p>
<p>As you are working through developing your integration, you can make use of our <a href="http://developers.2checkout.com/code_machine">developers.2Checkout area</a> to test and play around with the various parameter sets and see their interaction with 2Checkout&#8217;s purchase routine.</p>
<h2>Universal Parameters</h2>
<p>Four universal parameters will be available to use with every set. These parameters assist you with various aspects of integrating the 2Checkout purchase system into your website:</p>
<ul>
<li>demo &#8212; You can set this equal to &#8216;Y&#8217; to tell the purchase routine that the sale is a test. While the cart will act the same, and even ask you for billing details, no monetary transaction will actually take place.</li>
<li>lang &#8212; Chinese – zh, Danish – da, Dutch – nl, French – fr, German – gr, Greek – el, Italian – it, Japanese – jp, Norwegian – no, Portuguese – pt, Slovenian – sl, Spanish – es_ib, Spanish – es_la, Swedish – sv, defaults to English if this is absent, but en may be used for English as well.</li>
<li>pay_method &#8212; This can be set to one of the following values to specifically set the purchase routine to use the specified payment method: CC for Credit Card, PPI for PayPal.</li>
<li>merchant_order_id &#8212; You can set this to any ID number (eg. &#8216;merchant_order_id=SALE-001&#8242;), which will display on the customer&#8217;s email receipt of their purchase and can assist you with organizing customers and their purchases within your records. <em>(50 characters max)</em></li>
</ul>
<p>The following are explanations of the three individual parameter sets available within our system.</p>
<p><span id="more-483"></span></p>
<h3>Plug and Play Parameters</h3>
<p>The Plug-n-Play parameters provide the simplest method for vendors to sell their products. Using this method, vendors will create products inside of their account and then put links to those products on their site.</p>
<p><strong>Basic Payment Link</strong></p>
<p>To create a direct purchase link using the basic Plug-n-Play parameters after you have set up the products under your 2Checkout account, you will need to use at least the three base required parameters for the set (sid, product_id, quantity). An example direct payment link looks as such:<br />
<code>https://www.2checkout.com/checkout/purchase?sid=123456&amp;product_id=101&amp;quantity=1</code><br />
To put this in explainable terms, our purchase routine (https://www.2checkout.com/checkout/purchase) is being told that the customer wants to purchase one (quantity=1) of the product that was assigned an ID of &#8220;101&#8243; (product_id=101) by our system from this vendor (sid=123456).</p>
<p>This can also be represented within an HTML form, which can provide you more flexibility in terms of how you construct your site. Below is the base required elements to an HTML submission form for a single product:</p>
<pre><code>&lt;form action='https://www.2checkout.com/checkout/purchase' method='post'&gt;
&lt;input type='hidden' name='sid' value='123456' &gt;
&lt;input type='hidden' name='product_id' value='101' &gt;
&lt;input type='hidden' name='quantity' value='1' &gt;
&lt;input name='submit' type='submit' value='Buy from 2CO' &gt;
&lt;/form&gt;</code></pre>
<p><strong>Multiple Products in One Form</strong></p>
<p>You can also have multiple products within a direct payment link or HTML submission form. This is helpful for vendors who sell products as a package or in bulk. To do this, you would add an incrementing digit to the end of both &#8216;product_id&#8217; and &#8216;quantity&#8217; for each individual product to be purchased. A direct payment link would look like this:</p>
<pre><code>https://www.2checkout.com/checkout/purchase?sid=123456&amp;product_id1=101&amp;
quantity1=1&amp;product_id2=202&amp;quantity2=1</code></pre>
<p>The same format would be reflected within the HTML submission form:</p>
<pre><code>&lt;form action='https://www.2checkout.com/checkout/purchase' method='post'&gt;
&lt;input type='hidden' name='sid' value='123456' &gt;
&lt;input type='hidden' name='product_id1' value='101' &gt;
&lt;input type='hidden' name='quantity1' value='1' &gt;
&lt;input type='hidden' name='product_id2' value='202' &gt;
&lt;input type='hidden' name='quantity2' value='1' &gt;
&lt;input name='submit' type='submit' value='Buy from 2CO' &gt;
&lt;/form&gt;</code></pre>
<p><strong>Additional Parameters</strong></p>
<p>In addition to the universal parameters, you also have the &#8216;fixed&#8217; parameter available as part of this set. Setting this equal to &#8216;Y&#8217; will lock the quantity fields in the purchase routine and remove the continue shopping button.</p>
<p><strong>More Information</strong></p>
<p>For more information on how to use this parameter set, please refer to the link below:</p>
<p><a href="http://www.2checkout.com/?p=205">http://www.2checkout.com/?p=205</a></p>
<h3>Pass Through Products Parameters</h3>
<p>The Pass Through Products parameters can be used to dynamically pass in tangible/intangible and recurring/non-recurring products, product options, shipping, taxes and coupons as items without having to create the products in the admin area. </p>
<p><strong>Basic Payment Link</strong></p>
<p>When using this parameter set, you are required to pass in your Seller ID using the &#8220;sid&#8221; parameter, the &#8220;mode&#8221; parameter with a value of &#8220;2CO&#8221; and some basic line item identifying parameters shown in the link below:<br />
<code>https://www.2checkout.com/checkout/purchase?sid=1303908&amp;mode=2CO&amp;li_0_type=product&amp;li_0_price=1.00&amp;li_0_quantity=1&amp;li_0_name=Example+Product+Name&amp;li_0_tangible=Y</code></p>
<p>As you can see, all line item parameters start with &#8220;li_&#8221; and are then followed by a numeral to identify the line item and insure that each parameter is applied correctly.<br />
In the example link above, the &#8220;li_0_type&#8221; parameter identifies the line item type as a product. (Line items can also be defined as a &#8220;coupon&#8221; to apply a coupon deduction from the sale total, &#8220;shipping&#8221; to define a shipping cost or &#8220;tax&#8221; to define the tax amount.) The  &#8220;li_0_name&#8221; parameter identifies the line item name, &#8220;li_0_price&#8221; identifies the line item price, &#8220;li_0_quantity&#8221; identifies the quantity being ordered and finally the &#8220;li_0_tangible&#8221; parameter defines that the line item is tangible. Since the line item in this example is tangible, an additional &#8220;shipping&#8221; line item can be passed in to define the shipping cost or the shipping methods defined in the account can be used. <em>Please Note: If an order includes a product that is defined as tangible or a shipping method it will need to be marked as shipped before it will deposit into your pending payment.</em></p>
<p>This can also be represented within an HTML form. Below is the base required elements to an HTML submission form for the same product:</p>
<pre><code>&lt;form action='https://www.2checkout.com/checkout/purchase' method='post'&gt;
&lt;input type='hidden' name='sid' value='1303908' &gt;
&lt;input type='hidden' name='mode' value='2CO' &gt;
&lt;input type='hidden' name='li_0_type' value='product' &gt;
&lt;input type='hidden' name='li_0_name' value='Example Product Name' &gt;
&lt;input type='hidden' name='li_0_price' value='1.00' &gt;
&lt;input type='hidden' name='li_0_quantity' value='1' &gt;
&lt;input type='hidden' name='li_0_tangible' value='Y' &gt;
&lt;input name='submit' type='submit' value='Buy from 2CO' &gt;
&lt;/form&gt;</code></pre>
<p><strong>Recurring Products</strong></p>
<p>Recurring products can also be passed in using this parameter set by defining a recurrence to determine how often the product will bill, a duration to determine the length of time the product will bill for and start fee (if any). Below is an example recurring product.</p>
<p><code>https://www.2checkout.com/checkout/purchase?sid=1303908&amp;mode=2CO&amp;li_0_type=product&amp;li_0_price=1.00&amp;li_0_quantity=1&amp;li_0_name=Example+Product+Name&amp;li_0_tangible=N&amp;li_0_recurrence=1+Month&amp;li_0_duration=Forever&amp;li_0_startup_fee=0.00</code></p>
<p><strong>Product Options</strong></p>
<p>Product options can also be added to a product line items by defining an option name, any number of option values, a surcharge to be applied per value and associating them with the appropriate line item number. Below is an example that applies an option to the recurring line item example above.</p>
<p><code>https://www.2checkout.com/checkout/purchase?sid=1303908&amp;mode=2CO&amp;li_0_type=product&amp;li_0_price=1.00&amp;li_0_quantity=1&amp;li_0_name=Example+Product+Name&amp;li_0_tangible=N&amp;li_0_recurrence=1+Month&amp;li_0_duration=Forever&amp;li_0_startup_fee=0.00&amp;li_0_option_0_name=Example+Product+Option&amp;li_0_option_0_value=Example+Option+Value&amp;li_0_option_0_surcharge=1.00</code></p>
<p><strong>Additional Parameters</strong></p>
<p>In addition to the required parameters, if you are identifying a product you may also pass in the &#8220;li_#_product_id&#8221; parameter to identify a product id and the &#8220;li_#_description&#8221; parameter to pass in a product description.</p>
<p><strong>More Information</strong></p>
<p>For more information on how to use this parameter set, please refer to the link below:</p>
<p><a href="http://www.2checkout.com/blog/knowledge-base/merchants/tech-support/3rd-party-carts/parameter-sets/pass-through-product-parameter-set">http://www.2checkout.com/blog/knowledge-base/merchants/tech-support/3rd-party-carts/parameter-sets/pass-through-product-parameter-set</a></p>
<h3> 3rd-Party Cart Parameters</h3>
<p>The 3rd-Party Cart parameters works by sending the customer from your website to the 2Checkout purchase routine with only a total amount for the sale and a cart order ID number. This set does not require that you have products established under your 2Checkout account, although it does require that the Product Identification parameters be used to specify the details of the products contained within the cart sale. This parameter set is best for third party cart software since it allows the cart software on your website to handle most of the checkout process, including maintaining product information within your cart&#8217;s administrative area and detailing out products within the cart on the customer&#8217;s receipt.</p>
<p><strong>Basic Payment Link</strong></p>
<p>To create a direct purchase link using the 3rd-Party Cart parameters, you will need to use at least the three base required parameters for the set (sid, total, cart_order_id). An example direct payment link looks as such:</p>
<pre><code>https://www.2checkout.com/checkout/purchase?sid=123456&amp;total=2.00&amp;
cart_order_id=CART-001</code></pre>
<p>To break this down, our purchase routine is being instructed that the customer wants to purchase the items in the cart (which, the items in the cart will be managed by the shopping cart software on your website) from the vendor (sid=123456), and total sale amount for the items in the cart plus any shipping charges comes to 1 dollar (total 2.00). The cart order has an ID (cart_order_id=CART-001) which will identify this order uniquely to the vendor amongst other orders.</p>
<p>The above direct payment link can also be represented within an HTML form by using the appropriate INPUT tags for the three required parameters. However, the above link is missing the parameters that specify details about the products contained within the cart sale. While the above link will work and the customer will be charged the amount, there will be no record of the items that are being purchased in the cart. To specify product details, use the Product Identification parameters.</p>
<p><strong>Combining with the Product Identification parameters</strong></p>
<p>To specify individual products within the cart sale, you will need to use the following parameters:</p>
<ul>
<li>c_prod &#8212; The ID of the product that is being purchased. The quantity of product being purchased can passed with this parameter by placing a comma after the ID and then the quantity in numeric format.</li>
<li> id_type &#8212; Due to changes in with the Product Identification parameters this parameter should be passed in once during the purchase and will need to have its value set to 1.</li>
<li>c_name &#8212; This will contain the name of your individual product, and will be displayed at the time of checkout so your customer will know what is being purchased.</li>
<li>c_description &#8212; The value of this parameter should contain a short description of the product to be sold. (255 characters max)</li>
<li>c_price &#8212; The price of your product. Please note that in order to prevent a discrepancy between the total parameter and the sum of the product identification c_price parameters which may confuse the customer, the product price will not be displayed on the purchase page. (8 characters, decimal, 2 characters: Example: 99999999.99)</li>
</ul>
<p>A direct purchase link using the Product Identification parameters in its most basic form would look similar to this:</p>
<pre><code>https://www.2checkout.com/checkout/purchase?sid=123456&amp;total=2.00&amp;
cart_order_id=CART-001&amp;id_type=1&amp;c_prod=PRODUCT-10,1&amp;
c_name=Product 10&amp;c_description=This is my 10th product&amp;c_price=1.00</code></pre>
<p>This can also be represented within an HTML form. Below is the base required elements to an HTML submission form for the same product:</p>
<pre><code>&lt;form action='https://www.2checkout.com/checkout/purchase' method='post'&gt;
&lt;input type='hidden' name='sid' value='123456' &gt;
&lt;input type='hidden' name='total' value='2.00' &gt;
&lt;input type='hidden' name='cart_order_id' value='CART-001' &gt;
&lt;input type='hidden' name='id_type' value='1' &gt;
&lt;input type='hidden' name='c_prod' value='PRODUCT-10,1' &gt;
&lt;input type='hidden' name='c_name' value='Product 10' &gt;
&lt;input type='hidden' name='c_description' value='This is my 10th product' &gt;
&lt;input type='hidden' name='c_price' value='1.00' &gt;
&lt;input name='submit' type='submit' value='Buy from 2CO' &gt;
&lt;/form&gt;</code></pre>
<p><strong>Multiple Products in One Form</strong></p>
<p>You can also specify multiple products. To do this, you would add an underscore followed by an incrementing digit to the end of each parameter that defines products (ie. parameters starting with &#8220;c_&#8221;). A direct purchase link would look like this:</p>
<pre><code>

https://www.2checkout.com/checkout/purchase?sid=123456&#038;total=4.00&#038;

cart_order_id=CART-001&amp;id_type=1&amp;c_prod_1=PRODUCT-10,1&amp;
c_name_1=Product 10&amp;c_description_1=This is my 10th product&amp;c_price_1=1.00&amp;
amp;c_prod_2=PRODUCT-20,1&amp;c_name_2=Product 20&amp;c_description_2=This is my 20th
product&amp;c_price_2=2.00</code></pre>
<p>Converting this to an HTML submission form, it would appear as so:</p>
<pre><code>&lt;form action='https://www.2checkout.com/checkout/purchase' method='post'&gt;
&lt;input type='hidden' name='sid' value='123456' &gt;
&lt;input type='hidden' name='total' value='4.00' &gt;
&lt;input type='hidden' name='cart_order_id' value='CART-001' &gt;
&lt;input type='hidden' name='id_type' value='1' &gt;
&lt;input type='hidden' name='c_prod_1' value='PRODUCT-10,1' &gt;
&lt;input type='hidden' name='c_name_1' value='Product 10' &gt;
&lt;input type='hidden' name='c_description_1' value='This is my 10th product' &gt;
&lt;input type='hidden' name='c_price_1' value='1.00' &gt;
&lt;input type='hidden' name='c_prod_2' value='PRODUCT-20,1' &gt;
&lt;input type='hidden' name='c_name_2' value='Product 20' &gt;
&lt;input type='hidden' name='c_description_2' value='This is my 20th product' &gt;
&lt;input type='hidden' name='c_price_2' value='2.00' &gt;
&lt;input name='submit' type='submit' value='Buy from 2CO' &gt;
&lt;/form&gt;</code></pre>
<h3>Authorize.net Parameters</h3>
<p>This parameter set works just like the 3rd-Party Cart parameter set, except that the parameter names use the Authorize.net naming conventions. The only real change is the names of the parameters, as the behavior of the purchase routine remains the same as if you were using the 3rd-Party Cart parameters. This set simply makes it easier for developers and shopping carts that already know/use the Authorize.net parameter names.</p>
<p>The three required Authorize.net parameters are:</p>
<ul>
<li>x_login &#8212; same as &#8216;sid&#8217;</li>
<li>x_amount &#8212; same as &#8216;total&#8217;</li>
<li>x_invoice_num &#8212; same as &#8216;cart_order_id&#8217;</li>
</ul>
<p><strong>Basic Payment Link</strong></p>
<p>Taking from the example purchase link above for the single-product purchase using the 3rd-Party Cart set in combination with the New Product Creation set, a direct purchase link would look like this:</p>
<pre><code>https://www.2checkout.com/checkout/purchase?x_login=123456&amp;x_amount=2.00&amp;
amp;x_invoice_num=CART-001&amp;id_type=1&amp;c_prod=PRODUCT-10,1&amp;
c_name=Product 10&amp;c_description=This is my 10th product&amp;c_price=1.00</code></pre>
<p>Notice that all other parameters stay the same except for the three required parameters. This also means that the set up of the HTML submission form, as well as setting up for multiple products, remains the same regardless of whether you use the 3rd Part Cart parameters or the Authorize.net parameters.</p>
<p><strong>Additional Parameters</strong></p>
<p>In addition, you also have the &#8216;x_receipt_link_url&#8217; parameter available as part of this set. However, this parameter is given a special exception, as it can be used in *all* parameter sets. This parameter allows you to specify the approved URL (the URL that your customers will return to once the sale has completed successfully) on-the-fly by passing it into the purchase routine.</p>
<p>This parameter has a few very specific behaviors that should be paid attention so that it can be used effectively:</p>
<ul>
<li>This parameter will over-ride any approved URL set within your account.</li>
<li>Return Method set to &#8220;Given links back to my Site&#8221; &#8212; This parameter will control where the &#8216;Click Here to Finalize your Order&#8217; button takes the customer after the successful sale. If there are product-specific approved URLs and only one product is ordered, it will over-ride the individual product&#8217;s return URLs. If there are product-specific approved URLs and more than one product is ordered, then this parameter will control where the &#8216;Click Here to Finalize Your Order&#8217; button on the Order Complete page as normal, but any product-specific return URLs will be listed as links on the Order Complete page next to each line item listed out.</li>
<li>Return Method &#8220;Direct Return&#8221; or &#8220;Header Redirect&#8221; &#8212; This parameter will control where the customer gets directed to automatically after the successful sale. If there are product-specific approved URLs and only one product is ordered, this parameter will *not* over-ride the return URLs on the individual product. If there are product-specific approved URLs and more than one product is ordered, then this parameter will over-ride all the product return URLs.</li>
</ul>
<p><strong>More Information</strong></p>
<p>For information on the 3rd-Party Cart parameter set, please refer to the article that details this parameter set <a href="http://www.2checkout.com/blog/knowledge-base/tech-support/3rd-party-carts/parameter-sets/does-your-system-have-its-own-parameters-if-so-what-are-they/">here.</a></p>
<p>If you need more information regarding the Authorize.net parameters, please refer to the article that details this parameter set <a href="http://www.2checkout.com/blog/knowledge-base/tech-support/3rd-party-carts/parameter-sets/does-your-system-support-authorizenet-parameters-if-so-what-are-they/">here.</a></p>
<h3>BILLING &amp; SHIPPING INFORMATION</h3>
<p>Lastly, the parameter sets offer the ability to take in billing and shipping information. This allows you to create your own interface on your website for requesting customer information, and then passing the customer&#8217;s information to the 2Checkout purchase routine to populate the Billing Information and Shipping Information forms. This way, you can record information on your customer before they reach 2Checkout, and customers will not have to enter their information twice.</p>
<p>There are two naming conventions for billing and shipping parameters. The standard naming convention can be used with the Plug-n-Play, Pass Through Products and 3rd-Party Cart parameters. The second naming convention variation is to be used with the Authorize.net set only.</p>
<p><strong>Standard Naming Convention</strong></p>
<p>To populate the Billing Information page, the following parameters can be used:</p>
<ul>
<li>card_holder_name &#8211; Card holder’s name. This can also be populated using the &#8216;first_name&#8217;, &#8216;middle_initial&#8217;, and &#8216;last_name&#8217; parameters. However, if you use these three parameters, the data will be combined into and returned as &#8216;card_holder_name&#8217; in the parameters passed back to an Approved URL script.</li>
<li>street_address</li>
<li>street_address2</li>
<li>city</li>
<li>state</li>
<li>zip</li>
<li>country</li>
<li>email</li>
<li>phone</li>
<li>phone_extension</li>
</ul>
<p>To populate the Shipping Information page, the following parameters can be used:</p>
<ul>
<li>ship_name</li>
<li>ship_street_address</li>
<li>ship_street_address2</li>
<li>ship_city</li>
<li>ship_state</li>
<li>ship_zip</li>
<li>ship_country</li>
</ul>
<p><strong>Authorize.net Naming Convention</strong></p>
<p>To populate the Billing Information page, the following parameters can be used:</p>
<ul>
<li>x_First_Name</li>
<li>x_Last_Name</li>
<li>x_Phone</li>
<li>x_Email</li>
<li>x_Address</li>
<li>x_City</li>
<li>x_State</li>
<li>x_Zip</li>
<li>x_Country</li>
</ul>
<p>To populate the Shipping Information page, the following parameters can be used:</p>
<ul>
<li>x_Ship_To_First_Name</li>
<li>x_Ship_To_Last_Name</li>
<li>x_Ship_To_Address</li>
<li>x_Ship_To_City</li>
<li>x_Ship_To_Country</li>
<li> x_Ship_To_State</li>
<li>x_Ship_To_Zip</li>
</ul>
<h3>EXTENDED EXAMPLES</h3>
<p>Below are three examples of the parameter sets, which include many of the other available parameters in addition to the ones required for each set.</p>
<p><strong>Plug-n-Play Example</strong></p>
<p>This is a sale for two products, the quantity of which can not be changed due to enabling the &#8216;fixed&#8217; parameter, and establishing all the billing and shipping information.</p>
<pre><code>&lt;form action='https://www.2checkout.com/checkout/purchase' method='post'&gt;
&lt;input type='hidden' name='sid' value='123456' &gt;
&lt;input type='hidden' name='product_id1' value='101' &gt;
&lt;input type='hidden' name='quantity1' value='1' &gt;
&lt;input type='hidden' name='product_id2' value='202' &gt;
&lt;input type='hidden' name='quantity2' value='1' &gt;
&lt;input type='hidden' name='fixed' value='Y' &gt;
&lt;input type='hidden' name='card_holder_name' value='Checkout Shopper' &gt;
&lt;input type='hidden' name='street_address' value='1785 OBrien Road' &gt;
&lt;input type='hidden' name='street_address2' value='Suite 200' &gt;
&lt;input type='hidden' name='city' value='Columbus' &gt;
&lt;input type='hidden' name='state' value='OH' &gt;
&lt;input type='hidden' name='zip' value='43228' &gt;
&lt;input type='hidden' name='country' value='USA' &gt;
&lt;input type='hidden' name='email' value='example@2co.com' &gt;
&lt;input type='hidden' name='phone' value='614-921-2450' &gt;
&lt;input type='hidden' name='phone_extension' value='197' &gt;
&lt;input type='hidden' name='ship_name' value='Gift Receiver' &gt;
&lt;input type='hidden' name='ship_street_address' value='1234 Address Road' &gt;
&lt;input type='hidden' name='ship_street_address2' value='Apartment 123' &gt;
&lt;input type='hidden' name='ship_city' value='Columbus' &gt;
&lt;input type='hidden' name='ship_state' value='OH' &gt;
&lt;input type='hidden' name='ship_zip' value='43235' &gt;
&lt;input type='hidden' name='ship_country' value='USA' &gt;
&lt;input name='submit' type='submit' value='Buy from 2CO' &gt;
&lt;/form&gt;</code></pre>
<p><strong>Pass Through Product Example</strong></p>
<p>This sale includes 1 product with a quantity of 2, a coupon deduction and both shipping and tax surcharges. The form also passes in all the billing and shipping information.</p>
<pre><code>&lt;form action='https://www.2checkout.com/checkout/purchase' method='post'&gt;
&lt;input type='hidden' name='sid' value='1303908' &gt;
&lt;input type='hidden' name='mode' value='2CO' &gt;
&lt;input type='hidden' name='li_0_type' value='product' &gt;
&lt;input type='hidden' name='li_0_name' value='Example Product Name' &gt;
&lt;input type='hidden' name='li_0_product_id' value='Example Product ID' &gt;
&lt;input type='hidden' name='li_0__description' value='Example Product Description' &gt;
&lt;input type='hidden' name='li_0_price' value='10.00' &gt;
&lt;input type='hidden' name='li_0_quantity' value='2' &gt;
&lt;input type='hidden' name='li_0_tangible' value='Y' &gt;
&lt;input type='hidden' name='li_1_type' value='shipping' &gt;
&lt;input type='hidden' name='li_1_name' value='Example Shipping Method' &gt;
&lt;input type='hidden' name='li_1_price' value='1.50' &gt;
&lt;input type='hidden' name='li_2_type' value='coupon' &gt;
&lt;input type='hidden' name='li_2_name' value='Example Coupon' &gt;
&lt;input type='hidden' name='li_2_price' value='1.00' &gt;
&lt;input type='hidden' name='li_3_type' value='tax' &gt;
&lt;input type='hidden' name='li_3_name' value='Example Tax' &gt;
&lt;input type='hidden' name='li_3_price' value='0.50' &gt;
&lt;input type='hidden' name='card_holder_name' value='Checkout Shopper' &gt;
&lt;input type='hidden' name='street_address' value='1785 OBrien Road' &gt;
&lt;input type='hidden' name='street_address2' value='Suite 200' &gt;
&lt;input type='hidden' name='city' value='Columbus' &gt;
&lt;input type='hidden' name='state' value='OH' &gt;
&lt;input type='hidden' name='zip' value='43228' &gt;
&lt;input type='hidden' name='country' value='USA' &gt;
&lt;input type='hidden' name='email' value='example@2co.com' &gt;
&lt;input type='hidden' name='phone' value='614-921-2450' &gt;
&lt;input type='hidden' name='phone_extension' value='197' &gt;
&lt;input type='hidden' name='ship_name' value='Gift Receiver' &gt;
&lt;input type='hidden' name='ship_street_address' value='1234 Address Road' &gt;
&lt;input type='hidden' name='ship_street_address2' value='Apartment 123' &gt;
&lt;input type='hidden' name='ship_city' value='Columbus' &gt;
&lt;input type='hidden' name='ship_state' value='OH' &gt;
&lt;input type='hidden' name='ship_zip' value='43235' &gt;
&lt;input type='hidden' name='ship_country' value='USA' &gt;
&lt;input name='submit' type='submit' value='Buy from 2CO' &gt;
&lt;/form&gt;</code></pre>
<p><strong>3rd-Party Cart Example</strong></p>
<p>This is a cart sale establishing two products, using vendor-specified product IDs, specifying the Approved URL that the customer will be taken at the end of the sale, and only populating the billing information.</p>
<pre><code>&lt;form action='https://www.2checkout.com/checkout/purchase' method='post'&gt;
&lt;input type='hidden' name='sid' value='123456' &gt;
&lt;input type='hidden' name='total' value='4.00' &gt;
&lt;input type='hidden' name='cart_order_id' value='CART-001' &gt;
&lt;input type='hidden' name='id_type' value='1' &gt;
&lt;input type='hidden' name='c_prod_1' value='PRODUCT-10,1' &gt;
&lt;input type='hidden' name='c_name_1' value='Product 10' &gt;
&lt;input type='hidden' name='c_description_1' value='This is my 10th product' &gt;
&lt;input type='hidden' name='c_price_1' value='1.00' &gt;
&lt;input type='hidden' name='c_prod_2' value='PRODUCT-20,1' &gt;
&lt;input type='hidden' name='c_name_2' value='Product 20' &gt;
&lt;input type='hidden' name='c_description_2' value='This is my 20th product' &gt;
&lt;input type='hidden' name='c_price_2' value='2.00' &gt;
&lt;input type='hidden' name='card_holder_name' value='Checkout Shopper' &gt;
&lt;input type='hidden' name='street_address' value='1785 OBrien Road' &gt;
&lt;input type='hidden' name='street_address2' value='Suite 200' &gt;
&lt;input type='hidden' name='city' value='Columbus' &gt;
&lt;input type='hidden' name='state' value='OH' &gt;
&lt;input type='hidden' name='zip' value='43228' &gt;
&lt;input type='hidden' name='country' value='USA' &gt;
&lt;input type='hidden' name='email' value='example@2co.com' &gt;
&lt;input type='hidden' name='phone' value='614-921-2450' &gt;
&lt;input type='hidden' name='phone_extension' value='197' &gt;
&lt;input type='hidden' name='x_receipt_link_url'
value='http://www.yourdomain.com/returnscript.php' &gt;
&lt;input name='submit' type='submit' value='Buy from 2CO' &gt;
&lt;/form&gt;</code></pre>
<p><strong>Authorize.net Example</strong></p>
<p>This is a cart sale using the Authorize.net naming convention that establishes two products, using vendor-specified product IDs and specifies only shipping information.</p>
<pre><code>&lt;form action='https://www.2checkout.com/checkout/purchase' method='post'&gt;
&lt;input type='hidden' name='x_login' value='123456' &gt;
&lt;input type='hidden' name='x_amount' value='2.00' &gt;
&lt;input type='hidden' name='x_invoice_num' value='CART-001' &gt;
&lt;input type='hidden' name='id_type' value='1' &gt;
&lt;input type='hidden' name='c_prod_1' value='PRODUCT-10,1' &gt;
&lt;input type='hidden' name='c_name_1' value='Product 10' &gt;
&lt;input type='hidden' name='c_description_1' value='This is my 10th product' &gt;
&lt;input type='hidden' name='c_price_1' value='1.00' &gt;
&lt;input type='hidden' name='c_prod_2' value='PRODUCT-20,1' &gt;
&lt;input type='hidden' name='c_name_2' value='Product 20' &gt;
&lt;input type='hidden' name='c_description_2' value='This is my 20th product' &gt;
&lt;input type='hidden' name='c_price_2' value='2.00' &gt;
&lt;input type='hidden' name='x_ship_to_first_name' value='Gift' &gt;
&lt;input type='hidden' name='x_ship_to_last_name' value='Receiver' &gt;
&lt;input type='hidden' name='x_ship_to_address' value='1234 Address Road' &gt;
&lt;input type='hidden' name='x_ship_to_city' value='Columbus' &gt;
&lt;input type='hidden' name='x_ship_to_state' value='OH' &gt;
&lt;input type='hidden' name='x_ship_to_zip' value='43235' &gt;
&lt;input type='hidden' name='x_ship_to_country' value='USA' &gt;
&lt;input name='submit' type='submit' value='Buy from 2CO' &gt;
&lt;/form&gt;</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.2checkout.com/blog/tutorials/tutorial-creating-2checkout-purchase-links/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New Single Page Checkout Announced</title>
		<link>http://www.2checkout.com/blog/knowledge-base/merchants/tech-support/3rd-party-carts/parameter-sets/new-single-page-checkout-announced/</link>
		<comments>http://www.2checkout.com/blog/knowledge-base/merchants/tech-support/3rd-party-carts/parameter-sets/new-single-page-checkout-announced/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 17:29:35 +0000</pubDate>
		<dc:creator>cliff</dc:creator>
				<category><![CDATA[2Checkout Blog]]></category>
		<category><![CDATA[Parameter Sets]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[purchase links]]></category>
		<category><![CDATA[purchase routine]]></category>

		<guid isPermaLink="false">http://www.2checkout.com/community/blog/knowledge-base/tech-support/3rd-party-carts/parameter-sets/new-single-page-checkout-announced/</guid>
		<description><![CDATA[2Checkout.com, Inc. is excited to announce the launch of our new Single Page Checkout process. Many of our clients have been asking for a faster, more efficient, customer experience. We heard those requests and are now happy to deliver the fastest checkout possible for clients that produce intangible goods/services. To maximize compatibility, all current 2CO [...]]]></description>
			<content:encoded><![CDATA[<p>2Checkout.com, Inc. is excited to announce the launch of our new Single Page Checkout process.</p>
<p>Many of our clients have been asking for a faster, more efficient, customer experience. We heard those requests and are now happy to deliver the fastest checkout possible for clients that produce intangible goods/services.</p>
<p>To maximize compatibility, all current 2CO parameter sets are supported.</p>
<p>To maximize efficiency, only intangible products and credit card payments are enabled with this routine.</p>
<p><strong>Please note:</strong> Accounts using third party carts are able to use the Single Page Purchase routine for both tangible and intangible products/services. </p>
<p>To address the needs of clients who produce tangible goods and those who want to benefit from all the alternative payment options 2CO accepts, the traditional multi-page checkout process will remain as the default.</p>
<p>This new single page purchase routine may be used with the <a href="http://www.2checkout.com/blog/category/knowledge-base/tech-support/3rd-party-carts/parameter-sets/">PNP and third party cart parameter sets</a>, by simply replacing the default purchase routine with this one:</p>
<pre><code>https://www.2checkout.com/checkout/spurchase</code></pre>
<p><a href="https://www.2checkout.com/checkout/spurchase?sid=11&amp;cart_order_id=TESTCART&amp;total=1.00&amp;c_prod=1&amp;id_type=2">Click here to see a working demonstration. </a></p>
<p>We are confident that the new routine will streamline the checkout process for appropriate offerings and therefore increase conversion rates.  2CO will monitor conversion results closely.  It is also recommended that each client evaluate their individual results independently.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.2checkout.com/blog/knowledge-base/merchants/tech-support/3rd-party-carts/parameter-sets/new-single-page-checkout-announced/feed/</wfw:commentRss>
		<slash:comments>79</slash:comments>
		</item>
	</channel>
</rss>

