News:

Looking for documentation? Take a look on our wiki

Main Menu

NEW CART PURCHASE PARAMETERS on 2checkout

Started by fly-line, March 24, 2009, 23:18:55 PM

Previous topic - Next topic

fly-line

2 checkout requires That the whole cart content is showed? Anyone have a module suporting this? i only get the cart ID shown in the payment window of 2 checkout...

Enclosed the requrements from 2 checkout.

Anyone?


QuoteNEW CART PURCHASE PARAMETERS

It has become necessary for 2Co to know the specific product that is being sold at the time of sale and for that product'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:

   1. All previous parameters remain supported and should continue to be passed in ( 2Co , Authorize.net ) ,
   2. 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,
   3. 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.



Teal parameters are required to identify cart products being purchased and should be supplied ASAP.

For some clients it may make sense to create 1 or multiple generic products in the 2Co db, like "Premium Hosting", "Super Saver Hosting" 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. "website design services" would be a good description, "web services" a poor one for the same item ).

Blue parameters are those required for product creation to take place at the time of sale if the product does not already exist in the 2Co system. 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.


REQUIRED PARAMETERS

    * 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 ',' ( 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 maybe 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.
          o Examples of valid values:
                + 1
                + my_product_17
                + product_5,3

    * id_type This parameter will contain an integer value representing the type or classification of the ids used in the c_prod parameter(s). This value will apply universally per transaction. That is to say c_prod parameters must contain only assigned_product_id values or only vendor_product_id values.  Current valid values for this parameter are defined as follows.
          o 1 is defined as vendor_product_id
          o 2 is defined as assigned_product_id
          o 3 – 0 are reserved for future use.