Hi,
If I set the quantity to greater than 1000 in an
com.google.checkout.checkout.Item, e.g.:
CheckoutShoppingCartRequest cart = new
CheckoutShoppingCartRequest(merchantInfo);
Item googleItem = new Item();
...
item.setQuantity(1000);
cart.addItem();
The shopping card prints out XML with a comma in the number:
<quantity>1,000</quantity>
The google checkout servers do not seem to like the comma though as I
get the following response:
<?xml version="1.0" encoding="UTF-8"?>
<error xmlns="http://checkout.google.com/schema/2" serial-
number="c7cd9903-8894-
45be-ac83-99019df438ee">
<error-message>Error parsing XML; message from parser is: cvc-
datatype-valid.1
.2.1: '1,000' is not a valid value for 'integer'.</error-message>
</error>
Is this a bug?
Thanks,
Albert
Original issue reported on code.google.com by simonjsm...@gmail.com on 7 Feb 2008 at 5:39
Original issue reported on code.google.com by
simonjsm...@gmail.com
on 7 Feb 2008 at 5:39