Ready to get started?Download WordPress


WP e-commerce google checkout error (2 posts)

  1. aaron2100
    Posted 4 years ago #

    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">
    <item-name>Italian Wrap</item-name>
    <unit-price currency="USD">7.49</unit-price>
    <flat-rate-shipping name="Flat Rate Shipping">
    <price currency="USD"></price>
    <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!

  2. aaron2100
    Posted 4 years ago #

    Resolved by changing some settings.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.