<?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; parameters</title>
	<atom:link href="http://www.2checkout.com/community/blog/tag/parameters/feed" rel="self" type="application/rss+xml" />
	<link>http://www.2checkout.com/community</link>
	<description>merchant account / credit card processing alternative</description>
	<lastBuildDate>Fri, 20 Nov 2009 14:30:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Documentation Update</title>
		<link>http://www.2checkout.com/community/blog/2checkout-blog/documentation-update</link>
		<comments>http://www.2checkout.com/community/blog/2checkout-blog/documentation-update#comments</comments>
		<pubDate>Thu, 26 Jun 2008 20:52:18 +0000</pubDate>
		<dc:creator>cliff</dc:creator>
				<category><![CDATA[2Checkout Blog]]></category>
		<category><![CDATA[cart]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[parameters]]></category>
		<category><![CDATA[third party carts]]></category>

		<guid isPermaLink="false">http://www.2checkout.com/community/blog/2checkout-blog/documentation-update/</guid>
		<description><![CDATA[We&#8217;ve recently updated our third party cart parameter articles to simplify our integration requirements.
If you are developing a 2CO-compatible shopping cart, this consolidates our technical requirements into a single document, based on the parameter set you prefer.
Most developers will want to refer to our custom parameter set as detailed in the article titled What are [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve recently updated our third party cart parameter articles to simplify our integration requirements.</p>
<p>If you are developing a 2CO-compatible shopping cart, this consolidates our technical requirements into a single document, based on the parameter set you prefer.</p>
<p>Most developers will want to refer to our custom parameter set as detailed in the article titled <a href="http://www.2checkout.com/community/blog/knowledge-base/tech-support/3rd-party-carts/parameter-sets/does-your-system-have-its-own-parameters-if-so-what-are-they/">What are 2Checkout.com’s own parameters?</a></p>
<p>Developers who prefer to use our supported subset of Authorize.net parameters will want to refer to the article titled <a href="http://www.2checkout.com/community/blog/knowledge-base/tech-support/3rd-party-carts/parameter-sets/does-your-system-support-authorizenet-parameters-if-so-what-are-they/">What Authorize.net parameters does 2CO support?</a></p>
<p>As always, if you have any questions about integrating our service with your product, please <a href="http://www.2checkout.com/community/help/#suppliers">contact us directly</a> by telephone or by opening a support ticket in the Tech Support category.</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%2F2checkout-blog%2Fdocumentation-update&amp;title=Documentation+Update', '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/2checkout-blog/documentation-update/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TUTORIAL: Creating 2Checkout Purchase Links</title>
		<link>http://www.2checkout.com/community/blog/tutorials/tutorial-creating-2checkout-purchase-links</link>
		<comments>http://www.2checkout.com/community/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 are [...]]]></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; Set this to &#8217;sp&#8217; to translate the purchase routine into Spanish.</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: &#8216;CC&#8217; for Credit Card, &#8216;CK&#8217; for check, &#8216;PPI&#8217; for PayPal, or &#8216;PPL&#8217; for PayPal Pay Later.</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.</li>
</ul>
<p>The following are explanations of the four individual parameter sets available within our system.</p>
<p><span id="more-483"></span></p>
<h2>Plug and Play Parameters</h2>
<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. Although we provide other ways to sell products than the Plug-n-Play method, do keep in mind that this is the only method that is able to do recurring orders.</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:</p>
<pre><code>https://www.2checkout.com/</code><code>checkout</code><code>/purchase?sid=123456&amp;product_id=101&amp;quantity=1</code></pre>
<p>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/</code><code>checkout</code><code>/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/</code><code>checkout</code><code>/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/</code><code>checkout</code><code>/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>http://www.2checkout.com/community/?p=205</p>
<h2> 3rd-Party Cart Parameters</h2>
<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 New Product Creation parameter set be used in combination with this set to specify the details of the products contained within the cart sale. The combination of both sets 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>The New Product Creation parameters are actually an extension onto the 3rd-Party Cart and Authorize.net parameter sets. This allows you to send in raw product information to the purchase routine, and will save the product to your 2Checkout account once the sale completes successfully if it has not already been created.</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/</code><code>checkout</code><code>/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 New Product Creation set in combination with the 3rd-Party Cart set.</p>
<p><strong>Combining with the New Product Creation 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; This parameter should be set to contain either the system-specified ID given to the product upon creation within your 2Checkout account, or a vendor-specified ID. It may, optionally, also contain the ID followed by a comma and an integer representing the quantity. The value of this parameter should not be automatically generated with each individual sale, but should rather be tied to a specific product at all times to avoid creating multiple copies of the same product within your account.</li>
<li> id_type &#8212; This parameter will specify the type of IDs being used with the &#8216;c_prod&#8217; parameter(s). This setting will apply universally per transaction, so &#8216;c_prod&#8217; parameters must contain only system-specified IDs (if set to &#8216;1&#8242;) or only vendor-specified IDs (if set to &#8216;2&#8242;).</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; This should continue a short description of the details about your product. This will not show on the purchase routine, but it will be saved along with the product under your account.</li>
<li>c_price &#8212; This parameter specifies the price for each individual item.</li>
<li>sh_cost &#8212; This parameter specifies the cost of the shipping and handling. If there is no shipping and handling, then this parameter may be either set to &#8220;0.00&#8243; or completely omitted.</li>
</ul>
<p>A direct purchase link using the 3rd-Party Cart set in combination with the New Product Creation set in its most basic form would look similar to this:</p>
<pre><code>https://www.2checkout.com/</code><code>checkout</code><code>/purchase?sid=123456&amp;total=2.00&amp;
cart_order_id=CART-001&amp;id_type=1&amp;sh_cost=1.00&amp;c_prod=PRODUCT-10&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 establishing a single new product:</p>
<pre><code>&lt;form action='https://www.2checkout.com/</code><code>checkout</code><code>/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='sh_cost' value='1.00' &gt;
&lt;input type='hidden' name='c_prod' value='PRODUCT-10' &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/</code><code>checkout</code><code>/purchase?sid=123456&amp;total=4.00&amp;
cart_order_id=CART-001&amp;id_type=1&amp;sh_cost=1.00&amp;c_prod_1=PRODUCT-10&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&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/</code><code>checkout</code><code>/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='sh_cost' value='1.00' &gt;
&lt;input type='hidden' name='c_prod_1' value='PRODUCT-10' &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' &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>
<h2>Authorize.net Parameters</h2>
<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 &#8217;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/</code><code>checkout</code><code>/purchase?x_login=123456&amp;x_amount=2.00&amp;
amp;x_invoice_num=CART-001&amp;id_type=1&amp;sh_cost=1.00&amp;c_prod=PRODUCT-10&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>Direct Return DISABLED &#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>Direct Return ENABLED &#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/community/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/community/blog/knowledge-base/tech-support/3rd-party-carts/parameter-sets/does-your-system-support-authorizenet-parameters-if-so-what-are-they/">here.</a></p>
<h2>BILLING &amp; SHIPPING INFORMATION</h2>
<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 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>
<h2>EXTENDED EXAMPLES</h2>
<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/</code><code>checkout</code><code>/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>3rd-Party Cart Example</strong></p>
<p>This is a cart sale establishing two new 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/</code><code>checkout</code><code>/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='sh_cost' value='1.00' &gt;
&lt;input type='hidden' name='c_prod_1' value='PRODUCT-10' &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' &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 also a cart sale, only it uses the Authorize.net naming convention. It establishes one new product, using a system-assigned product ID, and only populating the shipping information.</p>
<pre><code>&lt;form action='https://www.2checkout.com/</code><code>checkout</code><code>/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='2' &gt;
&lt;input type='hidden' name='sh_cost' value='1.00' &gt;
&lt;input type='hidden' name='c_prod' value='5' &gt;
&lt;input type='hidden' name='c_name' value='Product 5' &gt;
&lt;input type='hidden' name='c_description' value='This is my 5th product' &gt;
&lt;input type='hidden' name='c_price' value='1.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>
<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%2Ftutorials%2Ftutorial-creating-2checkout-purchase-links&amp;title=TUTORIAL%3A+Creating+2Checkout+Purchase+Links', '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/tutorials/tutorial-creating-2checkout-purchase-links/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Displaying Product Information</title>
		<link>http://www.2checkout.com/community/blog/newest/displaying-product-information</link>
		<comments>http://www.2checkout.com/community/blog/newest/displaying-product-information#comments</comments>
		<pubDate>Mon, 11 Jun 2007 16:42:25 +0000</pubDate>
		<dc:creator>joel</dc:creator>
				<category><![CDATA[2Checkout Blog]]></category>
		<category><![CDATA[3rd Party Carts]]></category>
		<category><![CDATA[Basic Integration]]></category>
		<category><![CDATA[Newest]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[parameters]]></category>
		<category><![CDATA[products]]></category>
		<category><![CDATA[third party cart]]></category>

		<guid isPermaLink="false">http://www.2checkout.com/community/?p=346</guid>
		<description><![CDATA[Vendors who use our 3rd party cart parameters often wish for the product details to be displayed on our 2Checkout.com order page. By default, when using this parameter set, only the value of the cart_order_id parameter and the total of the sale are displayed on this page. Did you know it was possible for you [...]]]></description>
			<content:encoded><![CDATA[<p>Vendors who use our <a href="http://www.2checkout.com/community/blog/knowledge-base/tech-support/3rd-party-carts/parameter-sets/does-your-system-have-its-own-parameters-if-so-what-are-they/">3rd party cart parameters</a> often wish for the product details to be displayed on our 2Checkout.com order page. By default, when using this parameter set, only the value of the cart_order_id parameter and the total of the sale are displayed on this page. Did you know it was possible for you to create the products in your vendor account, reference them with a few parameters, and still pass 2Checkout an arbitrary total value? The process is quite simple. We will start from the beginning and you are welcome to follow along by placing your Supplier ID number as the value for the sid parameter in our example links.</p>
<p><span id="more-346"></span>Let’s say that you are using the following link to sell your products or services to your customers:</p>
<pre><code>https://www.2checkout.com/</code><code>checkout</code><code>/purchase?sid=XXXXXXX&amp;total=20.00&amp;cart_order_id=1234ABCD </code></pre>
<p>When this link is processed, the value 1234ABCD is listed as the &#8220;Purchase Item&#8221; on our Order Details page. For our example, we are a vendor selling widgets at variable prices. Because of the variable price, you are not able to use our plug and play parameters, which require a set price for a product. If we want the customer to be able to see which widget they are purchasing but still offer the variable price we can do this. First, we need to create the widgets in our vendor account products area. To do this log into your account and click on link #4, &#8220;Set Up Products&#8221;. Next click on &#8220;New Product&#8221; link located on the right hand side of the screen. We will now enter all the required fields to describe our widget. The first required field is &#8220;Your Product ID&#8221;. You will have the ability to reference this product using this value. For this example, let’s enter the value &#8220;W1?. The Name field will be displayed on the Order Details page so for this example let’s enter the value &#8220;Widget Block&#8221; in this field. When you get to the &#8220;Price&#8221; field don’t panic because it is required, the system will not read this value when placing a sale and this is not what the customer will be charged. What I recommend, to prevent customers from attempting to purchase from the built in <a href="http://www.2checkout.com/community/blog/knowledge-base/tech-support/basic-integration/how-can-i-send-my-website-visitors-to-a-single-page-that-displays-all-of-my-products/">2Checkout Order Page</a> is to set this value to a high value as opposed to a low value such as 1.00. Let’s enter 1000.00 in this field for our example. The next required field is &#8220;Tangible&#8221;. If your product can be shipped then you will select YES and if your product is not something that is shipped you will select NO. Choosing either one will not affect the sales process at all in this example. Because our widgets will be shipped let’s choose YES. Now click the &#8220;Create Product&#8221; button to complete our widget.</p>
<p>Now that we have our product created, we can edit our purchase link to reference the product. This is done by using the parameters, id_type and c_prod, which are part of our <a href="http://www.2checkout.com/community/blog/knowledge-base/tech-support/3rd-party-carts/parameter-sets/what-are-the-new-cart-purchase-parameters/">New Cart Purchase Parameters</a>. Id_type can hold a value of 1 if you wish to reference your product from the &#8220;Your Vendor ID&#8221; value which you entered when you created your product or a value of 2 if you wish to reference the product based on the &#8220;Product ID&#8221; which is assigned to your product by the 2Checkout system. Because the assigned product ID could be any number depending on your specific account, we will set the id_type parameter to the value of 1. Now that we have decided to use the &#8220;Your Product ID&#8221; value, we need to reference the product in our link using the c_prod parameter with the &#8220;Your Product ID&#8221; value, W1, as the value of the parameter. Adding these 2 parameters will cause our link to look like the following:</p>
<pre><code>https://www.2checkout.com/</code><code>checkout</code><code>/purchase?sid=XXXXXXX&amp;total=20.00&amp;cart_order_id=1234ABCD&amp;id_type=1&amp;c_prod=W1</code></pre>
<p>When you process this link in your web browser you will see the &#8220;Purchase Item&#8221; of &#8220;1234ABCD&#8221; and Total of 20.00 just as we saw before. Below this information, we now see a section showing our Widget’s Product Name and a quantity, which defaults to 1. We have successfully displayed what product our customer purchased without actually using the product and price that was set in the 2Checkout account.</p>
<p>It is also very easy to add the quantity of the product purchased so the customer can see this as well. All you need to do is place a comma after your c_prod value and list the quantity value. For example if we sold 3 Widget Blocks to our customer, our link would look like the following:</p>
<pre><code>https://www.2checkout.com/</code><code>checkout</code><code>/purchase?sid=XXXXXXX&amp;total=20.00&amp;cart_order_id=1234ABCD&amp;id_type=1&amp;c_prod=W1,3</code></pre>
<p>You can also use this method to list more then one product on the Order Details page. Let’s say we had created a Widget Cube in our account that we gave a ID of W2. The customer then purchases 2 of these widgets in addition to 3 Widget Blocks. Our link would now look like this:</p>
<pre><code>https://www.2checkout.com/</code><code>checkout</code><code>/purchase?sid=XXXXXXX&amp;total=20.00&amp;cart_order_id=1234ABCD&amp;id_type=1&amp;c_prod_1=W1,3&amp;c_prod_2=W2,2</code></pre>
<p>With closer inspection, you will see some changes in the parameters that we passed. If you pass in more then one c_prod parameter, you must place a underscore and then a digit after c_prod so our parameters are now c_prod_1 and c_prod_2. It is also important to point out that while we have 2 c_prod parameters we still are only required to pass in 1 id_type parameter. This parameter is applied to each c_prod value passed into the system.</p>
<p>After reading this article, you should be able to display product information to your customers on the 2Checkout Order Details page even if you are not using our Plug and Play Cart parameters.</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%2Fdisplaying-product-information&amp;title=Displaying+Product+Information', '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/displaying-product-information/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Using Checkboxes With The Plug and Play Purchase Parameters</title>
		<link>http://www.2checkout.com/community/blog/newest/using-checkboxes-with-the-plug-and-play-purchase-parameters</link>
		<comments>http://www.2checkout.com/community/blog/newest/using-checkboxes-with-the-plug-and-play-purchase-parameters#comments</comments>
		<pubDate>Mon, 21 May 2007 20:11:51 +0000</pubDate>
		<dc:creator>joel</dc:creator>
				<category><![CDATA[2Checkout Blog]]></category>
		<category><![CDATA[Basic Integration]]></category>
		<category><![CDATA[Newest]]></category>
		<category><![CDATA[Tech Support]]></category>
		<category><![CDATA[Using the Plug n Play Cart]]></category>
		<category><![CDATA[checkboxes]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[parameters]]></category>
		<category><![CDATA[plug and play]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.2checkout.com/community/?p=327</guid>
		<description><![CDATA[While the Plug and Play parameter set is typically implemented based on the provided HTML code, it can be extended and used in other forms.  In this article we will explain how you can use the plug and play parameters with checkboxes. This will allow you to build an order form on your site [...]]]></description>
			<content:encoded><![CDATA[<p>While the Plug and Play parameter set is typically implemented based on the provided HTML code, it can be extended and used in other forms.  In this article we will explain how you can use the plug and play parameters with checkboxes. This will allow you to build an order form on your site where your customers can check the products or services they wish to buy all at once.  We will also look at the use of checkboxes for product add-on and options.</p>
<p><span id="more-327"></span>Checkboxes are typically used when you want to allow a visitor of your site to select one or more options from a set of alternatives.  In an HTML form the checkbox input type carries the following common attributes.</p>
<ul>
<li>Name &#8211; This attribute carries the name of the parameter that will be submitted with the form if the check box is checked.  In our case this will carry the product_id parameter name.</li>
</ul>
<ul>
<li>Value &#8211; This attribute holds the value of the name attribute and is the value of the parameter that is passed with the form when the checkbox is checked.  In our case this will carry the assigned product ID of the product that is associated with the check box.</li>
</ul>
<p>To define a checkbox in our form we will create the input type and add the 2 attributes.  This would look like the following example:</p>
<pre><code>&lt;input type='checkbox' name='product_id' value='1' /&gt;</code></pre>
<p>When checked, this checkbox will pass the parameter named product_id with a value of 1 to the URL attached to the HTML form.</p>
<p>Now that we understand the basic attributes of the checkbox input type, and how to define one in our form, we will create a simple example. This example will allow the customer to purchase 1 of any product when they check the checkbox. Remember to subscript your product_id and quantity parameters with a corresponding digit. This will allow the customer to select multiple products at one time along with a quantity that corresponds to the product_id with the same subscript.</p>
<pre><code>&lt;form action='https://www.2checkout.com/</code><code>checkout</code><code>/purchase' method='post'&gt;
&lt;input type='hidden' name='sid' value='123' &gt;
Product 1:
&lt;input type='hidden' name='quantity1' value='1' &gt;
&lt;input type='checkbox' name='product_id1' value='1008' /&gt;
&lt;br/&gt;
Product 2:
&lt;input type='hidden' name='quantity2' value='1' &gt;
&lt;input type='checkbox' name='product_id2' value='1014' &gt;
&lt;br/&gt;
Product 3:
&lt;input type='hidden' name='quantity3' value='1' &gt;
&lt;input type='checkbox' name='product_id3' value='1011' &gt;
&lt;br/&gt;
&lt;input name="submit" type='submit' value='Buy from 2CO' &gt;
&lt;/form&gt;</code></pre>
<p>It is also very easy to add the ability for your customers to enter the quantity themselves as well.  To do this we will replace this line:</p>
<pre><code>&lt;input type='hidden' name='quantity1' value='1' &gt;</code></pre>
<p>with the following:</p>
<pre><code>&lt;input name='quantity' type='text' class="ctrl-ed" size='5' &gt;</code></pre>
<p>Checkboxes can also be used to allow your customers the ability to purchase an add-on or option for your product.  In this example, we have a product that you can purchase with the option of being a gift.  First we start with our basic HTML snippet that is provided by the 2Checkout system.</p>
<pre><code>&lt;form action='https://www.2checkout.com/</code><code>checkout</code><code>/purchase' method='post'&gt;
&lt;input type='hidden' name='sid' value='XXXXX' &gt;
&lt;input type='hidden' name='product_id' value='1' &gt;
Quantity
&lt;input name='quantity' type='text' class="ctrl-ed" size='5' &gt;
&lt;br&gt;
&lt;input name="submit" type='submit' value='Buy from 2CO' &gt;
&lt;/form&gt;</code></pre>
<p>To allow the customer to choose the gift option we need to first add the checkbox input that will be linked to the gift product. You will create this gift add-on in your account as another 2Checkout product.  Let&#8217;s say this add-on option is given a product ID of 2.  The following lines need to be added to the above form.</p>
<p>This is a gift:</p>
<pre><code>&lt;input type='checkbox' name='product_id2' value='2' &gt;
&lt;input type='hidden' name='quantity2' value='1' &gt;</code></pre>
<p>After reading this article, you should be able to add the checkbox input to your purchase forms.</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%2Fusing-checkboxes-with-the-plug-and-play-purchase-parameters&amp;title=Using+Checkboxes+With+The+Plug+and+Play+Purchase+Parameters', '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/using-checkboxes-with-the-plug-and-play-purchase-parameters/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What are the New Cart Purchase Parameters?</title>
		<link>http://www.2checkout.com/community/blog/knowledge-base/suppliers/tech-support/3rd-party-carts/parameter-sets/what-are-the-new-cart-purchase-parameters</link>
		<comments>http://www.2checkout.com/community/blog/knowledge-base/suppliers/tech-support/3rd-party-carts/parameter-sets/what-are-the-new-cart-purchase-parameters#comments</comments>
		<pubDate>Sat, 30 Dec 2006 07:00:00 +0000</pubDate>
		<dc:creator>knowledgebase</dc:creator>
				<category><![CDATA[Parameter Sets]]></category>
		<category><![CDATA[cart]]></category>
		<category><![CDATA[c_prod]]></category>
		<category><![CDATA[parameters]]></category>

		<guid isPermaLink="false">https://192.168.2.217/fresh/blog/2006/12/30/what-are-the-new-cart-purchase-parameters/</guid>
		<description><![CDATA[Announcement
The new cart purchase parameter descriptions have been integrated into the parameter set articles they are required for.  Please review the &#8220;Product Identification parameters&#8221; section of the 3rd party cart parameter article or the Authorize.net parameter article to find information on these parameters.  If you would like to test your integration of these [...]]]></description>
			<content:encoded><![CDATA[<h2>Announcement</h2>
<p>The new cart purchase parameter descriptions have been integrated into the parameter set articles they are required for.  Please review the &#8220;Product Identification parameters&#8221; section of the <a href="http://www.2checkout.com/community/blog/knowledge-base/suppliers/tech-support/3rd-party-carts/parameter-sets/does-your-system-have-its-own-parameters-if-so-what-are-they/">3rd party cart parameter article</a> or the <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/">Authorize.net parameter article</a> to find information on these parameters.  If you would like to test your integration of these parameters, try using our <a href="http://developers.2checkout.com/code_machine">developers.2Checkout area</a>.  The information below is provided for historical reference only.</p>
<hr />It has become necessary for 2CO to know the specific product that is being sold at the time of sale and for that product&#8217;s description to be stored in our database for reference. This change is required both by 2CO and by our banking partners to better mitigate risk and to monitor items being sold. Because of this requirement, we are asking cart makers and/or users to make changes to their cart or programs so that additional information about the items being sold is passed to 2CO.It is very important to note that:</p>
<ol>
<li>All previous parameters remain supported and should continue to be passed in (2CO, Authorize.net),</li>
<li>The parameter total (or the authorize.net parameter : x_amount) passed in for the order will continue to be the amount billed for the sale,</li>
<li>The paramaters cart_order_id and sid (or the authorize.net parameters: x_invoice_num and x_login) are still manditory with this parameter set.</li>
</ol>
<p><u>REQUIRED PARAMETERS</u><br />
These parameters are required to identify cart products being purchased and should be supplied ASAP.</p>
<p>For some clients it may make sense to create 1 or multiple generic products in the 2CO db, like &#8220;Premium Hosting&#8221;, &#8220;Super Saver Hosting&#8221; and pass in a total for the sale as generated on their site. If this option works for you please make the product name reasonably descriptive, (i.e. &#8220;website design services&#8221; would be a good description, &#8220;web services&#8221; a poor one for the same item ).</p>
<ul>
<li> c_prod or c_prod_[:digit] : This parameter will contain either the assigned_product_id given to the product upon creation in the 2CO system or a vendor specified id. It may, optionally, also contain the id followed by a &#8216;,&#8217; (ASCII comma) followed by an integer which will represent the quantity. This parameter should not be autogenerated with each individual sale but should be tied to a specific product. The c_prod value should match whatever external vendor id is recorded in the 2CO system. The external vendor id may be a cart assigned product id or the vendors own internal product id as long as the value matches the value stored in the 2Co system. Examples of valid values:
<ul>
<li>1</li>
<li>my_product_17</li>
<li>product_5,3</li>
</ul>
</li>
<li> id_type This parameter will contain an integer value representing the type<br />
or classification of the ids used in the c_prod parameter(s). This value will<br />
apply universally per transaction. That is to say c_prod parameters must contain<br />
only assigned_product_id values or only vendor_product_id values. Current<br />
valid values for this parameter are defined as follows.</p>
<ul>
<li>1 is defined as vendor_product_id</li>
<li>2 is defined as assigned_product_id</li>
<li>3 &#8211; 0 are reserved for future use.</li>
</ul>
</li>
</ul>
<p><u>OPTIONAL PARAMETERS</u><br />
These parameters are intended for carts that retain no product database or as a transition method of populating the 2CO database. Although it is desirable to receive as many parameters as possible with the purchase the option of creating products on the fly should only be used when no other options exist.</p>
<ul>
<li>sh_cost (optional) : This parameter will contain shipping and handling cost, if any. The sh_cost parameter is completely optional. This parameter has the same format rules as the parameter containing the total (total or x_amount) that you are currently using. This value received is assumed to be in the selected currency of your 2CO account.<br />
Examples of valid values: 0.50, 5.00, 10</li>
<li>c_name or c_name_[:digit] : This parameter is required for product information to be displayed at checkout. The value of this parameter should contain the name of the product to be created. It is limited to 128 characters including spaces and punctuation. If the value is too long it will be cut off at 128 characters.</li>
<li>c_description or c_description_[:digit] : This parameter is required for product information to be displayed at checkout. The value of this parameter should contain a short description of the product to be sold. It is limited to 255 characters including spaces and punctuation. If the value is too long this value will be stored as the long description instead. The long description will not show on the checkout pages but it will be saved in the 2Co product database.</li>
<li>c_price or c_price_[:digit] : This parameter is required for product information to be displayed at checkout. This value should reflect the price of the product in your 2CO account selected currency. This parameter has the follow format restrictions
<ul>
<li>Numbers and decimal point only.</li>
<li>Max value: 999999.99</li>
</ul>
</li>
<li>c_tangible or c_tangible_[:digit] (optional) : This parameter is optional. If you do not provide a value for it a default value of Y will be used. This field indicates if the product is a physical product or an e-good/service.<br />
This parameter has the following format restrictions: Valid values: y Y n N</li>
</ul>
<p><u>NEW PARAMETERS IN PRACTICE</u><br />
Below you will find an example form that shows how these new parameters might be implemented:</p>
<pre>
&lt;form action="https://www.2checkout.com/<code>checkout</code>/purchase" method="post"&gt;

	&lt;input type="hidden" name="id_type" value="1"&gt;
	&lt;input type="hidden" name="c_prod_1" value="QAWSZX0678,3"&gt;
	&lt;input type="hidden" name="c_name_1" value="Sample 	Product"&gt;
	&lt;input type="hidden" name="c_description_1" value="Sample Product Description"&gt;
	&lt;input type="hidden" name="c_price_1" value="5.00"&gt;
	&lt;input type="hidden" name="c_tangible_1" value="N"&gt;

	&lt;input type="hidden" name="c_prod_2" value="CABLE0029,1"&gt;
	&lt;input type="hidden" name="c_name_2" value="A Second Sample Product"&gt;
	&lt;input type="hidden" name="c_description_2" value="This Products Description"&gt;
	&lt;input type="hidden" name="c_price_2" value="10.00"&gt;
	&lt;input type="hidden" name="c_tangible_2" value="N"&gt;

	&lt;input type="hidden" name="sid" value="XXXXXX"&gt;
	&lt;input type="hidden" name="cart_order_id" value="050304-102658-3874"&gt;
	&lt;input type="hidden" name="total" value="25.00"&gt;

	&lt;input type="submit"&gt;
&lt;/form&gt;</pre>
<p>Please note that you will need to replace the sample values with your own.</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%2F3rd-party-carts%2Fparameter-sets%2Fwhat-are-the-new-cart-purchase-parameters&amp;title=What+are+the+New+Cart+Purchase+Parameters%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/3rd-party-carts/parameter-sets/what-are-the-new-cart-purchase-parameters/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>What carts are 2CO compatible with?</title>
		<link>http://www.2checkout.com/community/blog/knowledge-base/suppliers/tech-support/3rd-party-carts/what-carts-are-2co-compatible-with</link>
		<comments>http://www.2checkout.com/community/blog/knowledge-base/suppliers/tech-support/3rd-party-carts/what-carts-are-2co-compatible-with#comments</comments>
		<pubDate>Sat, 30 Dec 2006 07:00:00 +0000</pubDate>
		<dc:creator>knowledgebase</dc:creator>
				<category><![CDATA[3rd Party Carts]]></category>
		<category><![CDATA[parameters]]></category>
		<category><![CDATA[third party carts]]></category>

		<guid isPermaLink="false">https://192.168.2.217/fresh/blog/2006/12/30/what-carts-are-2co-compatible-with/</guid>
		<description><![CDATA[A third party shopping cart is not necessary in order to use our service. We provide you with the option of using our easy-to-use Plug-N-Play shopping cart. Our PNP shopping cart uses simple HTML links, so you do not need to install extra software.
However, if you wish to use a third party shopping cart with [...]]]></description>
			<content:encoded><![CDATA[<p>A third party shopping cart is not necessary in order to use our service. We provide you with the option of using our easy-to-use Plug-N-Play shopping cart. Our PNP shopping cart uses simple HTML links, so you do not need to install extra software.</p>
<p>However, if you wish to use a third party shopping cart with our service, you may do so. The 2Checkout service generally is compatible with the following third party shopping carts:</p>
<ul>
<li>Any cart listed in our <a href="http://www.2checkout.com/community/blog/category/knowledge-base/suppliers/tech-support/3rd-party-carts/recommended-carts/">Recommended Cart section</a>.</li>
<li> Any shopping cart compatible with the Authorize.net parameter set, provided that it allows you to change the gateway URL. Nearly all shopping carts today support the Authorize.net standard.</li>
<li> Any shopping cart that advertises 2Checkout support on their Web site should work with our service.</li>
<li>Miscellaneous shopping carts. If your shopping cart does not fit either of the above criteria, or if it is simply in question, there is a way to determine whether or not your cart supports our service. Simply check with the manufacturer of the shopping cart to confirm it&#8217;s compatibility. You can contact the maker personally, go to their Web site, or read any documentation that may have been provided with the cart, itself.</li>
</ul>
<p><u>TECHNICAL SUPPORT</u></p>
<p>2Checkout cannot provide technical support for questions regarding third party shopping carts. Basically, we did not develop them, so, therefore, we do not have any working knowledge of their inner mechanisms. Questions about configuration and/or setup should be directed towards the maker of the cart. However, we can provide technical support for questions or information needed to set up the shopping cart to work with our service.</p>
<p>You may find additional help regarding third party shopping carts from other vendors of ours by going to our Community, located at: <a href="http://www.2checkout.com/community/public/">http://www.2checkout.com/community/public/</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%2Fknowledge-base%2Fsuppliers%2Ftech-support%2F3rd-party-carts%2Fwhat-carts-are-2co-compatible-with&amp;title=What+carts+are+2CO+compatible+with%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/3rd-party-carts/what-carts-are-2co-compatible-with/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What are the parameters for 2CO&#8217;s Plug and Play cart?</title>
		<link>http://www.2checkout.com/community/blog/knowledge-base/suppliers/tech-support/using-the-plug-n-play-cart/what-are-the-parameters-for-the-plug-n-play-cart</link>
		<comments>http://www.2checkout.com/community/blog/knowledge-base/suppliers/tech-support/using-the-plug-n-play-cart/what-are-the-parameters-for-the-plug-n-play-cart#comments</comments>
		<pubDate>Sat, 30 Dec 2006 07:00:00 +0000</pubDate>
		<dc:creator>knowledgebase</dc:creator>
				<category><![CDATA[Parameter Sets]]></category>
		<category><![CDATA[Using the Plug n Play Cart]]></category>
		<category><![CDATA[cart]]></category>
		<category><![CDATA[parameters]]></category>
		<category><![CDATA[plug and play]]></category>

		<guid isPermaLink="false">https://192.168.2.217/fresh/blog/2006/12/30/what-are-the-parameters-for-the-plug-n-play-cart/</guid>
		<description><![CDATA[Below are the parameters supported by the Plug and Play Cart. These parameters can only be used if you have added your products to the 2CO database. You are using the Plug and Play cart if you are passing in the three parameters listed under the Required section below. If you would like to test [...]]]></description>
			<content:encoded><![CDATA[<p>Below are the parameters supported by the Plug and Play Cart. These parameters can only be used if you have added your products to the 2CO database. You are using the Plug and Play cart if you are passing in the three parameters listed under the Required section below. If you would like to test your integration of these parameters, try using our <a href="http://developers.2checkout.com/code_machine">developers.2Checkout area</a>.</p>
<p><strong><u>Multi-page Payment Routine</u>:</strong><br />
https://www.2checkout.com/checkout/purchase<br />
<em>Supports all payment methods. Supports tangible and intangible products/services.</em></p>
<p><strong><u>Single Page Payment Routine</u>:</strong><br />
https://www.2checkout.com/checkout/spurchase<br />
<em>Credit card-only payment routine only available for intangible products/services.</em></p>
<p><strong><u>Required Parameters</u>:</strong><br />
<strong>sid</strong> &#8211; Your 2Checkout vendor account number. <em><font color="#666666">(64 characters max)</font></em><br />
<strong>product_id</strong> &#8211; The 2CO ID for the product or service in your 2Checkout account.<br />
<strong>quantity</strong> &#8211; The quantity of the product. <em><font color="#666666">(99 max value)</font></em></p>
<p><strong><u>Additional Parameters</u>:</strong><br />
<strong>demo</strong> &#8211; Y to enable demo mode, do not pass this in for live sales<br />
<strong>fixed</strong> &#8211; Y to remove the Continue Shopping button and lock the quantity fields<br />
<strong>lang</strong> &#8211; Chinese &#8211; zh, Danish &#8211; da, Dutch &#8211; nl, French &#8211; fr, German &#8211; gr, Greek &#8211; el, Italian &#8211; it, Japanese &#8211; jp, Norwegian &#8211; no, Portuguese &#8211; pt, Slovenian &#8211; sl, Spanish &#8211; es_ib, Spanish &#8211; es_la, Swedish &#8211; sv, defaults to English if this is absent, but en may be used for English as well.<br />
<strong>return_url</strong> &#8211; Used to control where the Continue Shopping button will send the customer when clicked. <em><font color="#666666">(255 characters max)</font></em><br />
<strong>merchant_order_id</strong> &#8211; Specify your order number with this parameter. It will also be included in the confirmation emails to yourself and the customer. <em><font color="#666666">(50 characters max)</font></em><br />
<strong>pay_method</strong> &#8211; CC for Credit Card, CK for check, AL for Acculynk PIN-debit, PPI for PayPal, or PPL for PayPal Pay Later. This will set the default selection on the payment method step during the checkout process.<br />
<strong>skip_landing</strong> &#8211; If set to 1 it will skip the order review page of the purchase routine. If there are options on the products it will cause an error and redirect the customer back to the order review page.<br />
<strong>x_Receipt_Link_URL</strong> -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. <font color="#666666"><em>(no limit)</em></font>:</p>
<ul>
<li>This parameter will over-ride any URL set on the Look and Feel page.</li>
<li>If Direct Return is disabled: If only one product is ordered, it will over-ride the return URLs on the product as well. If more than one product is ordered, then this parameter will control where the &#8220;Click Here to Notify [Your Company]&#8221; button on the final page takes the customer, but the return URLs on the products will be listed as links below the button, next to the description of the product.</li>
<li>If Direct Return is enabled : If one product is ordered, this parameter will NOT over-ride the return URLs on the products. If more than one product is ordered, then this parameter will over-ride the product return URLs. Also keep in mind that many third party shopping carts recommend that Direct Return be disabled to work properly.</li>
</ul>
<p><strong><u>To populate the billing information page you may pass in</u>: </strong><br />
<strong>card_holder_name</strong> &#8211; Card holder&#8217;s name. <font color="#666666"><em>(128 characters max)</em></font></p>
<blockquote><p><em>The card holder&#8217;s name can also be populated using the <strong>first_name</strong>, <strong>middle_initial</strong>, and <strong>last_name</strong> parameters. <strong>IMPORTANT:</strong> If you use these three parameters, the data will be combined into and returned as <strong>card_holder_name</strong> to your Approved URL script.</em></p></blockquote>
<p><strong>street_address</strong> &#8211; Card holder&#8217;s street address <font color="#666666"><em>(64 characters max)</em></font><br />
<strong>street_address2</strong> &#8211; The second line for the street address, typically suburb or apartment number information <font color="#666666"><em>(64 characters max)</em></font><br />
<strong>city</strong> &#8211; Card holder&#8217;s city <font color="#666666"><em>(64 characters max)</em></font><br />
<strong>state</strong> &#8211; Card holder&#8217;s state <font color="#666666"><em>(64 characters max)</em></font><br />
<strong>zip</strong> &#8211; Card holder&#8217;s zip <font color="#666666"><em>(16 characters max)</em></font><br />
<strong>country</strong> &#8211; Card holder&#8217;s country <font color="#666666"><em>(64 characters max)</em></font><br />
<strong>email</strong> &#8211; Card holder&#8217;s email address <font color="#666666"><em>(64 characters max)</em></font><br />
<strong>phone</strong> &#8211; Card holder&#8217;s phone number <font color="#666666"><em>(16 characters max)</em></font><br />
<strong>phone_extension</strong> &#8211; Card holder&#8217;s phone extension <font color="#666666"><em>(9 characters max)</em></font></p>
<p><strong><u>To populate the shipping information page you may pass in</u>: </strong><br />
<strong>ship_name<br />
ship_street_address<br />
ship_street_address2<br />
ship_city<br />
ship_state<br />
ship_zip<br />
ship_country</strong></p>
<p>Please note that shipping information will only be collected for items that are defined as tangible in our system. Shipping is also only charged for tangible items. </p>
<p>The billing information page will also be populated with the information from the shipping page if the shipping information is collected on that sale and the billing information is not passed in.</p>
<p><strong><u>Custom Parameters</u>:</strong><br />
You may pass in any additional parameters that you may need and they will be returned to you at the end of the sale. The only restrictions on custom parameters are that they can not share the name of ANY parameter that our system uses, even from the other sets. Please note that you WILL need a return script set up on the Look and Feel page to receive any of these parameters back as they are not included in the confirmation emails.</p>
<p><strong><u>Passing Multiple Plug and Play Products:</u></strong><br />
You may also pass multiple plug and play products in one form.  To do this add a corresponding digit to the quantity and product_id parameters to group them for each product. For example, if we wanted to pass two products into the system we would be passing in first the sid parameter, then product_id1 and quantity1, and then product_id2 and quantity2.</p>
<p>Example:</p>
<pre><code>&lt;form action='https://www.2checkout.com/</code><code>checkout</code><code>/purchase' method='post'&gt;
&lt;input type='hidden' name='sid' value='123' &gt;
&lt;input type='hidden' name='quantity1' value='1' &gt;
&lt;input type='hidden' name='product_id1' value='1008' /&gt;
&lt;input type='hidden' name='quantity2' value='1' &gt;
&lt;input type='hidden' name='product_id2' value='1014' &gt;
&lt;input type='hidden' name='quantity3' value='1' &gt;
&lt;input type='hidden' name='product_id3' value='1011' &gt;
&lt;input name="submit" type='submit' value='Buy from 2CO' &gt;
&lt;/form&gt;
</code></pre>
<p><strong><u>You can receive back all of the parameters that were passed in as well as the following parameters</u>:</strong><br />
<strong>order_number</strong> &#8211; 2Checkout.com order number<br />
<strong>total</strong> &#8211; the total amount of the purchase<br />
<strong>ship_method</strong> &#8211; the shipping method that was selected for this order (if applicable)<br />
<strong>credit_card_processed</strong> &#8211; Y if successful (Approved).<br />
<strong>merchant_product_id</strong> &#8211; your product ID for purchased item<br />
<strong>key</strong> &#8211; the MD5 hash that can be used to verify that the sale came from one of our servers</p>
<p>Also note that this is the only parameter set that can be used for recurring billing with our service.</p>
<p><em><strong>Important:</strong> You can not mix the three parameter sets. This will cause problems during payment or may prevent the payment pages from working at all.</em></p>
<p><strong>Important Note:</strong> When you are testing parameters, please be certain to clear the cookies in your browser between tests to ensure the changes you have made are applied. For more information on clearing the cookies please click <a href="http://www.2checkout.com/community/blog/knowledge-base/suppliers/tech-support/clearing-cache-and-cookies-2/">here</a>.</p>
<p><strong>Related Article:</strong> <a href="http://www.2checkout.com/community/blog/knowledge-base/country-codes/">Country Codes</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%2Fknowledge-base%2Fsuppliers%2Ftech-support%2Fusing-the-plug-n-play-cart%2Fwhat-are-the-parameters-for-the-plug-n-play-cart&amp;title=What+are+the+parameters+for+2CO%26%238217%3Bs+Plug+and+Play+cart%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/using-the-plug-n-play-cart/what-are-the-parameters-for-the-plug-n-play-cart/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What are 2Checkout.com&#8217;s own parameters?</title>
		<link>http://www.2checkout.com/community/blog/knowledge-base/suppliers/tech-support/3rd-party-carts/parameter-sets/does-your-system-have-its-own-parameters-if-so-what-are-they</link>
		<comments>http://www.2checkout.com/community/blog/knowledge-base/suppliers/tech-support/3rd-party-carts/parameter-sets/does-your-system-have-its-own-parameters-if-so-what-are-they#comments</comments>
		<pubDate>Sat, 30 Dec 2006 07:00:00 +0000</pubDate>
		<dc:creator>knowledgebase</dc:creator>
				<category><![CDATA[Parameter Sets]]></category>
		<category><![CDATA[cart]]></category>
		<category><![CDATA[parameters]]></category>
		<category><![CDATA[third party carts]]></category>

		<guid isPermaLink="false">https://192.168.2.217/fresh/blog/2006/12/30/does-your-system-have-its-own-parameters-if-so-what-are-they/</guid>
		<description><![CDATA[2CO has our own proprietary set of parameters that you can use if your cart supports them. If you would like to test your integration of these parameters, try using our developers.2Checkout area.
Multi-page Payment Routine:
https://www.2checkout.com/checkout/purchase
Supports all payment methods. Supports tangible and intangible products/services.
Single Page Payment Routine:
https://www.2checkout.com/checkout/spurchase
Only supports credit card payments and intangible products/services.
Required Parameters:
sid &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>2CO has our own proprietary set of parameters that you can use if your cart supports them. If you would like to test your integration of these parameters, try using our <a href="http://developers.2checkout.com/code_machine">developers.2Checkout area</a>.</p>
<p><strong><u>Multi-page Payment Routine</u>:</strong><br />
https://www.2checkout.com/checkout/purchase<br />
<em>Supports all payment methods. Supports tangible and intangible products/services.</em></p>
<p><strong><u>Single Page Payment Routine</u>:</strong><br />
https://www.2checkout.com/checkout/spurchase<br />
<em>Only supports credit card payments and intangible products/services.</em></p>
<p><u><strong>Required Parameters</strong></u><strong>:</strong><br />
<strong>sid</strong> &#8211; Your 2Checkout vendor account number.<br />
<strong>total</strong> &#8211; The total amount to be billed, in decimal form, without a currency symbol. <font color="#666666"><em>(8 characters, decimal, 2 characters: Example: 99999999.99)</em></font><br />
<strong>cart_order_id</strong> &#8211; A unique order id from your program. <font color="#666666"><em>(128 characters max)</em></font></p>
<p><strong><u>Product Identification Parameters</u>:</strong><br />
Suppliers using this parameter set must pass in parameters to identify what is being sold during the purchase. These parameters will also benefit suppliers as when used correctly the product information will be displayed to customers on the purchase pages and will be listed on the suppliers 2Checkout.com sale detail page.</p>
<p><strong>id_type</strong> &#8211; 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.<br />
<strong>c_prod</strong> &#8211; 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.<br />
<strong>c_name</strong> &#8211; The value of this parameter should contain the name of the  product to be created. <font color="#666666"><em>(128 characters max)</em></font><br />
<strong>c_description</strong> &#8211; The value of this parameter should contain a short description of the product to be sold.  <font color="#666666"><em>(255 characters max)</em></font><br />
<strong>c_price</strong> &#8211; 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.  <font color="#666666"><em>(8 characters, decimal, 2 characters: Example: 99999999.99)</em></font></p>
<p>You can use these identification parameters to pass in multiple products as well. To do so you will need to append a digit to each parameter. For example, c_prod_1, c_name_1, c_description_1, c_price_1 will describe the first product, then to describe the second product you would use a 2 so the parameters will read c_prod_2, c_name_2 and so on.</p>
<p><strong><u>Additional Parameters</u>:<br />
</strong> <strong>demo</strong> &#8211; Y to enable demo mode.  Do not pass for live sales.  Can also be controlled <a href="http://www.2checkout.com/community/blog/newest/new-feature-control-demo-from-inside-your-2checkout-account/">within the account</a>.<br />
<strong>lang</strong> &#8211; Chinese &#8211; zh, Danish &#8211; da, Dutch &#8211; nl, French &#8211; fr, German &#8211; gr, Greek &#8211; el, Italian &#8211; it, Japanese &#8211; jp, Norwegian &#8211; no, Portuguese &#8211; pt, Slovenian &#8211; sl, Spanish &#8211; es_ib, Spanish &#8211; es_la, Swedish &#8211; sv, defaults to English if this is absent, but en may be used for English as well.<br />
<strong>merchant_order_id</strong> &#8211; Specify your order number with this parameter. It will also be included in the confirmation emails to yourself and the customer. <font color="#666666"><em>(50 characters max)</em></font><br />
<strong>pay_method</strong> &#8211; CC for Credit Card, CK for check, AL for Acculynk PIN-debit, PPI for PayPal, or PPL for PayPal Pay Later. This will set the default selection on the payment method step during the checkout process.<br />
<strong>skip_landing</strong> &#8211; If set to 1 it will skip the order review page of the purchase routine.<br />
<strong>x_Receipt_Link_URL</strong> &#8211; 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. This parameter will over-ride any URL set on the Look and Feel page. <em>(no limit)</em></p>
<p><u><strong>To pre populate the billing information page you may pass in</strong></u>:<br />
<strong>card_holder_name</strong> &#8211; Card holder&#8217;s name <font color="#666666"><em>(128 characters max)</em></font></p>
<blockquote><p><em>The card holder&#8217;s name can also be populated using the <strong>first_name</strong>, <strong>middle_initial</strong>, and <strong>last_name</strong> parameters. <strong>IMPORTANT:</strong> If you use these three parameters, the data will be combined into and returned as <strong>card_holder_name</strong> to your Approved URL script.</em></p></blockquote>
<p><strong>street_address</strong> &#8211; Card holder&#8217;s street address<font color="#666666"><em>(64 characters max)</em></font><br />
<strong>street_address2</strong> &#8211; The second line for the street address, typically suburb or apartment number information <font color="#666666"><em>(64 characters max)</em></font><br />
<strong>city</strong> &#8211; Card holder&#8217;s city <font color="#666666"><em>(64 characters max)</em></font><br />
<strong>state</strong> &#8211; Card holder&#8217;s state <font color="#666666"><em>(64 characters max)</em></font><br />
<strong>zip</strong> &#8211; Card holder&#8217;s zip <font color="#666666"><em>(16 characters max)</em></font><br />
<strong>country</strong> &#8211; Card holder&#8217;s country <font color="#666666"><em>(64 characters max)</em></font><br />
<strong>email</strong> &#8211; Card holder&#8217;s email <font color="#666666"><em>(64 characters max)</em></font><br />
<strong>phone</strong> &#8211; Card holder&#8217;s phone <font color="#666666"><em>(16 characters max)</em></font><br />
<strong>phone_extension</strong> &#8211; Card holder&#8217;s phone extension <font color="#666666"><em>(9 characters max)</em></font></p>
<p><strong><u>To pre populate the shipping information page you may pass in</u>:<br />
ship_name<br />
ship_street_address<br />
ship_street_address2<br />
ship_city<br />
ship_state<br />
ship_zip<br />
ship_country</strong></p>
<p>Please note that shipping information will only be collected for items that are defined as tangible in our system. Shipping is also only charged for tangible items. </p>
<p>The billing information page will also be populated with the information from the shipping page if the shipping information is collected on that sale and the billing information is not passed in.</p>
<p><strong><u>Custom Parameters</u>:</strong><br />
You may pass in any additional parameters that you may need and they will be returned to you at the end of the sale. The only restrictions on custom parameters are that they can not share the name of ANY parameter that our system uses, even from the other sets. Please note that you WILL need a return script set up on the Look and Feel page to receive any of these parameters back as they are not included in the confirmation emails.</p>
<p><strong><u>You can receive back all of the parameters that were passed in as well as the following parameters</u>:</strong><br />
<strong>order_number</strong> &#8211; 2Checkout.com order number<br />
<strong>cart_order_id</strong> &#8211; Your cart ID number passed in.<br />
<strong>credit_card_processed</strong> &#8211; Y if successful (Approved).<br />
<strong>key</strong> &#8211; the MD5 hash used to verify that the sale came from one of our servers</p>
<p>Consult the documentation that came with your cart or contact the cart manufacturer for assistance with setting this up or to determine what URL you should enter on the Look and Feel page for your cart to receive the product information.</p>
<p>Recurring billing can not be done with this parameter set. You must use the Plug-N-Play parameter set and have the products defined within the 2CO database for recurring billing.</p>
<p><strong><u><em>Important</em></u><em>: </em></strong><em>You can not mix the three parameter sets. This will cause problems during payment or may prevent the payment pages from working at all.</em></p>
<p><strong>Important Note:</strong> When you are testing parameters, please be certain to clear the cookies in your browser between tests to ensure the changes you have made are applied. For more information on clearing the cookies please click <a href="http://www.2checkout.com/community/blog/knowledge-base/suppliers/tech-support/clearing-cache-and-cookies-2/">here</a>.</p>
<p><strong>Related Article:</strong> <a href="http://www.2checkout.com/community/blog/knowledge-base/country-codes/">Country Codes</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%2Fknowledge-base%2Fsuppliers%2Ftech-support%2F3rd-party-carts%2Fparameter-sets%2Fdoes-your-system-have-its-own-parameters-if-so-what-are-they&amp;title=What+are+2Checkout.com%26%238217%3Bs+own+parameters%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/3rd-party-carts/parameter-sets/does-your-system-have-its-own-parameters-if-so-what-are-they/feed</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>What Authorize.net parameters does 2CO support?</title>
		<link>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</link>
		<comments>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#comments</comments>
		<pubDate>Sat, 30 Dec 2006 07:00:00 +0000</pubDate>
		<dc:creator>knowledgebase</dc:creator>
				<category><![CDATA[Parameter Sets]]></category>
		<category><![CDATA[Authorize.net]]></category>
		<category><![CDATA[cart]]></category>
		<category><![CDATA[parameters]]></category>
		<category><![CDATA[third party carts]]></category>

		<guid isPermaLink="false">https://192.168.2.217/fresh/blog/2006/12/30/does-your-system-support-authorizenet-parameters-if-so-what-are-they/</guid>
		<description><![CDATA[Below you will find a listing of the supported Authorize.net-compatible parameters and what information each parameter should contain. This parameter set is used by third party carts and custom designed scripts. Please note that 2Checkout must know what is being sold in every sale. There are parameters available that allow for dynamic product creation. These [...]]]></description>
			<content:encoded><![CDATA[<p>Below you will find a listing of the supported Authorize.net-compatible parameters and what information each parameter should contain. This parameter set is used by third party carts and custom designed scripts. Please note that 2Checkout must know what is being sold in every sale. There are parameters available that allow for dynamic product creation. These will be discussed as well, and must be used if you are using this parameter set, but they are not Authorize.Net specific. If you would like to test your integration of these parameters, try using our <a href="http://developers.2checkout.com/code_machine">developers.2Checkout area</a>.</p>
<p><strong><u>Multi-page Payment Routine</u>:</strong><br />
https://www.2checkout.com/checkout/purchase<br />
<em>Supports all payment methods. Supports tangible and intangible products/services.</em></p>
<p><strong><u>Single Page Payment Routine</u>:</strong><br />
https://www.2checkout.com/checkout/spurchase<br />
<em>Credit card-only payment routine only available for intangible products/services.</em></p>
<p><strong><u>Required Parameters</u>:</strong><br />
<strong>x_login</strong> &#8211; Your numerical 2checkout vendor account number.<br />
<strong>x_amount</strong> &#8211; The total amount to be billed, without a currency symbol, and only two decimal places if used<em><font color="#666666"> (8 characters, decimal, 2 characters: Example: 99999999.99)</font></em><br />
<strong>x_invoice_num</strong> &#8211; A unique order id from your system. <font color="#666666"><em>(64 characters max)</em></font></p>
<p><strong><u>Product Identification Parameters</u>:</strong><br />
Suppliers using this parameter set must pass in parameters to identify what is being sold during the purchase. These parameters will also benefit suppliers as when used correctly the product information will be displayed to customers on the purchase pages and will be listed on the suppliers 2Checkout.com sale detail page.</p>
<p><strong>id_type</strong> &#8211; 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.<br />
<strong>c_prod</strong> &#8211; 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.<br />
<strong>c_name</strong> &#8211; The value of this parameter should contain the name of the  product to be created. <font color="#666666"><em>(128 characters max)</em></font><br />
<strong>c_description</strong> &#8211; The value of this parameter should contain a short description of the product to be sold.  <font color="#666666"><em>(255 characters max)</em></font><br />
<strong>c_price</strong> &#8211; 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.  <font color="#666666"><em>(8 characters, decimal, 2 characters: Example: 99999999.99)</em></font></p>
<p>You can use these identification parameters to pass in multiple products as well. To do so you will need to append a digit to each parameter. For example, c_prod_1, c_name_1, c_description_1, c_price_1 will describe the first product, then to describe the second product you would use a 2 so the parameters will read c_prod_2, c_name_2 and so on.</p>
<p><strong><u>Additional Parameters</u>:</strong><br />
<strong>demo</strong> &#8211; Y to enable demo mode. Do not pass this in for live sales.  Can also be controlled <a href="http://www.2checkout.com/community/blog/newest/new-feature-control-demo-from-inside-your-2checkout-account/">within the account</a>.<br />
<strong>lang</strong> &#8211; Chinese &#8211; zh, Danish &#8211; da, Dutch &#8211; nl, French &#8211; fr, German &#8211; gr, Greek &#8211; el, Italian &#8211; it, Japanese &#8211; jp, Norwegian &#8211; no, Portuguese &#8211; pt, Slovenian &#8211; sl, Spanish &#8211; es_ib, Spanish &#8211; es_la, Swedish &#8211; sv, defaults to English if this is absent, but en may be used for English as well.<br />
<strong>merchant_order_id</strong> &#8211; Specify your order number with this parameter. It will also be included in the confirmation emails to yourself and the customer. <font color="#666666"><em>(50 characters max)</em></font><br />
<strong>pay_method</strong> &#8211; CC for Credit Card, CK for check, AL for Acculynk PIN-debit, PPI for PayPal, or PPL for PayPal Pay Later. This will set the default selection on the payment method step during the checkout process.<br />
<strong>skip_landing</strong> &#8211; If set to 1 it will skip the order review page of the purchase routine.<br />
<strong>x_Receipt_Link_URL</strong> &#8211; 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. This parameter will over-ride any URL set on the Look and Feel page. <em>(no limit)</em></p>
<p><strong><u>To populate the billing information page you may pass in</u>: </strong><br />
<strong>x_First_Name</strong> &#8211; buyers first name<font color="#666666"><em> (64 characters max)</em></font><br />
<strong>x_Last_Name</strong> &#8211; buyers last name<font color="#666666"><em> (64 characters max)</em></font><br />
<strong>x_Phone</strong> &#8211; buyers phone number<font color="#666666"><em> (16 characters max)</em></font><br />
<strong>x_Email </strong>- buyers email address<font color="#666666"><em> (64 characters max)</em></font><br />
<strong>x_Address</strong> &#8211; buyers address<font color="#666666"><em> (64 characters max)</em></font><br />
<strong>x_City</strong> &#8211; buyers city<font color="#666666"><em> (64 characters max)</em></font><br />
<strong>x_State</strong> &#8211; buyers state<font color="#666666"><em> (64 characters max)</em></font><br />
<strong>x_Zip</strong> &#8211; buyers zip code<font color="#666666"><em> (16 characters max)</em></font><br />
<strong>x_Country</strong> &#8211; buyers country<font color="#666666"><em> (64 characters max)</em></font></p>
<p><strong><u>To populate the shipping information page you may pass in</u>: </strong><br />
<strong>x_Ship_To_First_Name<br />
x_Ship_To_Last_Name<br />
x_Ship_To_Address<br />
x_Ship_To_City<br />
x_Ship_To_Country<br />
x_Ship_To_State<br />
x_Ship_To_Zip</strong></p>
<p>Please note that since this parameter set is for third party shopping carts, we do not collect shipping information for these types of orders. This is because your cart is responsible for calculating the shipping and it is passed in as part of the x_amount parameter. </p>
<p>It is also important to note that when using the Authorize.Net set of parameters, 2CO only requires the three listed under the required section. We will therefore not passback strictly Authorize.Net style parameters for everything unless they are passed in to us. This is not often a problem as most carts do this anyways. For example, x_First_Name and x_Last_Name will prepopulate the billing name, but 2CO uses card_holder_name for this. card_holder_name will then be returned unless x_First_Name and x_Last_Name are passed into 2Checkout.</p>
<p><strong><u>Custom Parameters</u>:</strong><br />
You may pass in any additional parameters that you may need and they will be returned to you at the end of the sale. The only restrictions on custom parameters are that they can not share the name of ANY parameter that our system uses, even from the other sets. Please note that you WILL need a return script set up on the Look and Feel page to receive any of these parameters back as they are not included in the confirmation emails.</p>
<p><strong><u>Return Parameters</u>:</strong><br />
<u>You can receive back all of the parameters that were passed in as well as the following parameters</u>:<br />
<strong>x_2checked</strong> &#8211; Y if card was successfully processed.<br />
<strong>x_MD5_Hash</strong> &#8211; The MD5 hash that can be used to verify that the sale came from a 2CO server.<br />
<strong>x_trans_id</strong> &#8211; the 2CO order number for the order.</p>
<p>Using this parameter set, we are not receiving any product information. As you can see, you are only passing in a total amount to us. Usually, the cart will have some means of using the x_invoice_num to determine what was purchased after the sale. A return URL will need to be set up on the Look and Feel page for the cart to correctly determine this.</p>
<p>Consult the documentation that came with your cart or contact the cart manufacturer for assistance with setting this up or to determine what URL you should enter on the Look and Feel page for your cart to receive the product information.</p>
<p>Recurring billing can not be done with this parameter set. You must use the Plug-N-Play parameter set and have the products defined within the 2CO database for recurring billing.</p>
<p><strong><em>Important:</em></strong><em> You can not mix the three parameter sets. This will cause problems during payment or may prevent the payment pages from working at all.</em></p>
<p><strong>Important Note:</strong> When you are testing parameters, please be certain to clear the cookies in your browser between tests to ensure the changes you have made are applied. For more information on clearing the cookies please click <a href="http://www.2checkout.com/community/blog/knowledge-base/suppliers/tech-support/clearing-cache-and-cookies-2/">here</a>.</p>
<p><strong>Related Article:</strong> <a href="http://www.2checkout.com/community/blog/knowledge-base/country-codes/">Country Codes</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%2Fknowledge-base%2Fsuppliers%2Ftech-support%2F3rd-party-carts%2Fparameter-sets%2Fdoes-your-system-support-authorizenet-parameters-if-so-what-are-they&amp;title=What+Authorize.net+parameters+does+2CO+support%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/3rd-party-carts/parameter-sets/does-your-system-support-authorizenet-parameters-if-so-what-are-they/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Can I specify the return URL &#8216;on the fly&#8217;?</title>
		<link>http://www.2checkout.com/community/blog/knowledge-base/suppliers/tech-support/passbacks-and-returns/can-i-specify-the-return-url-on-the-fly</link>
		<comments>http://www.2checkout.com/community/blog/knowledge-base/suppliers/tech-support/passbacks-and-returns/can-i-specify-the-return-url-on-the-fly#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[parameters]]></category>
		<category><![CDATA[return url]]></category>

		<guid isPermaLink="false">https://192.168.2.217/fresh/blog/2006/12/30/can-i-specify-the-return-url-on-the-fly/</guid>
		<description><![CDATA[Yes, this is possible. You may pass in a parameter called x_receipt_link_url to control where the customer is returned to on a per-sale basis. Keep in mind that this parameter will over-ride any return URL set on the Look and Feel page of your account, but it will not over-ride any return URLs that are [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, this is possible. You may pass in a parameter called x_receipt_link_url to control where the customer is returned to on a per-sale basis. Keep in mind that this parameter will over-ride any return URL set on the Look and Feel page of your account, but it will not over-ride any return URLs that are set up on the product itself if there are any. Using this method, you could create a special button or link that would return the customer to a different page on your site than is set up on the Look and Feel page. This is useful for &#8216;promotional&#8217; type sites as you can avoid having to make any configuration changes to your actual account.</p>
<p>If you are using buttons on your site to sell your goods through 2Checkout, you would add a single line to the button such as this:</p>
<blockquote><p>&lt;input type=&#8221;hidden&#8221; name=&#8221;x_receipt_link_url&#8221; value=&#8221;http://www.your-site.com/return.php&#8221;&gt;</p></blockquote>
<p>This must go between the opening and closing FORM tag that you see when you view your existing code.</p>
<p>If you are using links to sell your goods through 2Checkout, then you would add this parameter to your links to specify the return url, such as this:</p>
<blockquote><p>&amp;x_receipt_link_url=http://www.your-site.com/return.php</p></blockquote>
<p>Notice that in both of the above examples, the FULL path is used for the value of this.</p>
<p><strong>Important Note: </strong>For security reasons, the domain on your account and the domain that hosts the pass back page must match exactly for this to work correctly. For example, if you have http://www.your-site.com specified on your account, you could pass back to http://www.your-site.com/pages/pass.php but not to http://www.your-other-site.com/pages/pass.php.</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%2Fcan-i-specify-the-return-url-on-the-fly&amp;title=Can+I+specify+the+return+URL+%26%238216%3Bon+the+fly%26%238217%3B%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/can-i-specify-the-return-url-on-the-fly/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
