Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

rick.t

Pioneers
  • Posts

    1
  • Joined

  • Last visited

Profile Information

  • Real Name
    Rick

rick.t's Achievements

  1. Using sandbox; Google Checkout button appears on site, and the order information is displayed in the GC sandbox when I click it. I can complete the order and click the link within the sandbox to return to the site. However... /googlecheckout/logs/response_error.log has many of these: Fri Nov 19 10:26:12 PST 2010:- Shopping cart not obtained from session. /googlecheckout/logs/response_message.log contains lots of lines that look like this: Fri Nov 19 10:27:15 PST 2010:- serial-number=861915187450702-00001-7 GC Integration Console reflects an error and provides this description: "We encountered an error trying to access your server at https://truelynatural.com/googlecheckout/responsehandler.php -- the error we got is Send failed with code: 500. Response body was: Shopping cart not obtained from session." One recommendation I've found is to go to the osCommerce admin / Configuration / Sessions, and set Prevent Spider Sessions to False. This was done two days ago, and the error persists. The /googlecheckout/responsehandler.php script contains a line of code to "Retrieve the XML sent in the HTTP POST request to the ResponseHandler," which is stored in $xml_response. I added a line of code to log this response, and this is what it looks like: RESPONSEHANDLER: xml_response: serial-number=803763634704575-00001-7 The responsehandler.php script checks for the session variable 'cart' and attempts to restore its contents. However, if the session variable cannot be detected as registered, or if it doesn't contain an object, then the script generates the error message I'm receiving ("Shopping cart not obtained from session"). So I'm also dumping the $_SESSION variable to my log, and this is what I get: CHECKING SESSION from GOOGLECHECKOUT SESSION: Array ( [cart] => [language] => [languages_id] => [currency] => [navigation] => [wishList] => ) So it seems the session data is missing by the time Google Checkout needs to access it. And, while the php installation very sensibly has register_globals turned off, there is a local php.ini for this domain that turns it on. So I'm still looking for that magical combination of configuration settings, flicks of the wand, and / or sweet talk to get Google Checkout to send back the data I need. Any suggestions? Thanks!
×
×
  • Create New...