My favorites | Sign in
Google
                
Search
for
Updated Mar 09, 2009 by alek.dembowski
Labels: v1_5_0, Featured
Support_1_5_0  
Google Checkout Module v1.5.0 for osCommerce v2.2, RC 2a - Support

Please begin by reading the readme page.



Forum

To meet other developers and merchants who have integrated Google Checkout with osCommerce and to discuss any topics related to integration of Google Checkout with osCommerce, please visit the forum:

http://groups.google.com/group/google-checkout-for-osc-mod-support

Common Mistakes

  1. Make sure you have set 777 file permissions on the following files:



    <osc-directory>/catalog/googlecheckout/logs/response_error.log

    <osc-directory>/catalog/googlecheckout/logs/response_message.log



    files.



  2. In the Google Checkout Merchant Center, set your callback URL to:



    https://<your-domain>/catalog/googlecheckout/responsehandler.php



    In production mode, "https" is required; in the sandbox, "https" is optional. Set the correct option in the osCommerce admin console. For more information about supported SSL certificates, please see:



    http://www.google.com/checkout/ssl-certificates

    http://checkout.google.com/support/sell/bin/answer.py?answer=57856



  3. Make sure you are using the correct combination of Merchant ID and Merchant Key. Remember that sandbox and production modes have different keys and IDs.

Troubleshooting

Problem Solution
/public_html/googlecheckout/logs/response_message.log) [function.fopen]: failed to open stream: Permission denied. Set the file attributes to 777 for:



<osc-directory>/catalog/googlecheckout/logs/response_error.log

<osc-directory>/catalog/googlecheckout/logs/response_message.log
Test order shows up on Google Checkout but not in the osCommerce admin console. There is an error somewhere in the file:



<osc-directory>/catalog/googlecheckout/responsehandler.php



or you have set the wrong API callback URL in your Google Checkout seller account under the 'Settings->Integration' tab.
<error-message>Malformed URL component: expected id: (\d{10})|(\d{15}), but got 8***********4 </error-message> You may have an extra space after your Google Merchant ID. Go to 'Admin->Payment' in the osCommerce admin console. Edit the Google Checkout module and the extra space should disappear. Click the 'Update' button to save the changes.
<error-message>No seller found with id 7************8</error-message> You may have entered Google Checkout Merchant ID. The sandbox Merchant ID can only be used with sandbox accounts (sandbox and production modes use different Merchant IDs).
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Your SSL certificate is not accepted by Google Checkout. For information about supported SSL certificates, please see:



http://www.google.com/checkout/ssl-certificates

http://checkout.google.com/support/sell/bin/answer.py?answer=57856
<error-message>Bad Signature on Cart</error-message> You may have entered the wrong Merchant ID or Key.
Error seen in logs (<osc-directory>/catalog/googlecheckout/logs/response_error.log):



Tue Nov 28 8:56:21 PST 2006:- Shopping cart not obtained from session.
Go to 'Admin->Configuration->Session' in the osCommerce admin console and set 'Prevent Spider Sessions' to False. Side effects: You may see spiders as active users.



Solution 2 (recommended): Edit:



<osc-directory>/catalog/includes/spider.txt



and remove any lines containing the word jakarta.
Warning: main(admin/includes/configure.php) [function.main]: failed to open stream: No such file or directory in /public_html/googlecheckout/gcheckout.php on line 34 Fatal error: main() [function.require]: Failed opening required 'admin/includes/configure.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /public_html/googlecheckout/gcheckout.php on line 33 Change



<osc-directory>/googlecheckout/gcheckout.php, line 33 to:



`directory require_once('admin/includes/configure.php');
HTTP Authentication doesn't work with IIS. The PHP directive cgi.rfc2616_headers must be set to 0 (the default value). Will use the $_SERVER['HTTP_AUTHORIZATION'] header.
No shipping is shown in the Cart. Check that the DIR_FS_CATALOG and DIR_WS_MODULES constants have the correct values set in:



<osc-directory>/catalog/includes/configre.php



Try adding an echo in:



<osc-directory>/catalog/googlecheckout/gcheckout.php



such as:



echo $module_directory = DIR_FS_CATALOG . DIR_WS_MODULES . 'shipping/';



and vist:



http://<your-domain>/catalog/shopping_cart.php



to see if the string you see is the correct directory for the shipping files.
Warning: session_start() [function.session-start]: Cannot send session cookie This happens most often when running the deploy scripts locally on Windows and you FTP to a Linux / Unix server. You should use a different ftp tool which transmits php files in ascii mode.



We recommend using FileZilla to manage the ftp uploads.
Internal Error in Checkout Integration console when displaying different currencies. This may happen because you have set osCommerce to use a different default currency than your Checkout Seller account is configured for. This is USD for those in the US and GBP for those in the UK. If your osCommerce 'default store currency' (admin/localization/currency) does not match your location in your google checkout account you will receive an internal error.



If you want to change the display currency, use the language option, not the default currency option.



For example, if you are a US seller, with a US googlecheckout account but have a website catering to people in Japan...go to includes/ languages/japan.php (for example, japanese.php). In that php file, set default currency to 'YEN'. Make sure YEN has already been added to your list of currencies in Admin (admin/localization/currency). However, leave the default currency as USD.



Now, go to Admin/localization/languages and make 'Japanese' your default language. Therafter, go to Admin/configuration and set Switch To Default Language Currency = true



Now go to your website, delete cookies from your browser, and reload (mine took a good minute to show up). The website should now display prices in YEN. The cart will also display YEN. When the client clicks on the googlecheckout button and goes to google checkout..the prices will be displayed in USD but with a second line showing the equivalent amount in YEN.



In a multicurrency environment, either use the IP detect contribution (search on oscommerce) or prompt for location everytime someone visits your site to toggle language/currency.

Bugs

To see known bugs or to report new ones, please see:

http://groups.google.com/group/google-checkout-for-osc-mod-support

Comment by esprit7258, Jun 27, 2009

after the install of oscommerce google checkout I cannot access my admin panel, in other words my user and password changed for some reasons


Sign in to add a comment