Os Commerce checkout not disabled if google checkout is only payment method

3 views
Skip to first unread message

sa...@weddingsandpartnerships.com

unread,
Jul 17, 2007, 6:03:15 PM7/17/07
to Google Checkout Mod for OSC Community Support Forum
posted here as a result of:

>> http://code.google.com/p/google-checkout-oscommerce/issues/detail?id=38
>>Comment #1 by rovagnati:
>>hi, i cant fully undestand ur issue

I have google checkout installed as the ONLY payment method for an
oscommerce store. (oscommerce 2.2-MS2) using the google oscommerce
contribution v1.3RC2

On all my checkout screens, there is an os commerce button AND a
google checkout button. Both these buttons are enabled and the user is
presented with something like:

[CHECKOUT]

- or use -

[GOOGLE CHECKOUT]

where [-----] represents the button (I can supply a pdf printout, but
there doesn't seem to be a way of attaching this!)

If I chose to use the google checkout button, all works perfectly - I
am taken to the Google checkout screens and info is sucessfully passed
back to oscommerce

However, I am also able to checkout using the os commerce checkout
button. If I select this button, I am not taken to the Google
checkout screen, just asked to input address details via oscommerce
and I then get the oscommerce order placed confirmation, showing
Google checkout as the selected payment method, but nothing has been
passed to/from google checkout and the order has not actually been
recorded in google checkout.

What I would expect to happen is that the os commerce [CHECKOUT]
button would not even appear on the payment screens if Google Checkout
was the only available payment method.

TomT

unread,
Jul 17, 2007, 7:32:47 PM7/17/07
to Google Checkout Mod for OSC Community Support Forum
Hi

For what you want, you can remove (or comment out) the oscommerce
checkout button (button_checkout.gif) in the shopping_cart.php file.
And, remove any links you have to login &/or register. You will
possibly want to modify slightly the look. It also would not be very
hard to just place the Google Checkout button code so that the Google
Checkout button would be where the oscommerce button was, actually
replacing it (any way you do it you will want to keep in mind the
oscommerce closing form tag, it must be placed before the Google
button code).

The Google Checkout mod as is, is not designed, or meant to replace
the oscommerce checkout. It is meant to add an additional checkout
process option (Google Checkout).

I'm taking a guess that the reason you even see anything concerning
Google (button or otherwise) on the oscommerce (checkout) payment page
is that the modifications to the oscommerce checkout_payment.php file
were either not done at all, or not correctly done not.

There should be no Google reference or option of any sort during the
oscommerce checkout process.

Tom

TomT

unread,
Jul 17, 2007, 11:55:26 PM7/17/07
to Google Checkout Mod for OSC Community Support Forum
Hi Again,

Please disregard my above references to not correctly modifying the
oscommerce checkout_payment.php file. I mis-read what you wrote. The
rest of what I tried to explain is relevant.

Tom

> > was the only available payment method.- Hide quoted text -
>
> - Show quoted text -

sa...@weddingsandpartnerships.com

unread,
Jul 18, 2007, 2:32:09 AM7/18/07
to Google Checkout Mod for OSC Community Support Forum
I will do what you suggest Tom but to my mind, if I have a brand new
installation of oscommerce, then I install google checkout following
google's instructions, that should be it - I shouldn't have to change
anything else, it should work.... It may not look good, but it should
function correctly.

At the very least, surely google should amend the installation
instructions to ensure this is included? Lokking through the
oscommerce forumes, this issue comes up again and agin.

> > - Show quoted text -- Hide quoted text -

Holly & Quinn Elrod - alternate

unread,
Jul 23, 2007, 10:28:12 PM7/23/07
to Google Checkout Mod for OSC Community Support Forum
I am having the very same problem. everything works perfectly if I
click the google checkout button but only if I do. did you ever come
to a conclusion on this? either i need to enable something else like
paypal or CC processing or I need to force google checkout. it is
fairly annoying how the button appears before you are even finished
entering order details. as a user, i would never select google
checkout over the "Continue" button. how can i fix this? please help
ASAP!
Thanks,
Clay

Ropu

unread,
Jul 25, 2007, 10:24:55 AM7/25/07
to google-checkout-f...@googlegroups.com
hi, you should edit ur shopping_cart.php file, and remove the Regular checkout button (line ~197)
u should also add a redirect in checkout_shipping.php so no user can use the regular checkout

for example in the top of the file add:

    tep_redirect(tep_href_link(FILENAME_SHOPPING_CART));

this way, no one can use OSC regular checkout.

hope this helps

ropu

> > > > oscommerce store. (oscommerce 2.2-MS2 ) using the google oscommerce
Reply all
Reply to author
Forward
0 new messages