google-code-export / google-checkout-oscommerce

Automatically exported from code.google.com/p/google-checkout-oscommerce
1 stars 0 forks source link

Error parsing XML; message from parser is: The markup in the document following the root element must be well-formed. #89

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Order is placed on OsCommerce
2. Cart is sent to Google Checkout and displays properly
3. Callback is made to get shipping but not returned back to 
Google Checkout

What is the expected output? What do you see instead?
calculated shipping. i see the default values

What version of the product are you using? On what operating system?
xp home also tried on vista premium. google checkout v1.5.0, oscommerce 2.2rc2a

Please provide any additional information below.
XML SENT

<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by
(output started at
/home/pcsgames/public_html/googlecheckout/library/shipping/merchant_calculated_m
ethods.php:140)
in
<b>/home/pcsgames/public_html/googlecheckout/library/googleresponse.php</b>
on line <b>136</b><br />
<?xml version="1.0" encoding="UTF-8"?>
<merchant-calculation-results xmlns="http://checkout.google.com/schema/2">
  <results>
    <result shipping-name="Parcelforce 48:  (Insured upto
&amp;amp;amp;pound;150, ships normally within 48 Hours)"
address-id="802977141473002">
      <shipping-rate currency="GBP">15.99</shipping-rate>
      <shippable>true</shippable>
    </result>
    <result shipping-name="Royal Mail Airmail: (Ships normally within 3 to
5 days)" address-id="802977141473002">
      <shipping-rate currency="GBP">0</shipping-rate>
      <shippable>true</shippable>
    </result>
    <result shipping-name="Royal Mail 1st Class Recorded: (Insured upto
&amp;amp;amp;pound;39, ships normally within 1 to 3 days)"
address-id="802977141473002">
      <shipping-rate currency="GBP">2.89</shipping-rate>
      <shippable>true</shippable>
    </result>
    <result shipping-name="Royal Mail 2nd Class Standard: (Ships normally
within 3 to 5 days)" address-id="802977141473002">
      <shipping-rate currency="GBP">0</shipping-rate>
      <shippable>true</shippable>
    </result>
    <result shipping-name="Royal Mail 2nd Class Recorded: (Insured upto
&amp;amp;amp;pound;39, ships normally within 3 to 5 days)"
address-id="802977141473002">
      <shipping-rate currency="GBP">2.6</shipping-rate>
      <shippable>true</shippable>
    </result>
    <result shipping-name="Royal Mail Special Delivery:  (Insured upto
&amp;amp;amp;pound;500, ships normally Nextday)" address-id="802977141473002">
      <shipping-rate currency="GBP">5.4</shipping-rate>
      <shippable>true</shippable>
    </result>
    <result shipping-name="Royal Mail Standard Parcels:  (Insured upto
&amp;amp;amp;pound;39, ships normally within 3 to 5 days)_1"
address-id="802977141473002">
      <shipping-rate currency="GBP">0</shipping-rate>
      <shippable>true</shippable>
    </result>
  </results>
</merchant-calculation-results>

Original issue reported on code.google.com by pcsgames...@googlemail.com on 15 Sep 2009 at 1:54

GoogleCodeExporter commented 9 years ago
Might have fixed it by cmodin the responsehandler.php to 555 and redoing the
shipping_methods.php. 

Original comment by pcsgames...@googlemail.com on 15 Sep 2009 at 2:01