google-code-export / google-checkout-oscommerce

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

Not being returned to gc_return.php and orders not showing in oscommerce admistration. #75

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When an order is placed it "sometimes" showes up under administration in 
oscommerce. It does not work everytime.  I also had it with the previous 
version of google checkout.
I am only using the sandbox account.

What steps will reproduce the problem?

What seems to be the case is the following;

Callback method: XML
1) Place an order.
RESULT: Get the page that says "Thanks, you're done!  Return to (my 
oscommerce site)."
2) Click on link to return to my oscommerce site.
RESULT: Sent to ".../catalog/login.php"
Should have been sent to "/catalog/gc_return.php?products_id=28"

The order shows in "/googlecheckout/logs/respons_message.log"  properly.
No errors are reported in "/googlecheckout/logs/response_error.log"

Order does not display in oscommerce Administration.

Callback method: HTML
1) Place a NEW order.  Pretend it is order number xxx123
RESULT: Get the page that says "Thanks, you're done!  Return to "your 
oscommerce site".
2) Click on link to return to the oscommerce site.
RESULT: Sent to "/catalog/gc_return.php?products_id=28"

The order shows (I believe incorrectly) all on a single line 
in "/googlecheckout/logs/respons_message.log"
The error mesage "Invalid or not supported Message" is reported 
in "/googlecheckout/logs/response_error.log"

3) Switch callback method to XML
RESULT: after some time has passed
The order number xxx123 now shows 
in "/googlecheckout/logs/respons_message.log"  properly.
No errors are reported in "/googlecheckout/logs/response_error.log"
The order number xxx123 is shown in oscommerce's Admistration orders 
section.

What version of the product are you using? On what operating system?

PHP Version: 5.2.6 (Zend: 2.2.0)
MySQL 4.1.22-standard-log
Apache version 2.2.9 (Unix) 
OScommerce v2.2 RC2

Original issue reported on code.google.com by p...@laser-tool.com on 8 Apr 2009 at 12:48