eCommerce Integration

Section 3: Submission Method 2 (All Items In a Bundle.)

This method will group all product data aggregated in your shopping cart and send it as one item. The advantage to this is that it is simpler to integrate but it does not allow the customization of a specific item in the cart if needed.

Example:

If a consumer purchases a Television and VCR in one shopping cart then both items will be affected in the event that the payment schedule is changed or the order needs to be cancelled.

What is needed?

You will have add the following required fields to the previously created fields.

NOTE:

To clearly identify multiple items bundled please separate each item name or number along with its quantity in the item_name field with a semi colin (;). For example, if you had 3 items in the cart you would pass: ELA14493 x 1; ELA2994837 x 3; ELA993737 x 2; This allows our customer service team to identify the items placed on layaway should the consumer contact us.

Field Description Inclusion
cmd This field declares the submission method to our server. Set this value to "new_purchase" in order to submit all items in a bundle. required
item_name If the cart contains a single item, simply specify its name. If there are multiple items, you will want to provide a name that accurately depicts what is in the cart, or use the other integration method and send the items individually. (The customer will see this item name during the eLayaway checkout process.) required
item_number Stores the item number you will use to identify a product optional
amount The amount for a single item. If quantity is specified, the amount will be multiplied by quantity for the total gross amount. Tax and shipping are not included. required
tax Specified in dollars and cents, not a percentage. (defaults to 0 if it is not sent) optional
shipping Specified in dollars and cents. You cannot have multiple forms of shipping. (defaults to 0 if it is not sent) optional
quantity The number of items being purchased. When all items are bundled this number will be 1. (defaults to 1 if it is not sent) required

Here is an example of the input fields you need to add to your form. This example covers the addition of an entire bundle. Note that all values for these input fields should be generated by your cart's code (except "cmd", which is static):

Once you have added the required fields to the form you will have to include the eLayaway calculator on the checkout page with the form.

Click here to proceed with integrating the calculator.