The google checkout api guide gives this example with 1 item and 2 shipping options:
<input type="hidden" name="item_name_1" value="5 lbs. Dog Food"/>
<input type="hidden" name="item_description_1"
value="5 lb. bag of nutritious Dog Food"/>
<input type="hidden" name="item_price_1" value="35.00"/>
<input type="hidden" name="item_currency_1" value="USD"/>
<input type="hidden" name="item_quantity_1" value="1"/>
<input type="hidden" name="item_merchant_id_1" value="5LBDOGCHOW"/>
// shipping options irrelevant here
(I may be wrong in thinking:) Because I have a custom cart, I have to generate this form with my cart and display it to the user with a checkout button.
If I have multiple items in the cart, would the correct way of sending this to google be like this:
<input type="hidden" name="item_name_#" value="5 lbs. Dog Food"/>
<input type="hidden" name="item_description_#"
value="5 lb. bag of nutritious Dog Food"/>
<input type="hidden" name="item_price_#" value="35.00"/>
<input type="hidden" name="item_currency_#" value="USD"/>
<input type="hidden" name="item_quantity_#" value="1"/>
<input type="hidden" name="item_merchant_id_#" value="XXXXXX"/>
Where # is the count of each item in the cart (item_name_1, item_name_2, etc)?
If that's incorrect how do I generate the checkout form with multiple items?