Guest Posted October 19, 2007 Share Posted October 19, 2007 ok, just installed Google Checkout Cont, (thanks to the people that put that together :thumbsup: ) but having some issues with it. Using the sandbox, when I checkout as a customer I get a - The page cannot be found, HTTP 400 - Bad Request Internet Explorer. Then when I check on Google there is the following error message - Error parsing XML; message from parser is: An invalid XML character (Unicode: 0xb) was found in the element content of the document. Anybody seen this before or know what is causing this please? Think I have been staring at this for too long...starting to get double vision....so a fresh head would be apreciated..cheers :blink: Link to comment Share on other sites More sharing options...
futurestar Posted October 19, 2007 Share Posted October 19, 2007 ok, just installed Google Checkout Cont, (thanks to the people that put that together :thumbsup: ) but having some issues with it. Using the sandbox, when I checkout as a customer I get a - The page cannot be found, HTTP 400 - Bad Request Internet Explorer. Then when I check on Google there is the following error message - Error parsing XML; message from parser is: An invalid XML character (Unicode: 0xb) was found in the element content of the document. Anybody seen this before or know what is causing this please? Think I have been staring at this for too long...starting to get double vision....so a fresh head would be apreciated..cheers :blink: I'm no expert, but according to this: http://mail-archives.apache.org/mod_mbox/[email protected]%3e That is an invalid character. Go here: https://sandbox.google.com/checkout/sell/se...ion=Integration Can you click on the error link and get Google to spit it out the whole string it passed you? It will be really long, but if so paste it here. Link to comment Share on other sites More sharing options...
Guest Posted October 19, 2007 Share Posted October 19, 2007 I'm no expert, but according to this:http://mail-archives.apache.org/mod_mbox/[email protected]%3e That is an invalid character. Go here: https://sandbox.google.com/checkout/sell/se...ion=Integration Can you click on the error link and get Google to spit it out the whole string it passed you? It will be really long, but if so paste it here. As requested; XML We Received: <?xml version="1.0" encoding="UTF-8"?> <checkout-shopping-cart xmlns="http://checkout.google.com/schema/2"> <shopping-cart> <cart-expiration> <good-until-date>2007-10-19T16:24:34Z</good-until-date> </cart-expiration> <items> <item> <item-name>3Com Baseline Switch 2016 - switch - 16 ports</item-name> <item-description>The 3Com Baseline 10/100 Switch 16-Port is an unmanaged, nonblocking switch designed for small to midsize offices. This rack mountable, business-class switch can be installed in a wiring closet or as a free-standing unit. The switch comes preconfigured for fast, easy installation using economical copper wiring. Auto-negotiation adjusts the port speed to match the communicating device. Any of the switch's 16 ports can deliver 10BaseT Ethernet for users with average bandwidth requirements, or 100BaseTX Fast Ethernet for power users or those with newer network connections.In addition, automatic detection of the Ethernet cable type (MDI/MDIX) simplifies cable connections. And built-in IEEE 802.1p prioritization with two priority queues facilitates traffic management in larger enterprise networks. Like all 3Com Baseline products, this switch provides powerful, feature-rich practicality in a sturdy package designed for reliability, long life, and low total cost of ownership.</item-description> <unit-price currency="GBP">36.0528</unit-price> <quantity>1</quantity> <merchant-private-item-data> <item>YTo5OntzOjM6InF0eSI7czoxOiIxIjtzOjQ6Im5hbWUiO3M6NDU6IjNDb20gQmFzZWxpbmUgU3dp dGNoIDIwMTYgLSBzd2l0Y2ggLSAxNiBwb3J0cyI7czo1OiJtb2RlbCI7czoxMDoiM0MxNjQ3MC1VSyI7c zozOiJ0YXgiO2Q6MTcuNTAwMDAwMDAwMDAwMDAzNTUyNzEzNjc4ODAwNTAwOTI5MzU1NjIxMzM3ODkwNj I1O3M6MTU6InRheF9kZXNjcmlwdGlvbiI7czoxMToiVkFUIEAgMTcuNSUiO3M6NToicHJpY2UiO3M6Nzo iMzYuMDUyOCI7czoxMToiZmluYWxfcHJpY2UiO2Q6MzYuMDUyNzk5OTk5OTk5OTk3NzM3NjMxOTI5MzM5 ODQxMDA4MTg2MzQwMzMyMDMxMjU7czo2OiJ3ZWlnaHQiO3M6NDoiMS4wMCI7czoyOiJpZCI7aTozNDc1M zt9</item> </merchant-private-item-data> <merchant-item-id>34753</merchant-item-id> <tax-table-selector>VAT</tax-table-selector> <item-weight unit="LB" value="1" /> </item> </items> <merchant-private-data> <session-data>p7uh74vgscbtvhvg5tg7lsifj7;osCsid</session-data> </merchant-private-data> </shopping-cart> <checkout-flow-support> <merchant-checkout-flow-support> <edit-cart-url>http://hamish12.pbds124.pinbrookdedicated.co.uk/oscommerce-2.2rc1/catalog/shopping_cart.php</edit-cart-url> <continue-shopping-url>http://hamish12.pbds124.pinbrookdedicated.co.uk/oscommerce-2.2rc1/catalog/checkout_success.php</continue-shopping-url> <request-buyer-phone-number>true</request-buyer-phone-number> <merchant-calculations> <merchant-calculations-url>http://hamish12.pbds124.pinbrookdedicated.co.uk/oscommerce-2.2rc1/catalog/googlecheckout/responsehandler.php</merchant-calculations-url> <accept-merchant-coupons>false</accept-merchant-coupons> <accept-gift-certificates>false</accept-gift-certificates> </merchant-calculations> <tax-tables merchant-calculated="false"> <default-tax-table> <tax-rules> <default-tax-rule> <shipping-taxed>false</shipping-taxed> <rate>0</rate> <tax-area> <world-area /> </tax-area> </default-tax-rule> </tax-rules> </default-tax-table> <alternate-tax-tables> <alternate-tax-table standalone="false" name="VAT"> <alternate-tax-rules> <alternate-tax-rule> <rate>0.175</rate> <tax-area> <postal-area> <country-code>GB</country-code> </postal-area> </tax-area> </alternate-tax-rule> </alternate-tax-rules> </alternate-tax-table> </alternate-tax-tables> </tax-tables> <rounding-policy> <mode>HALF_UP</mode> <rule>PER_LINE</rule> </rounding-policy> </merchant-checkout-flow-support> </checkout-flow-support> </checkout-shopping-cart> XML We Sent: <?xml version="1.0" encoding="UTF-8"?> <error xmlns="http://checkout.google.com/schema/2" serial-number="20a03b5e-1ce4-4a67-9c42-bd0d95614c27"> <error-message>Error parsing XML; message from parser is: An invalid XML character (Unicode: 0xb) was found in the element content of the document.</error-message> </error> Thanks for looking at this for me :thumbsup: Link to comment Share on other sites More sharing options...
futurestar Posted October 19, 2007 Share Posted October 19, 2007 As requested;XML We Received: <?xml version="1.0" encoding="UTF-8"?> <checkout-shopping-cart xmlns="http://checkout.google.com/schema/2"> <shopping-cart> <cart-expiration> <good-until-date>2007-10-19T16:24:34Z</good-until-date> </cart-expiration> <items> <item> <item-name>3Com Baseline Switch 2016 - switch - 16 ports</item-name> <item-description>The 3Com Baseline 10/100 Switch 16-Port is an unmanaged, nonblocking switch designed for small to midsize offices. This rack mountable, business-class switch can be installed in a wiring closet or as a free-standing unit. The switch comes preconfigured for fast, easy installation using economical copper wiring. Auto-negotiation adjusts the port speed to match the communicating device. Any of the switch's 16 ports can deliver 10BaseT Ethernet for users with average bandwidth requirements, or 100BaseTX Fast Ethernet for power users or those with newer network connections.In addition, automatic detection of the Ethernet cable type (MDI/MDIX) simplifies cable connections. And built-in IEEE 802.1p prioritization with two priority queues facilitates traffic management in larger enterprise networks. Like all 3Com Baseline products, this switch provides powerful, feature-rich practicality in a sturdy package designed for reliability, long life, and low total cost of ownership.</item-description> <unit-price currency="GBP">36.0528</unit-price> <quantity>1</quantity> <merchant-private-item-data> <item>YTo5OntzOjM6InF0eSI7czoxOiIxIjtzOjQ6Im5hbWUiO3M6NDU6IjNDb20gQmFzZWxpbmUgU3dp dGNoIDIwMTYgLSBzd2l0Y2ggLSAxNiBwb3J0cyI7czo1OiJtb2RlbCI7czoxMDoiM0MxNjQ3MC1VSyI7c zozOiJ0YXgiO2Q6MTcuNTAwMDAwMDAwMDAwMDAzNTUyNzEzNjc4ODAwNTAwOTI5MzU1NjIxMzM3ODkwNj I1O3M6MTU6InRheF9kZXNjcmlwdGlvbiI7czoxMToiVkFUIEAgMTcuNSUiO3M6NToicHJpY2UiO3M6Nzo iMzYuMDUyOCI7czoxMToiZmluYWxfcHJpY2UiO2Q6MzYuMDUyNzk5OTk5OTk5OTk3NzM3NjMxOTI5MzM5 ODQxMDA4MTg2MzQwMzMyMDMxMjU7czo2OiJ3ZWlnaHQiO3M6NDoiMS4wMCI7czoyOiJpZCI7aTozNDc1M zt9</item> </merchant-private-item-data> <merchant-item-id>34753</merchant-item-id> <tax-table-selector>VAT</tax-table-selector> <item-weight unit="LB" value="1" /> </item> </items> <merchant-private-data> <session-data>p7uh74vgscbtvhvg5tg7lsifj7;osCsid</session-data> </merchant-private-data> </shopping-cart> <checkout-flow-support> <merchant-checkout-flow-support> <edit-cart-url>http://hamish12.pbds124.pinbrookdedicated.co.uk/oscommerce-2.2rc1/catalog/shopping_cart.php</edit-cart-url> <continue-shopping-url>http://hamish12.pbds124.pinbrookdedicated.co.uk/oscommerce-2.2rc1/catalog/checkout_success.php</continue-shopping-url> <request-buyer-phone-number>true</request-buyer-phone-number> <merchant-calculations> <merchant-calculations-url>http://hamish12.pbds124.pinbrookdedicated.co.uk/oscommerce-2.2rc1/catalog/googlecheckout/responsehandler.php</merchant-calculations-url> <accept-merchant-coupons>false</accept-merchant-coupons> <accept-gift-certificates>false</accept-gift-certificates> </merchant-calculations> <tax-tables merchant-calculated="false"> <default-tax-table> <tax-rules> <default-tax-rule> <shipping-taxed>false</shipping-taxed> <rate>0</rate> <tax-area> <world-area /> </tax-area> </default-tax-rule> </tax-rules> </default-tax-table> <alternate-tax-tables> <alternate-tax-table standalone="false" name="VAT"> <alternate-tax-rules> <alternate-tax-rule> <rate>0.175</rate> <tax-area> <postal-area> <country-code>GB</country-code> </postal-area> </tax-area> </alternate-tax-rule> </alternate-tax-rules> </alternate-tax-table> </alternate-tax-tables> </tax-tables> <rounding-policy> <mode>HALF_UP</mode> <rule>PER_LINE</rule> </rounding-policy> </merchant-checkout-flow-support> </checkout-flow-support> </checkout-shopping-cart> XML We Sent: <?xml version="1.0" encoding="UTF-8"?> <error xmlns="http://checkout.google.com/schema/2" serial-number="20a03b5e-1ce4-4a67-9c42-bd0d95614c27"> <error-message>Error parsing XML; message from parser is: An invalid XML character (Unicode: 0xb) was found in the element content of the document.</error-message> </error> Thanks for looking at this for me :thumbsup: There is a vertical tab being put in there somewhere. I can't find it though. Use this tool: https://demo.globant.com/~brovagnati/tools/xml2html It will convert the xml to html. It all looks good to me, so I don't think I can help you out on this one. Hopefully it will give somebody and idea though. Link to comment Share on other sites More sharing options...
Guest Posted October 19, 2007 Share Posted October 19, 2007 There is a vertical tab being put in there somewhere. I can't find it though.Use this tool: https://demo.globant.com/~brovagnati/tools/xml2html It will convert the xml to html. It all looks good to me, so I don't think I can help you out on this one. Hopefully it will give somebody and idea though. No worries. Thank you so much for trying though. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.