Products     Magento Extension     PCI-Shopping-Carts     Templates       CRELoaded     WordPress Modules     osCommerce Modules       osCommerce Addons       osCommerce Features       osCommerce Management       Payment Modules     CRELoaded Modules       CRE Loaded Addons       CRE Loaded Features       CRE Loaded Management       Payment Modules       CRELoaded Services
Free Stuff
Customization
Templates
Compare Products
You have no items to compare.
Affiliate Info
Affiliate Program FAQ
Affiliate Log In
Recent Orders
Hot Keywords: Order Notification, Order Search, Coupon, Flash Board, Compare, Floating Message, Tracking, Moneris, RSS, Visitor Filter

  Google Checkout module for osCommerce

The following osCommerce contribution is a free Opensource code originated from official osCommerce website and provided for your reference only, you may download the original contribution file(s) and install it on your own; or you may request a Paid Installation Service from Agents Of Power; Agents Of Power does the "AS IS" installation on your website, we do not guarantee it will work properly on your website. Extra Paid service is available for repairing the problem from the original contribution or from your website.
This add-on replaces the previous add-on by re-installing the continue shopping button. I've re-aligned the continue shopping button by moving it to the right where the OSC checkout button was so that the design layout flows better. This add-on is only for those merchants who wish to use Google Checkout as their sole payment option. This is not a complete version of Google Checkout, only the shopping_cart.php file has been added.
This add-on will remove the regular checkout button in OsCommerce leaving the Google Checkout button as the only choice available for payment. This is for merchants who want to use Google Checkout as their sole payment. An account in OsCommerce will automatically be created and a password sent to the customer when the customer buys a product. The Continue Shopping button has also been removed. This is not a full copy of Google Checkout, it only contains the shopping_cart.php file.
This contribution fixes a cart problem in Google Checkout. When a successful transaction is made and the 'Continue Shopping URL' is filled in with 'gc_return.php', the cart is supposed to empty upon the shopper's return to your website. This doesn't happen and the cart is still full and the shopper has to manually empty the cart. I have included code that will empty the cart upon return. This only affects the cart if gc_return is selected.
A few people seem to be having big issues with the latest module.

We do have it working so here are a few things to note:

1) Use the official module from the google website (http://code.google.com/p/google-checkout-oscommerce/). The one below has the T_CASE issue. If you apply the fix below and someone orders more than one product, only the first one will be recorded in osCommerce database.

2) Apply the include_once fix i.e. in includes/classes/shipping:

Find:

for ($i=0, $n=sizeof($include_modules); $i<$n; $i++) {
include(DIR_WS_LANGUAGES . $language . '/modules/shipping/' . $include_modules[$i]['file']);
include(DIR_WS_MODULES . 'shipping/' . $include_modules[$i]['file']);

$GLOBALS[$include_modules[$i]['class']] = new $include_modules[$i]['class'];
}

And replace with:

for ($i=0, $n=sizeof($include_modules); $i<$n; $i++) {
include_once(DIR_WS_LANGUAGES . $language . '/modules/shipping/' . $include_modules[$i]['file']);
include_once(DIR_WS_MODULES . 'shipping/' . $include_modules[$i]['file']);

$GLOBALS[$include_modules[$i]['class']] = new $include_modules[$i]['class'];
}

3) Update your shipping_methods file and check there are no blank spaces after the final ?>

4) If you offer internation shipping then remove any country codes that google does not support for eample: TP and ZR

5) Check DIR_DS_CATALOG is set correct in /includes/configure.php. It might need to be set manually.

I hope that helps. The zip contains the same.
Parse error: syntax error, unexpected T_CASE in /home/.../public_html/TEST_googlecheckout_rc1/googlecheckout/responsehandler.php on line 710


v2 Full Package chibibotoons90 23 Oct 2008

QUERY TO chibibotoons90:

You seem to have a coding error in response handler that throughs up a T_CASE error

Parse error: syntax error, unexpected T_CASE in /home/.../public_html/TEST_googlecheckout_rc1/googlecheckout/responsehandler.php on line 710

Might you have an idea to what is going wrong?

Many thanks Matthew



REPLY FROM chibibotoons90:

add this } in line 709





Hope this helps others...

Matthew John Ritchie.
STS_ARTICLES
www.bluegreentechnologies.com/ebusiness_info/STS_Articles.php

THIS DOWNLOAD ONLY INCLUDES ABOVE TEXT IN ZIP FILE
Full Package!!
This bug breaks Google Checkout when the customer has more than one address registered in their Google account.

This might apply to other versions of this contribution as well.

googlecheckout/responsehandler.php:

Line 838: $shipping_modules = new shipping();

This line should not be in a loop. Move this line just below

require(DIR_WS_CLASSES .'shipping.php');

on line 811.

(contribution download file is just this message)
   Posted on: 09/03/2008     See contribution details Request Installation with Paid service