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

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

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

cart_order_id=CART-001&amp;id_type=1&amp;c_prod_1=PRODUCT-10,1&amp;
c_name_1=Product 10&amp;c_description_1=This is my 10th product&amp;c_price_1=1.00&amp;
amp;c_prod_2=PRODUCT-20,1&amp;c_name_2=Product 20&amp;c_description_2=This is my 20th
product&amp;c_price_2=2.00</code></pre>
<p>Converting this to an HTML submission form, it would appear as so:</p>
<pre><code>&lt;form action='https://www.2checkout.com/checkout/purchase' method='post'&gt;
&lt;input type='hidden' name='sid' value='123456' &gt;
&lt;input type='hidden' name='total' value='4.00' &gt;
&lt;input type='hidden' name='cart_order_id' value='CART-001' &gt;
&lt;input type='hidden' name='id_type' value='1' &gt;
&lt;input type='hidden' name='c_prod_1' value='PRODUCT-10,1' &gt;
&lt;input type='hidden' name='c_name_1' value='Product 10' &gt;
&lt;input type='hidden' name='c_description_1' value='This is my 10th product' &gt;
&lt;input type='hidden' name='c_price_1' value='1.00' &gt;
&lt;input type='hidden' name='c_prod_2' value='PRODUCT-20,1' &gt;
&lt;input type='hidden' name='c_name_2' value='Product 20' &gt;
&lt;input type='hidden' name='c_description_2' value='This is my 20th product' &gt;
&lt;input type='hidden' name='c_price_2' value='2.00' &gt;
&lt;input name='submit' type='submit' value='Buy from 2CO' &gt;
&lt;/form&gt;</code></pre>
<h3>Authorize.net Parameters</h3>
<p>This parameter set works just like the 3rd-Party Cart parameter set, except that the parameter names use the Authorize.net naming conventions. The only real change is the names of the parameters, as the behavior of the purchase routine remains the same as if you were using the 3rd-Party Cart parameters. This set simply makes it easier for developers and shopping carts that already know/use the Authorize.net parameter names.</p>
<p>The three required Authorize.net parameters are:</p>
<ul>
<li>x_login &#8212; same as &#8216;sid&#8217;</li>
<li>x_amount &#8212; same as &#8216;total&#8217;</li>
<li>x_invoice_num &#8212; same as &#8216;cart_order_id&#8217;</li>
</ul>
<p><strong>Basic Payment Link</strong></p>
<p>Taking from the example purchase link above for the single-product purchase using the 3rd-Party Cart set in combination with the New Product Creation set, a direct purchase link would look like this:</p>
<pre><code>https://www.2checkout.com/checkout/purchase?x_login=123456&amp;x_amount=2.00&amp;
amp;x_invoice_num=CART-001&amp;id_type=1&amp;c_prod=PRODUCT-10,1&amp;
c_name=Product 10&amp;c_description=This is my 10th product&amp;c_price=1.00</code></pre>
<p>Notice that all other parameters stay the same except for the three required parameters. This also means that the set up of the HTML submission form, as well as setting up for multiple products, remains the same regardless of whether you use the 3rd Part Cart parameters or the Authorize.net parameters.</p>
<p><strong>Additional Parameters</strong></p>
<p>In addition, you also have the &#8216;x_receipt_link_url&#8217; parameter available as part of this set. However, this parameter is given a special exception, as it can be used in *all* parameter sets. This parameter allows you to specify the approved URL (the URL that your customers will return to once the sale has completed successfully) on-the-fly by passing it into the purchase routine.</p>
<p>This parameter has a few very specific behaviors that should be paid attention so that it can be used effectively:</p>
<ul>
<li>This parameter will over-ride any approved URL set within your account.</li>
<li>Return Method set to &#8220;Given links back to my Site&#8221; &#8212; This parameter will control where the &#8216;Click Here to Finalize your Order&#8217; button takes the customer after the successful sale. If there are product-specific approved URLs and only one product is ordered, it will over-ride the individual product&#8217;s return URLs. If there are product-specific approved URLs and more than one product is ordered, then this parameter will control where the &#8216;Click Here to Finalize Your Order&#8217; button on the Order Complete page as normal, but any product-specific return URLs will be listed as links on the Order Complete page next to each line item listed out.</li>
<li>Return Method &#8220;Direct Return&#8221; or &#8220;Header Redirect&#8221; &#8212; This parameter will control where the customer gets directed to automatically after the successful sale. If there are product-specific approved URLs and only one product is ordered, this parameter will *not* over-ride the return URLs on the individual product. If there are product-specific approved URLs and more than one product is ordered, then this parameter will over-ride all the product return URLs.</li>
</ul>
<p><strong>More Information</strong></p>
<p>For information on the 3rd-Party Cart parameter set, please refer to the article that details this parameter set <a href="http://www.2checkout.com/blog/knowledge-base/tech-support/3rd-party-carts/parameter-sets/does-your-system-have-its-own-parameters-if-so-what-are-they/">here.</a></p>
<p>If you need more information regarding the Authorize.net parameters, please refer to the article that details this parameter set <a href="http://www.2checkout.com/blog/knowledge-base/tech-support/3rd-party-carts/parameter-sets/does-your-system-support-authorizenet-parameters-if-so-what-are-they/">here.</a></p>
<h3>BILLING &amp; SHIPPING INFORMATION</h3>
<p>Lastly, the parameter sets offer the ability to take in billing and shipping information. This allows you to create your own interface on your website for requesting customer information, and then passing the customer&#8217;s information to the 2Checkout purchase routine to populate the Billing Information and Shipping Information forms. This way, you can record information on your customer before they reach 2Checkout, and customers will not have to enter their information twice.</p>
<p>There are two naming conventions for billing and shipping parameters. The standard naming convention can be used with the Plug-n-Play, Pass Through Products and 3rd-Party Cart parameters. The second naming convention variation is to be used with the Authorize.net set only.</p>
<p><strong>Standard Naming Convention</strong></p>
<p>To populate the Billing Information page, the following parameters can be used:</p>
<ul>
<li>card_holder_name &#8211; Card holder’s name. This can also be populated using the &#8216;first_name&#8217;, &#8216;middle_initial&#8217;, and &#8216;last_name&#8217; parameters. However, if you use these three parameters, the data will be combined into and returned as &#8216;card_holder_name&#8217; in the parameters passed back to an Approved URL script.</li>
<li>street_address</li>
<li>street_address2</li>
<li>city</li>
<li>state</li>
<li>zip</li>
<li>country</li>
<li>email</li>
<li>phone</li>
<li>phone_extension</li>
</ul>
<p>To populate the Shipping Information page, the following parameters can be used:</p>
<ul>
<li>ship_name</li>
<li>ship_street_address</li>
<li>ship_street_address2</li>
<li>ship_city</li>
<li>ship_state</li>
<li>ship_zip</li>
<li>ship_country</li>
</ul>
<p><strong>Authorize.net Naming Convention</strong></p>
<p>To populate the Billing Information page, the following parameters can be used:</p>
<ul>
<li>x_First_Name</li>
<li>x_Last_Name</li>
<li>x_Phone</li>
<li>x_Email</li>
<li>x_Address</li>
<li>x_City</li>
<li>x_State</li>
<li>x_Zip</li>
<li>x_Country</li>
</ul>
<p>To populate the Shipping Information page, the following parameters can be used:</p>
<ul>
<li>x_Ship_To_First_Name</li>
<li>x_Ship_To_Last_Name</li>
<li>x_Ship_To_Address</li>
<li>x_Ship_To_City</li>
<li>x_Ship_To_Country</li>
<li> x_Ship_To_State</li>
<li>x_Ship_To_Zip</li>
</ul>
<h3>EXTENDED EXAMPLES</h3>
<p>Below are three examples of the parameter sets, which include many of the other available parameters in addition to the ones required for each set.</p>
<p><strong>Plug-n-Play Example</strong></p>
<p>This is a sale for two products, the quantity of which can not be changed due to enabling the &#8216;fixed&#8217; parameter, and establishing all the billing and shipping information.</p>
<pre><code>&lt;form action='https://www.2checkout.com/checkout/purchase' method='post'&gt;
&lt;input type='hidden' name='sid' value='123456' &gt;
&lt;input type='hidden' name='product_id1' value='101' &gt;
&lt;input type='hidden' name='quantity1' value='1' &gt;
&lt;input type='hidden' name='product_id2' value='202' &gt;
&lt;input type='hidden' name='quantity2' value='1' &gt;
&lt;input type='hidden' name='fixed' value='Y' &gt;
&lt;input type='hidden' name='card_holder_name' value='Checkout Shopper' &gt;
&lt;input type='hidden' name='street_address' value='1785 OBrien Road' &gt;
&lt;input type='hidden' name='street_address2' value='Suite 200' &gt;
&lt;input type='hidden' name='city' value='Columbus' &gt;
&lt;input type='hidden' name='state' value='OH' &gt;
&lt;input type='hidden' name='zip' value='43228' &gt;
&lt;input type='hidden' name='country' value='USA' &gt;
&lt;input type='hidden' name='email' value='example@2co.com' &gt;
&lt;input type='hidden' name='phone' value='614-921-2450' &gt;
&lt;input type='hidden' name='phone_extension' value='197' &gt;
&lt;input type='hidden' name='ship_name' value='Gift Receiver' &gt;
&lt;input type='hidden' name='ship_street_address' value='1234 Address Road' &gt;
&lt;input type='hidden' name='ship_street_address2' value='Apartment 123' &gt;
&lt;input type='hidden' name='ship_city' value='Columbus' &gt;
&lt;input type='hidden' name='ship_state' value='OH' &gt;
&lt;input type='hidden' name='ship_zip' value='43235' &gt;
&lt;input type='hidden' name='ship_country' value='USA' &gt;
&lt;input name='submit' type='submit' value='Buy from 2CO' &gt;
&lt;/form&gt;</code></pre>
<p><strong>Pass Through Product Example</strong></p>
<p>This sale includes 1 product with a quantity of 2, a coupon deduction and both shipping and tax surcharges. The form also passes in all the billing and shipping information.</p>
<pre><code>&lt;form action='https://www.2checkout.com/checkout/purchase' method='post'&gt;
&lt;input type='hidden' name='sid' value='1303908' &gt;
&lt;input type='hidden' name='mode' value='2CO' &gt;
&lt;input type='hidden' name='li_0_type' value='product' &gt;
&lt;input type='hidden' name='li_0_name' value='Example Product Name' &gt;
&lt;input type='hidden' name='li_0_product_id' value='Example Product ID' &gt;
&lt;input type='hidden' name='li_0__description' value='Example Product Description' &gt;
&lt;input type='hidden' name='li_0_price' value='10.00' &gt;
&lt;input type='hidden' name='li_0_quantity' value='2' &gt;
&lt;input type='hidden' name='li_0_tangible' value='Y' &gt;
&lt;input type='hidden' name='li_1_type' value='shipping' &gt;
&lt;input type='hidden' name='li_1_name' value='Example Shipping Method' &gt;
&lt;input type='hidden' name='li_1_price' value='1.50' &gt;
&lt;input type='hidden' name='li_2_type' value='coupon' &gt;
&lt;input type='hidden' name='li_2_name' value='Example Coupon' &gt;
&lt;input type='hidden' name='li_2_price' value='1.00' &gt;
&lt;input type='hidden' name='li_3_type' value='tax' &gt;
&lt;input type='hidden' name='li_3_name' value='Example Tax' &gt;
&lt;input type='hidden' name='li_3_price' value='0.50' &gt;
&lt;input type='hidden' name='card_holder_name' value='Checkout Shopper' &gt;
&lt;input type='hidden' name='street_address' value='1785 OBrien Road' &gt;
&lt;input type='hidden' name='street_address2' value='Suite 200' &gt;
&lt;input type='hidden' name='city' value='Columbus' &gt;
&lt;input type='hidden' name='state' value='OH' &gt;
&lt;input type='hidden' name='zip' value='43228' &gt;
&lt;input type='hidden' name='country' value='USA' &gt;
&lt;input type='hidden' name='email' value='example@2co.com' &gt;
&lt;input type='hidden' name='phone' value='614-921-2450' &gt;
&lt;input type='hidden' name='phone_extension' value='197' &gt;
&lt;input type='hidden' name='ship_name' value='Gift Receiver' &gt;
&lt;input type='hidden' name='ship_street_address' value='1234 Address Road' &gt;
&lt;input type='hidden' name='ship_street_address2' value='Apartment 123' &gt;
&lt;input type='hidden' name='ship_city' value='Columbus' &gt;
&lt;input type='hidden' name='ship_state' value='OH' &gt;
&lt;input type='hidden' name='ship_zip' value='43235' &gt;
&lt;input type='hidden' name='ship_country' value='USA' &gt;
&lt;input name='submit' type='submit' value='Buy from 2CO' &gt;
&lt;/form&gt;</code></pre>
<p><strong>3rd-Party Cart Example</strong></p>
<p>This is a cart sale establishing two products, using vendor-specified product IDs, specifying the Approved URL that the customer will be taken at the end of the sale, and only populating the billing information.</p>
<pre><code>&lt;form action='https://www.2checkout.com/checkout/purchase' method='post'&gt;
&lt;input type='hidden' name='sid' value='123456' &gt;
&lt;input type='hidden' name='total' value='4.00' &gt;
&lt;input type='hidden' name='cart_order_id' value='CART-001' &gt;
&lt;input type='hidden' name='id_type' value='1' &gt;
&lt;input type='hidden' name='c_prod_1' value='PRODUCT-10,1' &gt;
&lt;input type='hidden' name='c_name_1' value='Product 10' &gt;
&lt;input type='hidden' name='c_description_1' value='This is my 10th product' &gt;
&lt;input type='hidden' name='c_price_1' value='1.00' &gt;
&lt;input type='hidden' name='c_prod_2' value='PRODUCT-20,1' &gt;
&lt;input type='hidden' name='c_name_2' value='Product 20' &gt;
&lt;input type='hidden' name='c_description_2' value='This is my 20th product' &gt;
&lt;input type='hidden' name='c_price_2' value='2.00' &gt;
&lt;input type='hidden' name='card_holder_name' value='Checkout Shopper' &gt;
&lt;input type='hidden' name='street_address' value='1785 OBrien Road' &gt;
&lt;input type='hidden' name='street_address2' value='Suite 200' &gt;
&lt;input type='hidden' name='city' value='Columbus' &gt;
&lt;input type='hidden' name='state' value='OH' &gt;
&lt;input type='hidden' name='zip' value='43228' &gt;
&lt;input type='hidden' name='country' value='USA' &gt;
&lt;input type='hidden' name='email' value='example@2co.com' &gt;
&lt;input type='hidden' name='phone' value='614-921-2450' &gt;
&lt;input type='hidden' name='phone_extension' value='197' &gt;
&lt;input type='hidden' name='x_receipt_link_url'
value='http://www.yourdomain.com/returnscript.php' &gt;
&lt;input name='submit' type='submit' value='Buy from 2CO' &gt;
&lt;/form&gt;</code></pre>
<p><strong>Authorize.net Example</strong></p>
<p>This is a cart sale using the Authorize.net naming convention that establishes two products, using vendor-specified product IDs and specifies only shipping information.</p>
<pre><code>&lt;form action='https://www.2checkout.com/checkout/purchase' method='post'&gt;
&lt;input type='hidden' name='x_login' value='123456' &gt;
&lt;input type='hidden' name='x_amount' value='2.00' &gt;
&lt;input type='hidden' name='x_invoice_num' value='CART-001' &gt;
&lt;input type='hidden' name='id_type' value='1' &gt;
&lt;input type='hidden' name='c_prod_1' value='PRODUCT-10,1' &gt;
&lt;input type='hidden' name='c_name_1' value='Product 10' &gt;
&lt;input type='hidden' name='c_description_1' value='This is my 10th product' &gt;
&lt;input type='hidden' name='c_price_1' value='1.00' &gt;
&lt;input type='hidden' name='c_prod_2' value='PRODUCT-20,1' &gt;
&lt;input type='hidden' name='c_name_2' value='Product 20' &gt;
&lt;input type='hidden' name='c_description_2' value='This is my 20th product' &gt;
&lt;input type='hidden' name='c_price_2' value='2.00' &gt;
&lt;input type='hidden' name='x_ship_to_first_name' value='Gift' &gt;
&lt;input type='hidden' name='x_ship_to_last_name' value='Receiver' &gt;
&lt;input type='hidden' name='x_ship_to_address' value='1234 Address Road' &gt;
&lt;input type='hidden' name='x_ship_to_city' value='Columbus' &gt;
&lt;input type='hidden' name='x_ship_to_state' value='OH' &gt;
&lt;input type='hidden' name='x_ship_to_zip' value='43235' &gt;
&lt;input type='hidden' name='x_ship_to_country' value='USA' &gt;
&lt;input name='submit' type='submit' value='Buy from 2CO' &gt;
&lt;/form&gt;</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.2checkout.com/blog/tutorials/tutorial-creating-2checkout-purchase-links/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>What are the New Cart Purchase Parameters?</title>
		<link>http://www.2checkout.com/blog/knowledge-base/merchants/tech-support/3rd-party-carts/parameter-sets/what-are-the-new-cart-purchase-parameters/</link>
		<comments>http://www.2checkout.com/blog/knowledge-base/merchants/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 parameters, [...]]]></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/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/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 user 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 ID is recorded in the 2CO system. The external ID may be a cart assigned product id or the sellers 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/checkout/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>
]]></content:encoded>
			<wfw:commentRss>http://www.2checkout.com/blog/knowledge-base/merchants/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 compatible with 2CO?</title>
		<link>http://www.2checkout.com/blog/knowledge-base/merchants/tech-support/3rd-party-carts/what-carts-are-2co-compatible-with/</link>
		<comments>http://www.2checkout.com/blog/knowledge-base/merchants/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 [...]]]></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/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><span style="text-decoration: underline">TECHNICAL SUPPORT</span></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 sellers of ours by going to our Community, located at: <a href="http://www.2checkout.com/public/">http://www.2checkout.com/public/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.2checkout.com/blog/knowledge-base/merchants/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/blog/knowledge-base/merchants/tech-support/using-the-plug-n-play-cart/what-are-the-parameters-for-the-plug-n-play-cart/</link>
		<comments>http://www.2checkout.com/blog/knowledge-base/merchants/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></p>
<p>https://www.2checkout.com/checkout/purchase</p>
<p><em>Supports tangible and intangible products/services.</em></p>
<p><strong><u>Single Page Payment Routine</u>:</strong></p>
<p>https://www.2checkout.com/checkout/spurchase</p>
<p><em>Only available for intangible products/services.</em></p>
<p><strong><u>Required Parameters</u>:</strong><br />
<strong>sid</strong> &#8211; Your 2Checkout 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, PPI for PayPal. 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 Site Management page.</li>
<li>If the Return Method is set to &#8220;Given links back to my Website&#8221;: If only one product is ordered, it will over-ride the approved URLs on the product as well. If more than one product is ordered, then this parameter will control where the &#8220;Click Here to Finalize your Order&#8221; button on the final page takes the customer, but the approved URLs on the products will be listed as links below the button, next to the description of the product.</li>
<li>If Return Method is set to &#8220;Direct Return&#8221; or &#8220;Header Redirect&#8221; : If one product is ordered, this parameter will NOT over-ride the approved URLs on the products. If more than one product is ordered, then this parameter will over-ride the product approved URLs. Also keep in mind that many third party shopping carts recommend that Direct Return be set to &#8220;Given links back to me Website&#8221; to work properly.</li>
</ul>
<p><strong>coupon</strong> &#8211; Specify a 2Checkout created coupon code. If applicable, the coupon will be automatically applied to the sale.</p>
<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 Site Management 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/checkout/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/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/blog/knowledge-base/country-codes/">Country Codes</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.2checkout.com/blog/knowledge-base/merchants/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/blog/knowledge-base/merchants/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/blog/knowledge-base/merchants/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 tangible and intangible products/services. Single Page Payment Routine: https://www.2checkout.com/checkout/spurchase Can be used to sell tangible and intangible [...]]]></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><span style="text-decoration: underline">Multi-page Payment Routine</span>:</strong></p>
<p>https://www.2checkout.com/checkout/purchase</p>
<p><em>Supports tangible and intangible products/services.</em></p>
<p><strong><span style="text-decoration: underline">Single Page Payment Routine</span>:</strong></p>
<p>https://www.2checkout.com/checkout/spurchase</p>
<p><em>Can be used to sell tangible and intangible products/services when using third party carts.<br />
</em></p>
<p><span style="text-decoration: underline"><strong>Required Parameters</strong></span><strong>:</strong><br />
<strong>sid</strong> &#8211; Your 2Checkout account number.<br />
<strong>total</strong> &#8211; The total amount to be billed, in decimal form, without a currency symbol. <span style="color: #666666"><em>(8 characters, decimal, 2 characters: Example: 99999999.99)</em></span><br />
<strong>cart_order_id</strong> &#8211; A unique order id from your program. <span style="color: #666666"><em>(128 characters max)</em></span></p>
<p><strong><span style="text-decoration: underline">Product Identification Parameters</span>:</strong><br />
Sites using this parameter set must pass in parameters to identify what is being sold during the purchase. These parameters will also be beneficial as when used correctly the product information will be displayed to customers on the purchase pages and will be listed on the 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. <span style="color: #666666"><em>(128 characters max)</em></span><br />
<strong>c_description</strong> &#8211; The value of this parameter should contain a short description of the product to be sold.  <span style="color: #666666"><em>(255 characters max)</em></span><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.  <span style="color: #666666"><em>(8 characters, decimal, 2 characters: Example: 99999999.99)</em></span></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><span style="text-decoration: underline">Additional Parameters</span>:<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/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. <span style="color: #666666"><em>(50 characters max)</em></span><br />
<strong>pay_method</strong> &#8211; CC for Credit Card, CK for check, PPI for PayPal. 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 Site Management page. <em>(no limit)</em><br />
<strong>coupon</strong> &#8211; Specify a 2Checkout created coupon code. If applicable, the coupon will be automatically applied to the sale.</p>
<p><span style="text-decoration: underline"><strong>To pre populate the billing information page you may pass in</strong></span>:<br />
<strong>card_holder_name</strong> &#8211; Card holder&#8217;s name <span style="color: #666666"><em>(128 characters max)</em></span></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<span style="color: #666666"><em>(64 characters max)</em></span><br />
<strong>street_address2</strong> &#8211; The second line for the street address, typically suburb or apartment number information <span style="color: #666666"><em>(64 characters max)</em></span><br />
<strong>city</strong> &#8211; Card holder&#8217;s city <span style="color: #666666"><em>(64 characters max)</em></span><br />
<strong>state</strong> &#8211; Card holder&#8217;s state <span style="color: #666666"><em>(64 characters max)</em></span><br />
<strong>zip</strong> &#8211; Card holder&#8217;s zip <span style="color: #666666"><em>(16 characters max)</em></span><br />
<strong>country</strong> &#8211; Card holder&#8217;s country <span style="color: #666666"><em>(64 characters max)</em></span><br />
<strong>email</strong> &#8211; Card holder&#8217;s email <span style="color: #666666"><em>(64 characters max)</em></span><br />
<strong>phone</strong> &#8211; Card holder&#8217;s phone <span style="color: #666666"><em>(16 characters max)</em></span><br />
<strong>phone_extension</strong> &#8211; Card holder&#8217;s phone extension <span style="color: #666666"><em>(9 characters max)</em></span></p>
<p><strong><span style="text-decoration: underline">To pre populate the shipping information page you may pass in</span>:<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><span style="text-decoration: underline">Custom Parameters</span>:</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 Site Management page to receive any of these parameters back as they are not included in the confirmation emails.</p>
<p><strong><span style="text-decoration: underline">You can receive back all of the parameters that were passed in as well as the following parameters</span>:</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 Site Management 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><span style="text-decoration: underline"><em>Important</em></span><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/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/blog/knowledge-base/country-codes/">Country Codes</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.2checkout.com/blog/knowledge-base/merchants/tech-support/3rd-party-carts/parameter-sets/does-your-system-have-its-own-parameters-if-so-what-are-they/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>What Authorize.net parameters does 2CO support?</title>
		<link>http://www.2checkout.com/blog/knowledge-base/merchants/tech-support/3rd-party-carts/parameter-sets/does-your-system-support-authorizenet-parameters-if-so-what-are-they/</link>
		<comments>http://www.2checkout.com/blog/knowledge-base/merchants/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><span style="text-decoration: underline">Multi-page Payment Routine</span>:</strong></p>
<p>https://www.2checkout.com/checkout/purchase</p>
<p><em>Supports tangible and intangible products/services.</em></p>
<p><strong><span style="text-decoration: underline">Single Page Payment Routine</span>:</strong></p>
<p>https://www.2checkout.com/checkout/spurchase</p>
<p><em>Can be used to sell tangible and intangible products/services when using third party carts.</em></p>
<p><strong><span style="text-decoration: underline">Required Parameters</span>:</strong><br />
<strong>x_login</strong> &#8211; Your numerical 2Checkout 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><span style="color: #666666"> (8 characters, decimal, 2 characters: Example: 99999999.99)</span></em><br />
<strong>x_invoice_num</strong> &#8211; A unique order id from your system. <span style="color: #666666"><em>(64 characters max)</em></span></p>
<p><strong><span style="text-decoration: underline">Product Identification Parameters</span>:</strong><br />
Sites using this parameter set must pass in parameters to identify what is being sold during the purchase. These parameters will also be beneficial as when used correctly the product information will be displayed to customers on the purchase pages and will be listed on the 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 the product being purchased can be 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. <span style="color: #666666"><em>(128 characters max)</em></span><br />
<strong>c_description</strong> &#8211; The value of this parameter should contain a short description of the product to be sold.  <span style="color: #666666"><em>(255 characters max)</em></span><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.  <span style="color: #666666"><em>(8 characters, decimal, 2 characters: Example: 99999999.99)</em></span></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><span style="text-decoration: underline">Additional Parameters</span>:</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/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. <span style="color: #666666"><em>(50 characters max)</em></span><br />
<strong>pay_method</strong> &#8211; CC for Credit Card, CK for check, PPI for PayPal. 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 Site Management page. <em>(no limit)</em><br />
<strong>coupon</strong> &#8211; Specify a 2Checkout created coupon code. If applicable, the coupon will be automatically applied to the sale.</p>
<p><strong><span style="text-decoration: underline">To populate the billing information page you may pass in</span>: </strong><br />
<strong>x_First_Name</strong> &#8211; buyers first name<span style="color: #666666"><em> (64 characters max)</em></span><br />
<strong>x_Last_Name</strong> &#8211; buyers last name<span style="color: #666666"><em> (64 characters max)</em></span><br />
<strong>x_Phone</strong> &#8211; buyers phone number<span style="color: #666666"><em> (16 characters max)</em></span><br />
<strong>x_Email </strong>- buyers email address<span style="color: #666666"><em> (64 characters max)</em></span><br />
<strong>x_Address</strong> &#8211; buyers address<span style="color: #666666"><em> (64 characters max)</em></span><br />
<strong>x_City</strong> &#8211; buyers city<span style="color: #666666"><em> (64 characters max)</em></span><br />
<strong>x_State</strong> &#8211; buyers state<span style="color: #666666"><em> (64 characters max)</em></span><br />
<strong>x_Zip</strong> &#8211; buyers zip code<span style="color: #666666"><em> (16 characters max)</em></span><br />
<strong>x_Country</strong> &#8211; buyers country<span style="color: #666666"><em> (64 characters max)</em></span></p>
<p><strong><span style="text-decoration: underline">To populate the shipping information page you may pass in</span>: </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><span style="text-decoration: underline">Custom Parameters</span>:</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 Site Management page to receive any of these parameters back as they are not included in the confirmation emails.</p>
<p><strong><span style="text-decoration: underline">Return Parameters</span>:</strong><br />
<span style="text-decoration: underline">You can receive back all of the parameters that were passed in as well as the following parameters</span>:<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 Site Management 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 Site Management 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/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/blog/knowledge-base/country-codes/">Country Codes</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.2checkout.com/blog/knowledge-base/merchants/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 ‘on the fly’?</title>
		<link>http://www.2checkout.com/blog/knowledge-base/merchants/tech-support/passbacks-and-returns/can-i-specify-the-return-url-on-the-fly/</link>
		<comments>http://www.2checkout.com/blog/knowledge-base/merchants/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 the approved URLs set in your account. Using this method, you could create a special button or link that would return the customer [...]]]></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 the approved URLs set in your account. 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 Site Management 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 approved 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>
]]></content:encoded>
			<wfw:commentRss>http://www.2checkout.com/blog/knowledge-base/merchants/tech-support/passbacks-and-returns/can-i-specify-the-return-url-on-the-fly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why do I get an HTTP Error 404 (File Not Found) on Passback?</title>
		<link>http://www.2checkout.com/blog/knowledge-base/merchants/tech-support/passbacks-and-returns/why-do-i-get-an-http-error-404-file-not-found-on-passback/</link>
		<comments>http://www.2checkout.com/blog/knowledge-base/merchants/tech-support/passbacks-and-returns/why-do-i-get-an-http-error-404-file-not-found-on-passback/#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[error]]></category>
		<category><![CDATA[parameters]]></category>
		<category><![CDATA[passback]]></category>
		<category><![CDATA[return url]]></category>

		<guid isPermaLink="false">https://192.168.2.217/fresh/blog/2006/12/30/why-do-i-get-an-http-error-404-file-not-found-on-passback/</guid>
		<description><![CDATA[An HTTP 404 File Not Found error indicates that the URL specified as for your script is incorrect. For the pass back to function, 2CO must be able to locate and access the script and post the variables to it. HTTP errors are not generated specifically by 2Checkout. They are a part of the HTTP [...]]]></description>
			<content:encoded><![CDATA[<p>An HTTP 404 File Not Found error indicates that the URL specified as for your script is incorrect. For the pass back to function, 2CO must be able to locate and access the script and post the variables to it.</p>
<p>HTTP errors are not generated specifically by 2Checkout. They are a part of the HTTP protocol and are common amongst all web servers. It is therefore beyond the realm of 2Checkouts support to provide you with specific instructions for making these changes as every server is set up differently and 2CO does not provide server administration services as part of our support plan.</p>
<p>To correct this issue, follow these steps:</p>
<ol>
<li>Login to your account.</li>
<li>Click on the <strong>Account</strong> tab and then select the <strong>Site Management</strong> sub-category.</li>
<li>Check the URL that is currently entered under the Approved URL field and make sure that it is correct.</li>
<li>Click <strong>Save Changes</strong>.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.2checkout.com/blog/knowledge-base/merchants/tech-support/passbacks-and-returns/why-do-i-get-an-http-error-404-file-not-found-on-passback/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What PHP code can I use to test return parameters?</title>
		<link>http://www.2checkout.com/blog/knowledge-base/merchants/tech-support/passbacks-and-returns/what-php-code-can-i-use-to-test-return-parameters/</link>
		<comments>http://www.2checkout.com/blog/knowledge-base/merchants/tech-support/passbacks-and-returns/what-php-code-can-i-use-to-test-return-parameters/#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[parameters]]></category>
		<category><![CDATA[passback]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[return]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">https://192.168.2.217/fresh/blog/2006/12/30/what-php-code-can-i-use-to-test-return-parameters/</guid>
		<description><![CDATA[Below is a sample PHP script that will catch all POST and GET parameters upon return and print the names of the parameters with their value back to the screen. This may help you develop your return process. Please note that we do not support third party scripts, so we also can not troubleshoot the [...]]]></description>
			<content:encoded><![CDATA[<p>Below is a sample PHP script that will catch all POST and GET parameters upon return and print the names of the parameters with their value back to the screen. This may help you develop your return process. Please note that we do not support third party scripts, so we also can not troubleshoot the script itself. It is being provided for your convenience only. We can help you if you are having problems receiving any passback parameters though.</p>
<p>Additionally, you can make use of our <a href="http://developers.2checkout.com/return_script">developers.2Checkout area</a> to test out your own return script with sample return data. This can assist you when building your 2Checkout return script.</p>
<pre>
&lt;?php //display all post and get parameters

	echo "&lt;h1&gt;Get Parameter/s:&lt;/h1&gt;";
	echo "&lt;pre&gt;";
	if($_GET)
		print_r($_GET);
	else
		echo "There are no get parameters.";
	echo "&lt;/pre&gt;";
	echo "&lt;hr/&gt;";
	echo "&lt;h1&gt;Post Parameter/s:&lt;/h1&gt;";
	echo "&lt;pre&gt;";
	if($_POST)
		print_r($_POST);
	else
		echo "There are no post parameters.";
	echo "&lt;/pre&gt;";

?&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.2checkout.com/blog/knowledge-base/merchants/tech-support/passbacks-and-returns/what-php-code-can-i-use-to-test-return-parameters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I add multiple products to the PNP cart using one link?</title>
		<link>http://www.2checkout.com/blog/knowledge-base/merchants/tech-support/using-the-plug-n-play-cart/how-do-i-add-multiple-products-to-the-pnp-cart-using-one-link/</link>
		<comments>http://www.2checkout.com/blog/knowledge-base/merchants/tech-support/using-the-plug-n-play-cart/how-do-i-add-multiple-products-to-the-pnp-cart-using-one-link/#comments</comments>
		<pubDate>Sat, 30 Dec 2006 07:00:00 +0000</pubDate>
		<dc:creator>knowledgebase</dc:creator>
				<category><![CDATA[Using the Plug n Play Cart]]></category>
		<category><![CDATA[multiple]]></category>
		<category><![CDATA[parameters]]></category>
		<category><![CDATA[plug and play]]></category>
		<category><![CDATA[products]]></category>

		<guid isPermaLink="false">https://192.168.2.217/fresh/blog/2006/12/30/how-do-i-add-multiple-products-to-the-pnp-cart-using-one-link/</guid>
		<description><![CDATA[If you have chosen to upload your products to our database (instead of using a third-party cart), you can create a single link that &#8211; when clicked &#8211; will add two or more products to the 2CO cart. https://www.2checkout.com/checkout/purchase?sid=XXXXXX&#38;product_id1=Y&#38;product_id2=Z&#38;quantity1=1&#38;quantity2=1 Be sure to replace the Xs with your numerical seller ID, the Y with the ID [...]]]></description>
			<content:encoded><![CDATA[<p>If you have chosen to upload your products to our database (instead of using a third-party cart), you can create a single link that &#8211; when clicked &#8211; will add two or more products to the 2CO cart.</p>
<p><a href="https://www.2checkout.com/checkout/purchase?sid=XXXXXX&amp;product_id1=Y&amp;product_id2=Z&amp;quantity1=1&amp;quantity2=1">https://www.2checkout.com/checkout/purchase?sid=XXXXXX&amp;product_id1=Y&amp;product_id2=Z&amp;quantity1=1&amp;quantity2=1</a></p>
<p>Be sure to replace the Xs with your numerical seller ID, the Y with the ID of your first product and Z with the ID of your second product.</p>
<p>To add more than two products with one action, simply append a numeral to the product_id and quantity parameter.</p>
<p>You can use our <a href="http://developers.2checkout.com/code_machine">developers.2Checkout area</a> to see how to use the Plug-n-Play parameter set for creating links with multiple products within one link. The Purchase Machine section will allow you to create sample purchase links using the various parameter sets.</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/blog/knowledge-base/suppliers/tech-support/clearing-cache-and-cookies-2/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.2checkout.com/blog/knowledge-base/merchants/tech-support/using-the-plug-n-play-cart/how-do-i-add-multiple-products-to-the-pnp-cart-using-one-link/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

