WP e-commerce google checkout error
-
Hi, I am working on getting my e-commerce blog site up and when I try to do a test purchase with google checkout after adding an item to my cart, google checkout give me this error: “Wrap It Raw has sent Google a shopping cart with errors in it…”
When I login to my google checkout account, it notifies me of the error and says the error was: “Error parsing XML; message from parser is: Invalid value for body of price in checkout-shopping-cart/checkout-flow-support/merchant-checkout-flow-support/shipping-methods/flat-rate-shipping: Required field must not be blank.” and
“XML failed to validate against the schema at line: 20, column 20, with error: cvc-datatype-valid.1.2.1: ” is not a valid value for ‘decimal’.
XML failed to validate against the schema at line: 20, column 20, with error: cvc-complex-type.2.2: Element ‘price’ must have no element [children], and the value must be valid.”Here are the first 25 lines or so of what my blog sent to google checkout:
<?xml version=”1.0″ encoding=”UTF-8″?>
<checkout-shopping-cart xmlns=”http://checkout.google.com/schema/2″>
<shopping-cart>
<items>
<item>
<item-name>Italian Wrap</item-name>
<item-description></item-description>
<unit-price currency=”USD”>7.49</unit-price>
<quantity>2</quantity>
</item>
</items>
</shopping-cart>
<checkout-flow-support>
<merchant-checkout-flow-support>
<platform-id>569400549573161</platform-id>
<edit-cart-url>http://wrapitraw.com/products-page/products-page/checkout</edit-cart-url>
<continue-shopping-url>http://wrapitraw.com/products-page/products-page/transaction-results?sessionid=1021281058875&gateway=google</continue-shopping-url>
<shipping-methods>
<flat-rate-shipping name=”Flat Rate Shipping”>
<price currency=”USD”></price>
<shipping-restrictions>
<allow-us-po-box>false</allow-us-po-box>
<allowed-areas>
<us-country-area country-area=”ALL” />If anyone can tell my this error is occuring and how to resolve it, I would very much appreciate it. Thanks a lot!
Aaron
- The topic ‘WP e-commerce google checkout error’ is closed to new replies.