Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 10-08-2009 11:42:17

OutcastGirls
Member
From: New York, NY
Registered: 07-16-2009
Posts: 219

How to integrade Google Checkout?

Is there a guide describing how to integrate Google Checkout with CCP7.1 step-by-step? I need it urgently. Thank you kindly.

Offline

 

#2 10-08-2009 11:53:29

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: How to integrade Google Checkout?

has the 3 simple steps that need to be done to enable it.

Offline

 

#3 10-08-2009 14:16:18

OutcastGirls
Member
From: New York, NY
Registered: 07-16-2009
Posts: 219

Re: How to integrade Google Checkout?

Thank you, Dave.

I Followed the steps and ran into the exactly same problems as the person who started the topic. Is there a solution to this problem? My Google Checkout is not working as of now.

Offline

 

#4 10-08-2009 15:39:08

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: How to integrade Google Checkout?

I've created a wiki article on setting up Google Checkout.  Hopefully this will help:

http://wiki.kryptronic.com/CCP7GoogleCheckout


Nick Hendler

Offline

 

#5 10-20-2009 15:06:07

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: How to integrade Google Checkout?

We've identified an issue on *some* servers (2 identified so far) where PHP server environment variables (PHP_AUTH_PW and PHP_AUTH_USER) are not set.  This has caused the following issue:

SYMPTOM:

Connection to Google Checkout works, however taxes and shipping are not calculated and Google reports a merchant callback error.

CAUSE:

Server is not set up to populate the PHP_AUTH_PW and PHP_AUTH_USER server environment variables.  Those variables are required in the GoogleCO module to perform authentication of callback requests.

SHORT-TERM SOLUTION:

In the file /private/apps/ecom/ECOM_GoogleCO/ECOM_GoogleCO.php, look beginning at line 617 for:

Code:

if ((!(empty($_SERVER['PHP_AUTH_USER']))) && (!(empty($_SERVER['PHP_AUTH_PW'])))) {

     if (($id == $_SERVER['PHP_AUTH_USER']) && ($key == $_SERVER['PHP_AUTH_PW'])) {

          $auth_ok++;

          if ($this->debug) {$this->debugger("webservice: Matched authorization headers.");}

     } // End of if statement.

} // End of if statement.

Change to:

Code:

if ((!(empty($_SERVER['PHP_AUTH_USER']))) && (!(empty($_SERVER['PHP_AUTH_PW'])))) {

     if (($id == $_SERVER['PHP_AUTH_USER']) && ($key == $_SERVER['PHP_AUTH_PW'])) {

          $auth_ok++;

          if ($this->debug) {$this->debugger("webservice: Matched authorization headers.");}

     } // End of if statement.

} else {

     if ($this->debug) {$this->debugger("webservice: Authorization fields not supplied.  Bypassed authorization.");}

     $auth_ok++;

} // End of if statement.

LONG-TERM SOLUTION:

Kryptroinic will issue an update for ClickCartPro and EuropaCart which gives users a switch to turn on/off authorization checks for callbacks.  This will allow users who host on servers that do not populate the variables needed for authorization to process Google Checkout requests without authorization.


Nick Hendler

Offline

 

Board footer