Jump to content

Google Checkout fails to process


Recommended Posts

Hi
Although I have paypal module thats working fine, I cannot get google checkout module to process orders in the sandbox. I have the google accounts set up, API code authorisation set up etc etc and also a sandbox. However when testing in sandbox I get the sandbox screen up with a message saying 'Oops! We were unable to process your request'.
I have a site SSL(through host) and SSL switched on in Prestashop and the feedback xml identified as it says to do in prestashop. I did had to change this path from commencing with http to https before it would be accepted by google (Not sure this is correct or a problem).
If anyone has a good step by step guide on this module I'd really appreciate your help.
I've read a number of posts and cannot understand whether the Google checkout module should be working fully for all or whether it does still have bugs which prestashop are trying to sort.
Please help as I'm getting really frustrated.
Thanks
Pinkloveshy

Link to comment
Share on other sites

  • 1 month later...

when I got that message, it was because I had entered the wrong merchant key and the other number in modules. there is a different merchant key for sandbox than for your active google checkout.

I have it working with ssl and get the email from google but still don't get an order showing up under orders. have to manually go into customer, find the unprocessed order and change the status. mod team, is there a fix for this problem? I can't find one on the boards :(

Link to comment
Share on other sites

Hi Yeah its a pain working through these forums they are getting so huge and sorry but my high school French ain't doing the job. I am working through this right now and when I have an answer I will post the solution here. I have a problem with the orders showing up too so you are not alone we'll get through this : ) just moments away

Link to comment
Share on other sites

after thinking about it, I wonder if it is actually working correctly for me. no way to know until I switch out of sandbox mode.

but while my shop is in sandbox mode, then the orders aren't really valid and shouldn't show up in the prestashop as a valid order. I'll have to take it out of sandbox mode and find a way to buy from myself (which google checkout doesn't allow) to see if it is working correctly.

I think a lot of my problems are created by an incompatible host (hostmonster) and am looking at switching to a more prestashop friendly one.

Link to comment
Share on other sites

I've solved my gcheckout problem. took lots of reading on the web but this is what I found out:

your webhost has to have php in apache mode. if it has php in cgi mode this is what you need to do:

go to cpanel and Security section and click on Password Protect Directories. choose the directory /modules/gcheckout/library.

enter the user as your merchant id and the password as the merchant key. enter in the *Name the protected directory* box anything you want.

then you have to edit the validation.php file in /modules/gcheckout/ (comment out a line)

find this line:

$status = $Gresponse->HttpAuthentication();
if(!$status)
die('authentication failed');

and change it to this:

/*$status = $Gresponse->HttpAuthentication();
if(!$status)
die('authentication failed');
*/

after you go from sandbox mode to real mode don't forget you'll have to change the user and password for that library directory to your real id and key not the sandbox ones.

hope this helps someone else.

Link to comment
Share on other sites

  • 1 month later...

I have done what mel said and still no orders showing up in prestashop cart. I get email confirmation of the orders from google checkout, so that's working fine, it's just something with the prestashop module.

As a note, my webserver runs php in fastcgi mode.

I'm surprised there are still problems like this in the checkout modules. (had a major problem with paypal module as well).

Link to comment
Share on other sites

kyfer,

did you go into the gcheckout logs and see what error messages it was posting? thats how I knew what to search for on the web to figure out my problem.

I'm trying to remember where those were. I'll look around and see if I can see where it posts them.

Link to comment
Share on other sites

  • 2 months later...
I've solved my gcheckout problem. took lots of reading on the web but this is what I found out:

your webhost has to have php in apache mode. if it has php in cgi mode this is what you need to do:

go to cpanel and Security section and click on Password Protect Directories. choose the directory /modules/gcheckout/library.

enter the user as your merchant id and the password as the merchant key. enter in the *Name the protected directory* box anything you want.

then you have to edit the validation.php file in /modules/gcheckout/ (comment out a line)

find this line:

$status = $Gresponse->HttpAuthentication();
if(!$status)
die('authentication failed');

and change it to this:

/*$status = $Gresponse->HttpAuthentication();
if(!$status)
die('authentication failed');
*/

after you go from sandbox mode to real mode don't forget you'll have to change the user and password for that library directory to your real id and key not the sandbox ones.

hope this helps someone else.


I really need help just setup my site but have this issue with the https:\\

google module has provided me with http://ukdreamshop.admin.prestabox.com/modules/gcheckout/validation.php

as we know google need sthe https:\\ i been reading above where do i find the files to edit in the back office cuz i searched everywhere you would think by teh date of all these posts teh module would be updated to fix this issue,

i got email from google checkout below

Hello [email protected],
We've made several unsuccessful attempts to send order notifications to your notification callback URL, https://ukdreamshop.admin.prestabox.com/modules/gcheckout/validation.php As a result, you aren't receiving order status, risk or other notifications.


To help you identify the issue with your callback URL, please review the errors we encountered while sending notifications to you. To review this error information:

Sign in to Google Checkout.
Click the Tools tab.
Click Integration Console.
Error messages will appear under 'Integration Issues.' If necessary, you can also update your callback URL in the 'API callback URL' box on the same page.

For more information about receiving notifications via the notification API, visit http://code.google.com/apis/checkout/developer/index.html#notification.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...