List Info

Thread: From Pages: "Error parsing XML; message from parser is: Invalid v




From Pages: "Error parsing XML; message from parser is: Invalid v
country flaguser name
United States
2007-07-16 17:50:02
The following was posted in the Pages section:

[BEGIN QUOTE]

Can someone help me with this error?  I'm trying to
integrate this for
a client and have reached my wits end.  Please help...


Time of occurrence:
	Jun 20, 2007 4:52:04 PM EDT
Error: 	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
Warnings: 	XML failed to validate against the schema at
line: 35,
column: 35, with error: cvc-datatype-valid.1.2.1: '' is not
a valid
value for 'decimal'.
XML failed to validate against the schema at line: 35,
column: 35,
with error: cvc-complex-type.2.2: Element 'price' must have
no element
[children], and the value must be valid.
XML We Received:

<?xml version="1.0"
encoding="UTF-8"?>
<checkout-shopping-cart xmlns="http://
checkout.google.com/schema/2">
  <shopping-cart>
    <items>
      <item>
        <item-name>AL60LP-R</item-name>
        <item-description>(6) Red LED&amp;#39;s
5-watt with optics 900
lumens in poly-carbonate housing</item-description>
        <unit-price
currency="USD">577.5</unit-price>
        <quantity>3</quantity>
        <tax-table-selector>Taxable
Goods</tax-table-selector>
       
<merchant-item-id>107</merchant-item-id>
        <merchant-private-item-
data>YToxMDp7czoyOiJpZCI7aToxMDc7czo0OiJuYW1lIjtzOjg6IkFM
NjBMUC1SIjtzOjU6Im1vZGVsIjtzOjg6IkFMNjBMUC1SIjtzOjU6ImltYWdl
IjtzOjE3OiJBTDYwTFAoU21hbGwpLmpwZyI7czo1OiJwcmljZSI7czo4OiI1
NzcuNTAwMCI7czo4OiJxdWFudGl0eSI7aTozO3M6Njoid2VpZ2h0IjtzOjQ6
IjkuMDAiO3M6MTE6ImZpbmFsX3ByaWNlIjtkOjU3Ny41O3M6MTI6InRheF9j
bGFzc19pZCI7czoxOiIxIjtzOjEwOiJhdHRyaWJ1dGVzIjtzOjA6IiI7fQ==
</
merchant-private-item-data>
      </item>
      <item>
        <item-name>AL100L-B</item-name>
        <item-description>(28) Blue LED&amp;#39;s
5-watt in bronze
housing</item-description>
        <unit-price
currency="USD">1715</unit-price>
        <quantity>1</quantity>
        <tax-table-selector>Taxable
Goods</tax-table-selector>
       
<merchant-item-id>105</merchant-item-id>
        <merchant-private-item-
data>YToxMDp7czoyOiJpZCI7aToxMDU7czo0OiJuYW1lIjtzOjg6IkFM
MTAwTC1CIjtzOjU6Im1vZGVsIjtzOjg6IkFMMTAwTC1CIjtzOjU6ImltYWdl
IjtzOjE1OiJhbDEwMGxTbWFsbC5naWYiO3M6NToicHJpY2UiO3M6OToiMTcx
NS4wMDAwIjtzOjg6InF1YW50aXR5IjtpOjE7czo2OiJ3ZWlnaHQiO3M6NDoi
OS4wMCI7czoxMToiZmluYWxfcHJpY2UiO2Q6MTcxNTtzOjEyOiJ0YXhfY2xh
c3NfaWQiO3M6MToiMSI7czoxMDoiYXR0cmlidXRlcyI7czowOiIiO30=<
/
merchant-private-item-data>
      </item>
    </items>
    <merchant-private-data>
     
<session-data>cfc43addbea21273f06b1bc3cc48dc53;osCsid&
lt;/session-
data>
      <product-data>;107;105</product-data>
    </merchant-private-data>
  </shopping-cart>
  <checkout-flow-support>
    <merchant-checkout-flow-support>
      <edit-cart-url>http://www.aqualig
hts.org/catalog/
shopping_cart.php</edit-cart-url>
      <continue-shopping-url>http://www.aqualig
hts.org/catalog/
index.php</continue-shopping-url>
      <shipping-methods>
        <flat-rate-shipping name="Table
Rate">
          <price
currency="USD"></price>
          <shipping-restrictions>
            <allowed-areas>
              <us-country-area
country-area="ALL"></us-country-area>
            </allowed-areas>
          </shipping-restrictions>
        </flat-rate-shipping>
      </shipping-methods>
     
<request-buyer-phone-number>true</request-buyer-pho
ne-number>
      <tax-tables>
        <default-tax-table>
          <tax-rules>
            <default-tax-rule>
             
<shipping-taxed>true</shipping-taxed>
              <rate>0.07</rate>
              <tax-area>
                <us-state-area>
                  <state>GA</state>
                </us-state-area>
              </tax-area>
            </default-tax-rule>
          </tax-rules>
        </default-tax-table>
        <alternate-tax-tables>
          <alternate-tax-table name="Taxable
Goods">
            <alternate-tax-rules>
              <alternate-tax-rule>
                <rate>0.07</rate>
                <tax-area>
                  <us-state-area>
                    <state>GA</state>
                  </us-state-area>
                </tax-area>
              </alternate-tax-rule>
            </alternate-tax-rules>
          </alternate-tax-table>
        </alternate-tax-tables>
      </tax-tables>
    </merchant-checkout-flow-support>
  </checkout-flow-support>
</checkout-shopping-cart>

XML We Sent:

<?xml version="1.0"
encoding="UTF-8"?>
<error xmlns="http://chec
kout.google.com/schema/2" serial-
number="69a73dfe-f20c-4016-8e2d-8c8346ad473c">
  <warning-messages>
    <string>XML failed to validate against the schema
at line: 35,
column: 35, with error: cvc-datatype-valid.1.2.1: '' is not
a valid
value for 'decimal'.</string>
    <string>XML failed to validate against the schema
at line: 35,
column: 35, with error: cvc-complex-type.2.2: Element
'price' must
have no element [children], and the value must be
valid.</string>
  </warning-messages>
  <error-message>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</error-message>
</error>

[END QUOTE]


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "API Integration Basics" group.
To post to this group, send email to
google-checkout-api-integrationgooglegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )