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.
Is there a guide describing how to integrate Google Checkout with CCP7.1 step-by-step? I need it urgently. Thank you kindly.
Offline
has the 3 simple steps that need to be done to enable it.
Offline
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
I've created a wiki article on setting up Google Checkout. Hopefully this will help:
http://wiki.kryptronic.com/CCP7GoogleCheckout
Offline
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:
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:
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.
Offline