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,894

Results 2,701 to 2,720 of 3,921
This thread is locked. New replies are disabled.
22 Sep 2008, 2:33 PM
#2701
melena avatar

melena

New Zenner

Join Date:
Jun 2008
Posts:
71
Plugin Contributions:
0

Google Checkout module for ZC 1.3.x (beta)

unhappyDAVE:

It sounds like you have the button but the link doesn't go to google?
yes, that's exactly what's happening. I triple checked all the files and they are in place only the button doesn't take into GC
thanks,
E

23 Sep 2008, 7:43 PM
#2702
alan_powerbrixx avatar

alan_powerbrixx

New Zenner

Join Date:
Jul 2007
Location:
Durham, NC
Posts:
56
Plugin Contributions:
0

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

Hmmg:

...google checkout only charged $1 shipping. ...

This happened to us using GCO mod 1.4.1beta1 in ZC 1.3.7. We were accidentally offering $1 shipping for FedEx First Overnight! (ouch!)

The fix in this version is to edit the googlecheckout/shipping_methods.php file and comment out (or delete) the entries for the individual methods you do not wish to use in each of the shipping-module-related arrays of methods. This is specific to Google Checkout; deactivate methods you don't want available for Google Checkout, even if you are using them in ZC checkout.

Then go to the admin UI and set reasonable flat-rate defaults for any methods you are using. These are used whenever Google Checkout cannot communicate with the shipping module to get a live calculation.

The setup may vary a bit in later versions of the mod. In those versions, you may be able to do it all in the admin UI. But in 1.4.1beta1, you have to edit the shipping_methods.php.

23 Sep 2008, 9:15 PM
#2703
coolcarpartsonline avatar

coolcarpartsonline

Totally Zenned

Join Date:
Feb 2008
Posts:
1,386
Plugin Contributions:
0

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

Hello
Iam sure the answer is somewhere in this post but its too long and can't find what I want.

I Installed this mod on my site. Iam trying to get the shipping rates to be calcualted based on my zen cart setup for the shipping cost. The shipping rates are calculated using a clone of perunitweight module. Iam trying to access this page http://www.coolcarpartsonline.com/googlecheckout/shipping_generator/ on my site to set the value but message pop up that require username and password. I tried my google acount username and password and the ftp access but No Luck.

Can anyone tell me what Iam doing wrong. I get gttp 500 error

1 Oct 2008, 2:14 AM
#2704
darthduckie avatar

darthduckie

New Zenner

Join Date:
Sep 2008
Posts:
1
Plugin Contributions:
0

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

We have the most recent version of ZenCart and the Google Checkout module set up on our site but we're having a problem with the zencart confirmation emails.

  1. Google Checkout is our only payment option. We've removed the Zencart check out options both in the shopping cart and the menu along the top using these instructions: http://www.zen-cart.com/forum/showthread.php?t=94664
  2. We are able to process transactions both in sandbox and production modes. As a guest I can add an item to the cart, go to the shopping cart, checkout using Google checkout, create an account with Google checkout, run the transactions, return to Zen Cart and print a confirmation page with the order number correctly populated.
  3. Transactions are appearing in both Google Checkout and the Zen Cart Admin. Inventory is subtracting correctly.
  4. A new customer account is being created based on the information entered into Google checkout.
  5. Google Checkout is sending confirmation emails to both the customer and the admin.

However, zen cart is:

  1. Not sending an email to the customer.
  2. Not sending a confirmation email to the admin.
  3. Not send an email confirming the account creation.

I can email a yahoo address from the admin console and it shows up in the email archives, so I think the email configuration is set up properly.

If I try to log in with the new account that was created based on the Google transaction, zen cart will send me the password and I can log in using it.

Transactions are going through so I think Google is communicating properly with ZenCart.

I checked and the "ZenCart should send emails: is set to true in the Google Checkout mod.

Any ideas about what my next step should be to troubleshoot this?

I've read this: http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Email_Problems
but I can get email to work I just can't get it to respond to a new order.

Any help would be much appreciated.
Cathy

9 Oct 2008, 8:38 AM
#2705
candleman avatar

candleman

Zen Follower

Join Date:
May 2008
Posts:
183
Plugin Contributions:
0

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

I have now switched hosting to TerraNetwork (Yay!:clap:) and they installed Zencart for me. I have copied my updated version over and tested it thoroughly before I transferred my domain away from fasthosts :frusty:. I have also added the Reward Points Mod and agin tested it before going live.
I have now transferred my domain to TerraNetwork (In last 24hrs) and the Google checkout MOD is causing a few issues.
If I set it to work, the whole of the right hand boxes disappear from the site and there is no Google checkout button on screen.
If I set google payment to false, the column reappears.
At first I though it was a GC problem, but it did work before the domain transferred across.
The only thing that has changed is TerraNetwork altered my Config files (Includes & Admin Includes).

Admin/Includes/Configure
define('HTTP_SERVER', 'http://www.candlewithcare.co.uk');
define('HTTPS_SERVER', 'https://stargate.terrassl.net/candlewithcare.co.uk');
define('HTTP_CATALOG_SERVER', 'http://www.candlewithcare.co.uk');
define('HTTPS_CATALOG_SERVER', 'https://stargate.terrassl.net/candlewithcare.co.uk');

// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'true');
define('ENABLE_SSL_ADMIN', 'true');

Includes/configure
define('HTTP_SERVER', 'http://www.candlewithcare.co.uk');
define('HTTPS_SERVER', 'https://stargate.terrassl.net/candlewithcare.co.uk');

My question is, is this an SSL problem or do you think it is Google need repointing to the new hosting area (Ie it will sort itself out in next 48hrs?) - I have waited a couple of days and it still doesn't work so it's either an SSL problem or a GC problem.........anyone got any ideas?

14 Oct 2008, 11:38 AM
#2706
candleman avatar

candleman

Zen Follower

Join Date:
May 2008
Posts:
183
Plugin Contributions:
0

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

I have found that if the product is virtual then the button appears.
However Anythnig involving shipping the button disappears.
One thing I have noticed is that in the Admin/payment/GC option I cannot set the Default Values for Real Time Shipping Rates. there is no box to enter any information in?
there is a message underneath saying
"No merchant calculation shipping selected"

Can anyone advise?

14 Oct 2008, 4:18 PM
#2707
keylesslocks avatar

keylesslocks

Zen Follower

Join Date:
May 2007
Posts:
267
Plugin Contributions:
0

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

We have been successfully using GC for over a year now... recently we
had to fix a nameserver issue from our host. since then when anyone
tries to checkout, even my personal account from the USA, it says:
Midwest Appliance Parts does not ship to this address via Google
Checkout
Is there some kind of allowed IP for transactions?
Any ideas? I really need to get this fixed... we use Zen Cart.
This is sooo frustrating!
thanks for anyone who responds

16 Oct 2008, 6:34 AM
#2708
candleman avatar

candleman

Zen Follower

Join Date:
May 2008
Posts:
183
Plugin Contributions:
0

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

Terranetworks support have just emailed me with this.

Looks like your POST variable is missing.

Line 18 is: foreach($_POST['code'] as $codekey => $codename) {

.. and the error message indicates that no $_POST['code'] exists

You should check whatever script sends the POST variables to the Google checkout scripts to ensure it's correctly set up.
Is there anyone who could possibly help point me in the right direction with this?

20 Oct 2008, 3:00 PM
#2709
candleman avatar

candleman

Zen Follower

Join Date:
May 2008
Posts:
183
Plugin Contributions:
0

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

I am still tearing my hair out with this problem and getting nowhere fast.

Would anyone be able to look at this for me for a "fee"?

20 Oct 2008, 5:45 PM
#2710
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

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

CandleMan:

I have found that if the product is virtual then the button appears.
However Anythnig involving shipping the button disappears.
One thing I have noticed is that in the Admin/payment/GC option I cannot set the Default Values for Real Time Shipping Rates. there is no box to enter any information in?
there is a message underneath saying
"No merchant calculation shipping selected"

Can anyone advise?

Well, I was going to help you troubleshoot but I cannot create an account on your site and there is no shipping estimate option in my shopping cart. What shipping types do you offer? How come there is no create account option?

20 Oct 2008, 7:06 PM
#2711
candleman avatar

candleman

Zen Follower

Join Date:
May 2008
Posts:
183
Plugin Contributions:
0

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

BlessIsaacola:

Well, I was going to help you troubleshoot but I cannot create an account on your site and there is no shipping estimate option in my shopping cart. What shipping types do you offer? How come there is no create account option?thank you for taking the time to help me. there is no choice for shipping, just a fixed charge of .75 per item plus £1.25 order handling fee. the log in button is top left and is there, i had a new customer today?
Posted via Mobile Device

20 Oct 2008, 7:10 PM
#2712
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

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

BlessIsaacola is quite correct ..there is login link but
when arriving there only option is for existing members
to login...no option to create an account...
:shocking:

20 Oct 2008, 7:15 PM
#2713
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

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

CandleMan:

thank you for taking the time to help me. there is no choice for shipping, just a fixed charge of .75 per item plus £1.25 order handling fee. the log in button is top left and is there, i had a new customer today?
Posted via Mobile Device

Is this the site in question: https://stargate.terrassl.net/candlewithcare.co.uk/index.php?main_page=login ?

I do not see a way for me to create an account.

Also, you will not see option to set default shipping for merchant calculation because you currently do not offer any calculated shipping (flat rate doesn't count).

Is you flat rate shipping restricted to a zone?

What do you currently have in your setting for responsehandler.php on the google side?

Have you tested things in sandbox (where you don't require SSL) I am not sure that your shared ssl is an approved ssl provider. You might want to check google's list.

SSL certificate is so cheap that there should really be no reason for an ecommerce store to still be using shared ssl.

20 Oct 2008, 10:23 PM
#2714
candleman avatar

candleman

Zen Follower

Join Date:
May 2008
Posts:
183
Plugin Contributions:
0

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

my shipping sorry is per item.
if i enable google checkout then the account creation disappears?
i have since disabled it.
hosting is with terranetwork, I just moved fromfasthosts.
response handler info - is that in the googlecheckout folder?

21 Oct 2008, 1:59 AM
#2715
dscott1966 avatar

dscott1966

Zen Follower

Join Date:
Apr 2005
Posts:
298
Plugin Contributions:
0

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

Hello
I have got This up and running but i want to offer GCO as an option after the go to checkout screen NOT before, i want it like paypal, is there a way of doing this, i don't care if google say it should be at the front i just want all the payments option all one one page. The reason being i have other mods installed like gift wrapping, they cannot choose gift wrapping because it goes right to GC. Here is how im looking to do it.

  1. that a customer puts a product in the cart and hits add to cart then clicks...

  2. goto checkout ( with no GCO button that is there now)

  3. Welcome, Please Sign In page has it on too i want if off here,

  4. then the person from wherever in the world has to sign up to the website then gets the cart contents page up ( again i want GCO off this page) clicks goto checkout gets the shipping information page up then clicks o0nto the next page which is payment information, Now this is where i want GCO to be....few!

Can this be done if so how???

21 Oct 2008, 3:00 AM
#2716
juliartz avatar

juliartz

New Zenner

Join Date:
Oct 2007
Posts:
53
Plugin Contributions:
0

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

**Ok, not sure if I am on the correct thread or not, so please excuse me if I am posting in error.
Here's my issue: I had a sale on one of my site and they used Google Checkout to purchase. I get an email from GC telling me of the sale, I use the link in the email to process order. I go into my site, and find that there is absolutely no record of the sale. No customer name, no record of any item being purchased. A few hours after processing the charge, I get another email from GC telling me about an error in the API callback. I discovered that I left /MY_SHOP/ in it. I removed it, saved the changes.
But today, I still show no record of a sale in my store, or items purchased. So, a friend does a test buy. They buy an item, I get notified of the sale, but have to wait the allotted time GC mandates to give the buyer a chance to cancel the order. After the allotted time, I process the charge. An hour or so goes by, I get no notification of an API callback error, so I assume that the correction was right. But, still no sale is showing in my store, no customer name, no items purchased. What am I doing wrong? Why does it not indicate a sale? Why do I not have a customer info or products sold in my admin reports? This makes it very hard to be able to keep track of sales. Any help would be appreciated.

Also, would the new version of GC correct this issue?**

21 Oct 2008, 6:32 AM
#2717
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

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

juliartz:

**Ok, not sure if I am on the correct thread or not, so please excuse me if I am posting in error.
Here's my issue: I had a sale on one of my site and they used Google Checkout to purchase. I get an email from GC telling me of the sale, I use the link in the email to process order. I go into my site, and find that there is absolutely no record of the sale. No customer name, no record of any item being purchased. A few hours after processing the charge, I get another email from GC telling me about an error in the API callback. I discovered that I left /MY_SHOP/ in it. I removed it, saved the changes.
But today, I still show no record of a sale in my store, or items purchased. So, a friend does a test buy. They buy an item, I get notified of the sale, but have to wait the allotted time GC mandates to give the buyer a chance to cancel the order. After the allotted time, I process the charge. An hour or so goes by, I get no notification of an API callback error, so I assume that the correction was right. But, still no sale is showing in my store, no customer name, no items purchased. What am I doing wrong? Why does it not indicate a sale? Why do I not have a customer info or products sold in my admin reports? This makes it very hard to be able to keep track of sales. Any help would be appreciated.

Also, would the new version of GC correct this issue?**

What error do you have under Tools - Integration Settings when you login to your GCO account?

What errors are you showing in the log file?

21 Oct 2008, 6:39 AM
#2718
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

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

dscott1966:

Hello
I have got This up and running but i want to offer GCO as an option after the go to checkout screen NOT before, i want it like paypal, is there a way of doing this, i don't care if google say it should be at the front i just want all the payments option all one one page. The reason being i have other mods installed like gift wrapping, they cannot choose gift wrapping because it goes right to GC. Here is how im looking to do it.

  1. that a customer puts a product in the cart and hits add to cart then clicks...

  2. goto checkout ( with no GCO button that is there now)

  3. Welcome, Please Sign In page has it on too i want if off here,

  4. then the person from wherever in the world has to sign up to the website then gets the cart contents page up ( again i want GCO off this page) clicks goto checkout gets the shipping information page up then clicks o0nto the next page which is payment information, Now this is where i want GCO to be....few!

Can this be done if so how???

Removing GCO button is the easy part. All you have to do is comment out the GCO from the 3 template files that you're currently using.

As far as offering GCO as payment option like Paypal currently works, it's a tricky deal because when this has been done in the past, the radio button option send the customer to google checkout but doesn't charge anything so they shop for free.

This issue was discussed way earlier in the life of this mod that has now been abandoned.

You can also check this group: http://groups.google.com/group/google-checkout-for-zen-cart-mod-support?hl=en

21 Oct 2008, 6:42 AM
#2719
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

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

CandleMan:

my shipping sorry is per item.
if i enable google checkout then the account creation disappears?
i have since disabled it.
hosting is with terranetwork, I just moved fromfasthosts.
response handler info - is that in the googlecheckout folder?

It sounds like your installation is messed up. Can you post your code for tpl_login_default.php here to see why that's messing up your create account page. Alternatively you can compare yours to the code below using winmerge or beyond and compare:

<?php
/**
 * Page Template
 *
 * @package templateSystem
 * @copyright Copyright 2003-2007 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_login_default.php 5926 2007-02-28 18:15:39Z drbyte $
 * @version $Id: tpl_login_default.php 5936 2007-12-14 18:15:39Z ropu - Added Google Checkout $
 */
?>
<div class="centerColumn" id="loginDefault">

<h1 id="loginDefaultHeading"><?php echo HEADING_TITLE; ?></h1>

<?php if ($messageStack->size('login') > 0) echo $messageStack->output('login'); ?>


<?php if ( USE_SPLIT_LOGIN_MODE == 'True' || $ec_button_enabled) { ?>
<!--BOF PPEC split login- DO NOT REMOVE-->
<fieldset class="floatingBox back">
<legend><?php echo HEADING_NEW_CUSTOMER_SPLIT; ?></legend>
<?php // ** BEGIN PAYPAL EXPRESS CHECKOUT ** ?>
<?php if ($ec_button_enabled) { ?>
<div class="information"><?php echo TEXT_NEW_CUSTOMER_INTRODUCTION_SPLIT; ?></div>

  <div class="center"><?php require(DIR_FS_CATALOG . DIR_WS_MODULES . 'payment/paypal/tpl_ec_button.php'); ?></div>
<hr />
<?php echo TEXT_NEW_CUSTOMER_POST_INTRODUCTION_DIVIDER; ?>
<?php } ?>
<?php // ** END PAYPAL EXPRESS CHECKOUT ** ?>
<div class="information"><?php echo TEXT_NEW_CUSTOMER_POST_INTRODUCTION_SPLIT; ?></div>

<?php echo zen_draw_form('create', zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL')); ?>
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_CREATE_ACCOUNT, BUTTON_CREATE_ACCOUNT_ALT); ?></div>
</form>
</fieldset>

<fieldset class="floatingBox forward">
<legend><?php echo HEADING_RETURNING_CUSTOMER_SPLIT; ?></legend>
<div class="information"><?php echo TEXT_RETURNING_CUSTOMER_SPLIT; ?></div>

<?php echo zen_draw_form('login', zen_href_link(FILENAME_LOGIN, 'action=process', 'SSL')); ?>
<label class="inputLabel" for="login-email-address"><?php echo ENTRY_EMAIL_ADDRESS; ?></label>
<?php echo zen_draw_input_field('email_address', '', 'size="18" id="login-email-address"'); ?>
<br class="clearBoth" />

<label class="inputLabel" for="login-password"><?php echo ENTRY_PASSWORD; ?></label>
<?php echo zen_draw_password_field('password', '', 'size="18" id="login-password"'); ?>
<?php echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']); ?>
<br class="clearBoth" />

<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_LOGIN, BUTTON_LOGIN_ALT); ?></div>
<div class="buttonRow back important"><?php echo '<a href="' . zen_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a>'; ?></div>
</form>
</fieldset>
<br class="clearBoth" />
 <?php
  // ** GOOGLE CHECKOUT **
    include(DIR_WS_MODULES . 'show_google_components.php');  
  // ** END GOOGLE CHECKOUT **
 ?>

<!--EOF PPEC split login- DO NOT REMOVE-->
<?php } else { ?>
<!--BOF normal login-->
<?php
  if ($_SESSION['cart']->count_contents() > 0) {
?>
<div class="advisory"><?php echo TEXT_VISITORS_CART; ?></div>
<?php
  }
?>
<?php echo zen_draw_form('login', zen_href_link(FILENAME_LOGIN, 'action=process', 'SSL')); ?>
<fieldset>
<legend><?php echo HEADING_RETURNING_CUSTOMER; ?></legend>

<label class="inputLabel" for="login-email-address"><?php echo ENTRY_EMAIL_ADDRESS; ?></label>
<?php echo zen_draw_input_field('email_address', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_email_address', '40') . ' id="login-email-address"'); ?>
<br class="clearBoth" />

<label class="inputLabel" for="login-password"><?php echo ENTRY_PASSWORD; ?></label>
<?php echo zen_draw_password_field('password', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_password') . ' id="login-password"'); ?>
<br class="clearBoth" />
<?php echo zen_draw_hidden_field('securityToken', $_SESSION['securityToken']); ?>
</fieldset>

<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_LOGIN, BUTTON_LOGIN_ALT); ?></div>
<div class="buttonRow back important"><?php echo '<a href="' . zen_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a>'; ?></div>
</form>
<br class="clearBoth" />
 <?php
  // ** GOOGLE CHECKOUT **
    include(DIR_WS_MODULES . 'show_google_components.php');  
  // ** END GOOGLE CHECKOUT **
 ?>

<?php echo zen_draw_form('create_account', zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'), 'post', 'onsubmit="return check_form(create_account);"') . zen_draw_hidden_field('action', 'process') . zen_draw_hidden_field('email_pref_html', 'email_format'); ?>
<fieldset>
<legend><?php echo HEADING_NEW_CUSTOMER; ?></legend>

<div class="information"><?php echo TEXT_NEW_CUSTOMER_INTRODUCTION; ?></div>

<?php require($template->get_template_dir('tpl_modules_create_account.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_create_account.php'); ?>

</fieldset>

<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_SUBMIT, BUTTON_SUBMIT_ALT); ?></div>
</form>
<!--EOF normal login-->
<?php } ?>
</div>

You might want to read the readme and installation file as well because there are specific instructions that you want to make sure you've taken into consideration.

21 Oct 2008, 8:56 AM
#2720
candleman avatar

candleman

Zen Follower

Join Date:
May 2008
Posts:
183
Plugin Contributions:
0

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

For some reason the googlecheckout.php file in the /includes/modules/payment knocked out all the logging in when Google checkout was enabled in admin. This file was from the reward points module. I have removed it and replaced with the "old file" and it is working again.

If you log in and add a gift voucher into your cart, the GC button appears, add anything else then it vanishes along with the right hand sideboxes.

I checked the login default and it is an exact match to yours.
I have double checked the installation of all the mods (started from scratch and did each mod alteration - then checked against my live files) and all seem ok.

I am going to remove the ssl now and see if that changes anything.