Hi all,
I know it sounds stupid (the title of this thread) but I am using php to write some hidden fields to a form and when the form is submitted some of the hidden fields are not being sent. They currently only work when google chrome, and do not work with IE(6), firefox or safari.
What the hell?!? :P Im stuggling to find the cause of this problem. Does anybody have an insight?
The form script i am using is below:
<form action="https://checkout.google.com/api/checkout/v2/checkoutForm/Merchant/*merchantID*" id="BB_BuyButtonForm" method="post" name="BB_BuyButtonForm" target="_blank">
<input name="_charset_" type="hidden" value="utf-8"/>
<input name="item_name_1" type="hidden" value="Matt Clay Extreme Style V05">
<input name="item_description_1" type="hidden" value="Extreme Matt Clay from V05"/>
<input name="item_quantity_1" type="hidden" value="1"/>
<input name="item_price_1" type="hidden" value="5.00"/>
<input name="item_currency_1" type="hidden" value="GBP"/>
<input name="item_name_2" type="hidden" value="Polishing Wax Fructis Style Garnier">
<input name="item_description_2" type="hidden" value="A polishing style wax from garnier."/>
<input name="item_quantity_2" type="hidden" value="2"/>
<input name="item_price_2" type="hidden" value="4.00"/>
<input name="item_currency_2" type="hidden" value="GBP"/>
<!-- below are the fields that are not being submitted - google checkout ends up with NO shipping costs unless user is using google chrome -->
<input name="ship_method_name_1" type="hidden" value="Standard delivery"/>
<input name="ship_method_price_1" type="hidden" value="9"/>
<input name="ship_method_currency_1" type="hidden" value="GBP"/>
<input type="submit" value="Continue to Google Checkout">
</form>
<script language="javascript" type="text/javascript">
document.getElementById("BB_BuyButtonForm").submit();
//history.go(-1);
</script>
Thanks in advance,
Max.