google-code-export / google-checkout-oscommerce

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

Shipping not sent to Google Checkout #29

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 and coupon, but not returned back to 
Google Checkout

What is the expected output? What do you see instead?
Google Checkout should show the merchant calculated shipping and coupon

What version of the product are you using? On what operating system?
v1.2RC3rev1

Please provide any additional information below.

I ran the responsehandler_test.php page and I got a response in under 1 
second, so I don't know why the shipping is not being applied.  Here is 
the output from responsehandler_test.php:
HTTP/1.0 200 OK
Date: Fri, 16 Mar 2007 14:11:25 GMT
Server: Apache
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-
check=0
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
Set-Cookie: osCsid=4c4a4f2c643786010ec76bf2c1f2906e; path=/; 
domain=www.hallspeedshop.com
Content-Type: text/html
X-Cache: MISS from wc03.shr.phx3.secureserver.net
Connection: close

<?xml version="1.0" encoding="utf-8"?>
<merchant-calculation-results xmlns="http://checkout.google.com/schema/2">
  <results>
    <result shipping-name="FedEx: Priority (by 10:30AM, later for rural)" 
address-id="750953618029557">
      <shipping-rate currency="USD">30.38</shipping-rate>
      <shippable>true</shippable>
    </result>
    <result shipping-name="FedEx: 2 Day Air" address-id="750953618029557">
      <shipping-rate currency="USD">14.38</shipping-rate>
      <shippable>true</shippable>
    </result>
    <result shipping-name="FedEx: Standard Overnight (by 3PM, later for 
rural)" address-id="750953618029557">
      <shipping-rate currency="USD">24.79</shipping-rate>
      <shippable>true</shippable>
    </result>
    <result shipping-name="FedEx: First Overnight" address-
id="750953618029557">
      <shipping-rate currency="USD">57.51</shipping-rate>
      <shippable>true</shippable>
    </result>
    <result shipping-name="FedEx: Express Saver (3 Day)" address-
id="750953618029557">
      <shipping-rate currency="USD">13.83</shipping-rate>
      <shippable>true</shippable>
    </result>
    <result shipping-name="FedEx: Home Delivery" address-
id="750953618029557">
      <shipping-rate currency="USD">7.09</shipping-rate>
      <shippable>true</shippable>
    </result>
    <result shipping-name="FedEx: Ground Service" address-
id="750953618029557">
      <shipping-rate currency="USD">9999.99</shipping-rate>
      <shippable>false</shippable>
    </result>
    <result shipping-name="FedEx: International Priority (1-3 Days)" 
address-id="750953618029557">
      <shipping-rate currency="USD">9999.99</shipping-rate>
      <shippable>false</shippable>
    </result>
    <result shipping-name="FedEx: International Economy (4-5 Days)" 
address-id="750953618029557">
      <shipping-rate currency="USD">9999.99</shipping-rate>
      <shippable>false</shippable>
    </result>
    <result shipping-name="FedEx: International First" address-
id="750953618029557">
      <shipping-rate currency="USD">9999.99</shipping-rate>
      <shippable>false</shippable>
    </result>
    <result shipping-name="FedEx: International Home Delivery" address-
id="750953618029557">
      <shipping-rate currency="USD">9999.99</shipping-rate>
      <shippable>false</shippable>
    </result>
    <result shipping-name="FedEx: International Ground Service" address-
id="750953618029557">
      <shipping-rate currency="USD">9999.99</shipping-rate>
      <shippable>false</shippable>
    </result>
  </results>
</merchant-calculation-results>

Time to response: 0.892799854279 segs

Note: This script MUST response in less than 3 sec. so GC srv doesn't 
timeout.'

Original issue reported on code.google.com by d...@hall-online.ws on 16 Mar 2007 at 2:16

GoogleCodeExporter commented 9 years ago
Even though the response time is less than a second on 
responsehandler_test.php, I'm 
thinking that it may be taking longer for GC to get the data.  Today I am 
tntermittently getting shipping results.  Sometimes I get the defaults, 
sometimes I 
get real numbers.  But when I try to calculate the coupon, it never returns and 
puts 
the shipping back to the default.

Original comment by d...@hall-online.ws on 16 Mar 2007 at 5:31

GoogleCodeExporter commented 9 years ago
Yes, thats an issue that happens when the 3 sec timeout is reached

try ur implementation with this script

http://demo.globant.com/~brovagnati/tools -> responsehandler test

ropu

Original comment by rovagn...@gmail.com on 21 Mar 2007 at 7:43

GoogleCodeExporter commented 9 years ago

Original comment by rovagn...@gmail.com on 12 Apr 2007 at 1:45