Zen Cart Logo
Forums / Addon Payment Modules / Google Checkout module for ZC 1.3.x (beta)

Google Checkout module for ZC 1.3.x (beta)

Locked

Views: 1,099,922

Results 1,701 to 1,720 of 3,921
This thread is locked. New replies are disabled.
14 Jun 2007, 2:41 AM
#1701
tick avatar

tick

New Zenner

Join Date:
Jun 2007
Location:
Phoenix, AZ
Posts:
66
Plugin Contributions:
0

Google Checkout module for ZC 1.3.x (beta)

Hello everyone,

I've been hacking on Google Checkout for fun (and hopefully profit) and ran into a few questions I was hoping someone could help me out with:1. First, I notice that 1.4 is in alpha, but I never saw a gold release for 1.3 (only RC2). Is anyone using 1.3 in production? Has it been stable?
2. I've modified 1.3rc2 to find existing users based on email address and then link to those in the google_checkout table. (Instead of the previous behavior of creating a new account if a new user who wasn't logged in made a purchase.) Can anyone who knows more about Zen cart than me -- which is probably everyone here -- see any ramifications from this behavior? Has anyone else found a better way to handle it if an existing customer uses Google Checkout without logging in?
3. The existing Google Checkout module did not subscribe a user to the newsletter if they selected the checkbox on the checkout site. I've added code to do so. Assuming the interest, is the 1.3 release still accepting patches, or should I sit tight and wait for 1.4 before making any major modifications?
4. There also appears to be a bug in the code to update the number of units sold in the products table. My implementation always adds zero to the count. Is that a known issue, or did I jack up my copy while making these other modifications?Thanks!
Tick

14 Jun 2007, 4:34 AM
#1702
teebo avatar

teebo

Zen Follower

Join Date:
Jun 2007
Posts:
104
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

Does going through google checkout still work with qty amount? I ask this because I checked out with gco and I only had a qty 1 and it didn't go out of stock

14 Jun 2007, 5:47 AM
#1703
mindfulwanderer avatar

mindfulwanderer

New Zenner

Join Date:
Jun 2006
Location:
Pacific Northwest
Posts:
6
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

I installed GC after ZC calculates shipping. It then appears in a proper place in that it appears as a checkout option, but since this is not how Google wants it, they permit it but do not pat you back for it.

14 Jun 2007, 2:51 PM
#1704
ropu avatar

ropu

Zen Follower

Join Date:
Oct 2006
Location:
argentina
Posts:
243
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

Tick:

Hello everyone,

I've been hacking on Google Checkout for fun (and hopefully profit) and ran into a few questions I was hoping someone could help me out with:1. >

  1. First, I notice that 1.4 is in alpha, but I never saw a gold release for 1.3 (only RC2). Is anyone using 1.3 in production? Has it been stable?
  1. I've modified 1.3rc2 to find existing users based on email address and then link to those in the google_checkout table. (Instead of the previous behavior of creating a new account if a new user who wasn't logged in made a purchase.) Can anyone who knows more about Zen cart than me -- which is probably everyone here -- see any ramifications from this behavior? Has anyone else found a better way to handle it if an existing customer uses Google Checkout without logging in?
  1. The existing Google Checkout module did not subscribe a user to the newsletter if they selected the checkbox on the checkout site. I've added code to do so. Assuming the interest, is the 1.3 release still accepting patches, or should I sit tight and wait for 1.4 before making any major modifications?
  1. There also appears to be a bug in the code to update the number of units sold in the products table. My implementation always adds zero to the count. Is that a known issue, or did I jack up my copy while making these other modifications?Thanks!

Tick

hi, first u are open to push any patch u seem to be necessary. The idea of this contribution is to be a contribution to and from the community! so, go ahead!

regarding v1.3* i wont support it any more, since im working with v1.4 (alpha, yes, but much better and with more functionalities, and alpha because i refactor almost all the code...)

so i would recommend u, if u wanna add some code to the module, do it for v1.4, to avoid having branches that will confuse.

feel free to send suggestions and patches to the support froum for v1.4 here
http://groups.google.com/group/google-checkout-for-zen-cart-mod-support

thx in advance

ropu

14 Jun 2007, 2:53 PM
#1705
ropu avatar

ropu

Zen Follower

Join Date:
Oct 2006
Location:
argentina
Posts:
243
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

MindfulWanderer:

I installed GC after ZC calculates shipping. It then appears in a proper place in that it appears as a checkout option, but since this is not how Google wants it, they permit it but do not pat you back for it.

That issue is because u havent applied the templates

have a look to the INSTALLATION file.

in v1.4 if templates are not applied, the module wont let u go to step 4 (checkout_process)

ropu

14 Jun 2007, 8:01 PM
#1706
timryc01 avatar

timryc01

New Zenner

Join Date:
Jun 2007
Posts:
17
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

Hi,

I've noticed that google checkout doesn't work properly with the big royal mail plugin thats for zen cart. When you have royal mail 1st class setup under the google checkout it shows this error below...

"** Error: Shipping Methods not configured **
rm1stpacketsf (ignored)
rmamsmallpacket (ignored)"

Also in the setup of google checkout it says its not configured properly although it is.. any thoughts on this?

15 Jun 2007, 4:14 AM
#1707
teebo avatar

teebo

Zen Follower

Join Date:
Jun 2007
Posts:
104
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

Does going through google checkout still work with qty amount? I ask this because I checked out with gco and I only had a qty 1 and it didn't go out of stock

15 Jun 2007, 4:59 AM
#1708
chain_man avatar

chain_man

Zen Follower

Join Date:
Dec 2005
Location:
Box Elder, SD
Posts:
375
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

teebo:

Does going through google checkout still work with qty amount? I ask this because I checked out with gco and I only had a qty 1 and it didn't go out of stock

Did your quantity go to zero, but left the status as in stock? If so, you might check your stock>configurations in your admin to see that they are set to do what you expect.

In my store, the product quantity is decremented correctly with gco sales, but I have my configuration set to not change the status to out of stock when the quantity reaches zero.

If neither applies, describe the action you get and the action you expect. If you have any log entries that apply, please include them.

15 Jun 2007, 12:45 PM
#1709
ropu avatar

ropu

Zen Follower

Join Date:
Oct 2006
Location:
argentina
Posts:
243
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

timryc01:

Hi,

I've noticed that google checkout doesn't work properly with the big royal mail plugin thats for zen cart. When you have royal mail 1st class setup under the google checkout it shows this error below...

"** Error: Shipping Methods not configured **
rm1stpacketsf (ignored)
rmamsmallpacket (ignored)"

Also in the setup of google checkout it says its not configured properly although it is.. any thoughts on this?

hi, this error means that u havent configured those shipping providers in the includes/modules/payment/googlecheckout.php class

double check README file. Try using the googlechekkout/shipping_generator/ script to add them

ropu

15 Jun 2007, 6:21 PM
#1710
philldo avatar

philldo

New Zenner

Join Date:
Apr 2007
Posts:
4
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

ropu:

Angel, you should do two things.

First disable the default checkout button,.

in default installation includes/templates/YOUR_TEMPLATE/templates/tpl_shopping_cart_default.php
line 132

Then in the login page you should also add a redirect to index.php?main_page=shopping_cart this will avoid buyer to enter regular checkout through there.

im pretty sure thats all you need to do.

you can also remove from googlecheckout/gcheckout.php line 521 this code

<td align="right" valign="middle" class = "main"> <B><?php echo MODULE_PAYMENT_GOOGLECHECKOUT_TEXT_OPTION ?> </B> </td> ```so **- Or use - **string is not shown > > ropu

You RAWK! I've been bangin' my head trying to figure this out.

15 Jun 2007, 10:22 PM
#1711
seth04 avatar

seth04

New Zenner

Join Date:
Jun 2007
Posts:
10
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

i have isntalled the new 1.4 version of GC. It is giving me an error that says:
Error parsing XML; message from parser is: Invalid value for attribute url in checkout-shopping-cart/checkout-flow-support/merchant-checkout-flow-support/parameterized-urls/parameterized-url: URL contains illegal characters
im guessing that the problem is here somewhere:
<parameterized-urls>
<parameterized-url url="MODULE_PAYMENT_GOOGLECHECKOUT_3RD_PARTY_TRACKING">
<parameters>
<url-parameter name="buyer-id" type="buyer-id" />
<url-parameter name="order-id" type="order-id" />
<url-parameter name="order-subtotal" type="order-subtotal" />
<url-parameter name="order-subtotal-plus-tax" type="order-subtotal-plus-tax" />
<url-parameter name="order-subtotal-plus-shipping" type="order-subtotal-plus-shipping" />
<url-parameter name="order-total" type="order-total" />
<url-parameter name="tax-amount" type="tax-amount" />
<url-parameter name="shipping-amount" type="shipping-amount" />
<url-parameter name="coupon-amount" type="coupon-amount" />
<url-parameter name="coupon-amount" type="coupon-amount" />
<url-parameter name="billing-city" type="billing-city" />
<url-parameter name="billing-region" type="billing-region" />
<url-parameter name="billing-postal-code" type="billing-postal-code" />
<url-parameter name="billing-country-code" type="billing-country-code" />
<url-parameter name="shipping-city" type="shipping-city" />
<url-parameter name="shipping-region" type="shipping-region" />
<url-parameter name="shipping-postal-code" type="shipping-postal-code" />
<url-parameter name="shipping-country-code" type="shipping-country-code" />
</parameters>
</parameterized-url>
</parameterized-urls>
If anybody can see what is wrong please let me know, Thanks in advacne for your help.

http://www.stonecitycollectibles.com

16 Jun 2007, 12:58 AM
#1712
teebo avatar

teebo

Zen Follower

Join Date:
Jun 2007
Posts:
104
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

chain_man:

Did your quantity go to zero, but left the status as in stock? If so, you might check your stock>configurations in your admin to see that they are set to do what you expect.

In my store, the product quantity is decremented correctly with gco sales, but I have my configuration set to not change the status to out of stock when the quantity reaches zero.

If neither applies, describe the action you get and the action you expect. If you have any log entries that apply, please include them.

It did not reset to 0, I have it set to subtract, and as I said in my OP I had only 1, so one order should have made it display out of stock.

16 Jun 2007, 2:00 AM
#1713
chain_man avatar

chain_man

Zen Follower

Join Date:
Dec 2005
Location:
Box Elder, SD
Posts:
375
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

teebo:

It did not reset to 0, I have it set to subtract, and as I said in my OP I had only 1, so one order should have made it display out of stock.

Any messages in your logs that might help? Did the order quantity come back as 1?

Where are you checking the quantity? On the product page? In the Products sold report? Other?

Any other add-ins on your cart?

16 Jun 2007, 2:02 AM
#1714
chain_man avatar

chain_man

Zen Follower

Join Date:
Dec 2005
Location:
Box Elder, SD
Posts:
375
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

seth04:

i have isntalled the new 1.4 version of GC. It is giving me an error that says:
Error parsing XML; message from parser is: Invalid value for attribute url in checkout-shopping-cart/checkout-flow-support/merchant-checkout-flow-support/parameterized-urls/parameterized-url: URL contains illegal characters
im guessing that the problem is here somewhere:
<parameterized-urls>
<parameterized-url url="MODULE_PAYMENT_GOOGLECHECKOUT_3RD_PARTY_TRACKING">
<parameters>
<url-parameter name="buyer-id" type="buyer-id" />
<url-parameter name="order-id" type="order-id" />
<url-parameter name="order-subtotal" type="order-subtotal" />
<url-parameter name="order-subtotal-plus-tax" type="order-subtotal-plus-tax" />
<url-parameter name="order-subtotal-plus-shipping" type="order-subtotal-plus-shipping" />
<url-parameter name="order-total" type="order-total" />
<url-parameter name="tax-amount" type="tax-amount" />
<url-parameter name="shipping-amount" type="shipping-amount" />
<url-parameter name="coupon-amount" type="coupon-amount" />
<url-parameter name="coupon-amount" type="coupon-amount" />
<url-parameter name="billing-city" type="billing-city" />
<url-parameter name="billing-region" type="billing-region" />
<url-parameter name="billing-postal-code" type="billing-postal-code" />
<url-parameter name="billing-country-code" type="billing-country-code" />
<url-parameter name="shipping-city" type="shipping-city" />
<url-parameter name="shipping-region" type="shipping-region" />
<url-parameter name="shipping-postal-code" type="shipping-postal-code" />
<url-parameter name="shipping-country-code" type="shipping-country-code" />
</parameters>
</parameterized-url>
</parameterized-urls>
If anybody can see what is wrong please let me know, Thanks in advacne for your help.

http://www.stonecitycollectibles.com

You will have better luck getting 1.4 version support at: http://groups.google.com/group/google-checkout-for-zen-cart-mod-support/
as indicated in this thread: http://www.zen-cart.com/forum/showthread.php?t=67776

16 Jun 2007, 10:45 AM
#1715
timryc01 avatar

timryc01

New Zenner

Join Date:
Jun 2007
Posts:
17
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

ropu:

hi, this error means that u havent configured those shipping providers in the includes/modules/payment/googlecheckout.php class

double check README file. Try using the googlechekkout/shipping_generator/ script to add them

ropu

Thank you for this, its now working.

One other thing i've noticed... if I have a weight based shipping rules in place then google checkout doesn't take the weight based calculations.. just uses the default over riders.... is this a known limitation? This is based on the table rate calculations.

Thanks

16 Jun 2007, 2:24 PM
#1716
chain_man avatar

chain_man

Zen Follower

Join Date:
Dec 2005
Location:
Box Elder, SD
Posts:
375
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

timryc01:

Thank you for this, its now working.

One other thing i've noticed... if I have a weight based shipping rules in place then google checkout doesn't take the weight based calculations.. just uses the default over riders.... is this a known limitation? This is based on the table rate calculations.

Thanks

Weight based rules should work. If GCO is using the defaults, then there is still a problem. Sometimes it is because there is a time-out when communicating with the shipping provider. Do you see any messages in your logs that might help?

16 Jun 2007, 7:28 PM
#1717
jund avatar

jund

Zen Follower

Join Date:
Sep 2006
Location:
Ruckersville, VA, USA
Posts:
276
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

I respectfully ask... Have I misunderstood from the beginning?
Are Google Checkout and Google Checkout Express two entirely independent modules? RE: google-checkout-zencart-v1.4Alpha and google-checkout-zencart-v1.3RC2

Somehow I have lost my way through this
jund

16 Jun 2007, 11:36 PM
#1718
chain_man avatar

chain_man

Zen Follower

Join Date:
Dec 2005
Location:
Box Elder, SD
Posts:
375
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

jund:

I respectfully ask... Have I misunderstood from the beginning?
Are Google Checkout and Google Checkout Express two entirely independent modules? RE: google-checkout-zencart-v1.4Alpha and google-checkout-zencart-v1.3RC2

Somehow I have lost my way through this
jund

I don't believe there is a Google Checkout Express. At least I haven't heard of one...

The two versions you are refering to are an earlier and later version of the same product. v1.3RC2 is the current stable release. v1.4 is a test version of the same product that includes bug fixes, re-engineering and additional functionality.

If you are confused about the support model, several of us who have been helping support the product thought that supplying support through http://groups.google.com/group/google-checkout-for-zen-cart-mod-support/ for the 1.4 version during testing would leave this thread less cluttered for support of the stable product.

17 Jun 2007, 1:42 AM
#1719
jund avatar

jund

Zen Follower

Join Date:
Sep 2006
Location:
Ruckersville, VA, USA
Posts:
276
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

chain_man,

Your answer was exactly what I needed - thank you.
And, Google Checkout 'Express' is a creation of my own mind - what is left of it :blink:

Thank you, and thank you for not treating me like an idiot.

Sincerely,
jund

17 Jun 2007, 5:52 PM
#1720
teebo avatar

teebo

Zen Follower

Join Date:
Jun 2007
Posts:
104
Plugin Contributions:
0

Re: Google Checkout module for ZC 1.3.x (beta)

Will google checkout use the zen cart coupons? I created a coupon for free shipping, but it didn't work.

I can't make one on the checkout admin either, they only allow dollars/%

I figured there must be a way to deduct all shipping?