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

Google Checkout module for ZC 1.3.x (beta)

Locked

Started by jacob13moon on 26 Sep 2006, 8:09 PM · Views: 1,101,465

Results 221 to 240 of 3,921
This thread is locked. New replies are disabled.
16 Nov 2006, 5:22 PM
#221
colosports avatar

colosports

Zen Follower

Join Date:
May 2005
Location:
Tampa, FL
Posts:
194
Plugin Contributions:
1

Google Checkout module for ZC 1.3.x (beta)

blackinches:

i don't get the google checkout button for checkout.

Did you rename the YOUR_TEMPLATE folder

The Lord gave and the Lord has taken away; may the name of the Lord be praised (Job 1:21 NIV)

16 Nov 2006, 5:41 PM
#222
colosports avatar

colosports

Zen Follower

Join Date:
May 2005
Location:
Tampa, FL
Posts:
194
Plugin Contributions:
1

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

If a customer tries to select Google Checkout as payment from the Step 2 - Payment Page, it will act like they were paying by check.

To fix this, you have to edit templates\tpl_checkout_confirmation_default.php page:
At the bottom of the page, replace the code ```

<?php echo zen_draw_form('checkout_confirmation', $form_action_url, 'post', 'id="checkout_confirmation" onsubmit="submitonce();"'); if (is_array($payment_modules->modules)) { echo $payment_modules->process_button(); } ?> <div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_CONFIRM_ORDER, BUTTON_CONFIRM_ORDER_ALT, 'name="btn_submit" id="btn_submit"') ;?></div> </form> <div class="buttonRow back"><?php echo TITLE_CONTINUE_CHECKOUT_PROCEDURE . '<br />' . TEXT_CONTINUE_CHECKOUT_PROCEDURE; ?></div> </div> ```

with the following ```

<!----------- GOOGLE CHECKOUT ---------------> <?php if ($GLOBALS[$class]->title == 'GoogleCheckout') { ?>
  	<br class="clearBoth" />
	<div class="buttonRow forward">
	<?php  include(DIR_WS_MODULES . 'show_google_components.php');  ?>
	</div>
<?php } else { ?> <?php echo zen_draw_form('checkout_confirmation', $form_action_url, 'post', 'id="checkout_confirmation" onsubmit="submitonce();"'); if (is_array($payment_modules->modules)) { echo $payment_modules->process_button(); } ?> <div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_CONFIRM_ORDER, BUTTON_CONFIRM_ORDER_ALT, 'name="btn_submit" id="btn_submit"') ;?></div> </form> <div class="buttonRow back"><?php echo TITLE_CONTINUE_CHECKOUT_PROCEDURE . '<br />' . TEXT_CONTINUE_CHECKOUT_PROCEDURE; ?></div> <?php } ?> <!----------- GOOGLE CHECKOUT ---------------> </div> ```

Attach is the modify file.
This file should be copy to
/includes/templates/YOUR_TEMPLATE/templates folder

The Lord gave and the Lord has taken away; may the name of the Lord be praised (Job 1:21 NIV)

16 Nov 2006, 7:00 PM
#223
jerkynet avatar

jerkynet

New Zenner

Join Date:
Nov 2006
Posts:
94
Plugin Contributions:
0

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

Colo......

Can you tell me if the 1.0.4 should now work to pay for gift certificates? Or if not, will it ever be able to deal with them?

I setup GCerts a few days ago, was pulling my hair out trying to figure out what I had done wrong, flipped over to pay by paypal, and all was fine.

I assume this is something to do with GC not forcing a login prior to checkout, dunno.

I did test by logging into ZC first, then buy a GCert pay by GC, left with no GC in que, no email back to cust with GC number, etc....

My suspicion is this may not be an "easy" one with the way GC wants to work?

Thoughts?

Second question......if the above is out, then is it possible to setup products to only allow specific method of payment? ie; if cust. buys a GCert, they are only allowed to checkout with other than GC?

Dave.......

16 Nov 2006, 9:48 PM
#224
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)

colosports:

If a customer tries to select Google Checkout as payment from the Step 2 - Payment Page, it will act like they were paying by check.

To fix this, you have to edit templates\tpl_checkout_confirmation_default.php page:
At the bottom of the page, replace the code ```

<?php echo zen_draw_form('checkout_confirmation', $form_action_url, 'post', 'id="checkout_confirmation" onsubmit="submitonce();"'); if (is_array($payment_modules->modules)) { echo $payment_modules->process_button(); } ?> <div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_CONFIRM_ORDER, BUTTON_CONFIRM_ORDER_ALT, 'name="btn_submit" id="btn_submit"') ;?></div> </form> <div class="buttonRow back"><?php echo TITLE_CONTINUE_CHECKOUT_PROCEDURE . '<br />' . TEXT_CONTINUE_CHECKOUT_PROCEDURE; ?></div> </div> ``` > > with the following ``` <!----------- GOOGLE CHECKOUT ---------------> <?php if ($GLOBALS[$class]->title == 'GoogleCheckout') { ?> <br class="clearBoth" /> <div class="buttonRow forward"> <?php include(DIR_WS_MODULES . 'show_google_components.php'); ?> </div> <?php } else { ?> <?php echo zen_draw_form('checkout_confirmation', $form_action_url, 'post', 'id="checkout_confirmation" onsubmit="submitonce();"'); if (is_array($payment_modules->modules)) { echo $payment_modules->process_button(); } ?> <div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_CONFIRM_ORDER, BUTTON_CONFIRM_ORDER_ALT, 'name="btn_submit" id="btn_submit"') ;?></div> </form> <div class="buttonRow back"><?php echo TITLE_CONTINUE_CHECKOUT_PROCEDURE . '<br />' . TEXT_CONTINUE_CHECKOUT_PROCEDURE; ?></div> <?php } ?> <!----------- GOOGLE CHECKOUT ---------------> </div> ``` > > > Attach is the modify file. > This file should be copy to > /includes/templates/YOUR_TEMPLATE/templates folder

Is the GoogleCheckout button suppose to be on step 2 as well where credit card, pay ipn and other payments are listed? I do not have that button on my page.

Thanks!

16 Nov 2006, 10:08 PM
#225
blackinches avatar

blackinches

New Zenner

Join Date:
Nov 2006
Posts:
43
Plugin Contributions:
0

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

colosports:

Did you rename the YOUR_TEMPLATE folder

i did not rename the your_template folder? it was a fresh install of zen cart and i just copied the google checkout files as instructed.

17 Nov 2006, 2:14 AM
#226
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)

Does anyone know which file is trying to access > /admin/googlecheckout/responsehandler.php? The install pack does not include any /admin/googlecheckout folder... there are errors in the log stating the about reference cannot be found.

Help please!

17 Nov 2006, 2:29 AM
#227
justwade avatar

justwade

Zen Follower

Join Date:
Oct 2005
Posts:
206
Plugin Contributions:
0

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

I very much want to install this mod but have a few questions.

As I understand this, Google Checkout will bypass Zen's checkout system.

Will the customer still be regulated by checking off on "Terms and Conditions" or Privacy if we choose our store that way? This is very important to some stores.

I also would like to follow up with a repeated question- Is this working with the Gift Cert.?

Justwade
Zen 1.5.5f
Zen 1.3.9h*, Zen 1.27 + (did that, done with that)*

17 Nov 2006, 2:41 AM
#228
blackinches avatar

blackinches

New Zenner

Join Date:
Nov 2006
Posts:
43
Plugin Contributions:
0

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

is there anything specific that i have to rename the YOUR_TEMPLATE folder into?

17 Nov 2006, 3:16 AM
#229
justwade avatar

justwade

Zen Follower

Join Date:
Oct 2005
Posts:
206
Plugin Contributions:
0

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

Are you using a template overide system? If not you should and do it first before proceeding. You can name it anything you like such as "custom_template", or "whatever_you_want".

And use this template system when ever you make changes to files such as this mod would require.

If you need more info on templates, here is a place to start;

https://www.zen-cart.com/tutorials/index.php?article=232

Justwade
Zen 1.5.5f
Zen 1.3.9h*, Zen 1.27 + (did that, done with that)*

17 Nov 2006, 3:48 AM
#230
blackinches avatar

blackinches

New Zenner

Join Date:
Nov 2006
Posts:
43
Plugin Contributions:
0

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

but if i weren't using a template override system, would i have to rename the YOUR_TEMPLATE folder for google checkout to work?

17 Nov 2006, 4:02 AM
#231
justwade avatar

justwade

Zen Follower

Join Date:
Oct 2005
Posts:
206
Plugin Contributions:
0

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

Well, beings I have not installed this yet, I can not properly answer you. But it sounds as if they are reccomending you use the overide system.

And therefore, "yes", you need to have a template override system to address the template name for > YOUR_TEMPLATE folder to make this work.

Justwade
Zen 1.5.5f
Zen 1.3.9h*, Zen 1.27 + (did that, done with that)*

17 Nov 2006, 5:06 AM
#232
colosports avatar

colosports

Zen Follower

Join Date:
May 2005
Location:
Tampa, FL
Posts:
194
Plugin Contributions:
1

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

blackinches:

but if i weren't using a template override system, would i have to rename the YOUR_TEMPLATE folder for google checkout to work?
The default override template is classic.
If you are not using a custom templete, rename YOUR_TEMPLATE to classic and copy it to your server. Also make sure your read the README file that was included with the mod. Installation and instructions section are in the README file.

The Lord gave and the Lord has taken away; may the name of the Lord be praised (Job 1:21 NIV)

17 Nov 2006, 5:10 AM
#233
colosports avatar

colosports

Zen Follower

Join Date:
May 2005
Location:
Tampa, FL
Posts:
194
Plugin Contributions:
1

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

Google Checkout will not work with Gift Certs.
I don't think Gift Cert will be added anytime in the near future.

The Lord gave and the Lord has taken away; may the name of the Lord be praised (Job 1:21 NIV)

17 Nov 2006, 5:14 AM
#234
colosports avatar

colosports

Zen Follower

Join Date:
May 2005
Location:
Tampa, FL
Posts:
194
Plugin Contributions:
1

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

BlessIsaacola:

Is the GoogleCheckout button suppose to be on step 2 as well where credit card, pay ipn and other payments are listed? I do not have that button on my page.

Thanks!
Google Checkout should be an radio option on Step 2. It functions similar to Check payment. Installing tpl_checkout_confirmation_default.zip will add a Google Checkout button on Step 3 and force customers to go to Google Checkout cart to complete the order.

The Lord gave and the Lord has taken away; may the name of the Lord be praised (Job 1:21 NIV)

17 Nov 2006, 5:28 AM
#235
justwade avatar

justwade

Zen Follower

Join Date:
Oct 2005
Posts:
206
Plugin Contributions:
0

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

Google Checkout should be an radio option on Step 2. It functions similar to Check payment. Installing tpl_checkout_confirmation_default.zip will add a Google Checkout button on Step 3 and force customers to go to Google Checkout cart to complete the order.

Your answer allows me to believe that our store Terms would need to be checked off if we have it set up that way.

I asked this earlier because I saw another Zen Cart store and its Google Checkout button was on the Shopping Cart page. This made me assume you could bypass all the Zen checkout steps from 1 -3.

I am more intrigued to start the process.

Justwade
Zen 1.5.5f
Zen 1.3.9h*, Zen 1.27 + (did that, done with that)*

17 Nov 2006, 6:15 AM
#236
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)

colosports:

Google Checkout should be an radio option on Step 2. It functions similar to Check payment. Installing tpl_checkout_confirmation_default.zip will add a Google Checkout button on Step 3 and force customers to go to Google Checkout cart to complete the order.

When using this option, can the customer select a different shipping option and Googlecheckout will honor it? For example if the customer select fedex which is not support with the standard googlecheckout will they be charge fedex shipping cost or the flat rate, table or per item which googlecheckout supports?

Thanks!

17 Nov 2006, 1:46 PM
#237
jerkynet avatar

jerkynet

New Zenner

Join Date:
Nov 2006
Posts:
94
Plugin Contributions:
0

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

Regarding Gift Certs.....kind of figured that was going to be a no go....so on to part II of my question....

Is there anyway to setup catagories or product level to ONLY allow a certain payment method, ie; NOT GOOGLE for the gift certs?

Seems this would be doable, been looking for the best way to attack this, the gift cert issue is going to keep me off google, which is a major bummer..........

Seems like if we had something upfront in cats, prod, or maybe zones? that shouldn't be a biggy to only offer Google if there are no "non-google" items in the cart?

Thoughts?

Dave.......

17 Nov 2006, 6:16 PM
#238
alik avatar

alik

Zen Follower

Join Date:
Mar 2006
Posts:
126
Plugin Contributions:
0

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

what was the error in responsehandler.php ??

18 Nov 2006, 5:18 AM
#239
jsohler avatar

jsohler

New Zenner

Join Date:
Nov 2005
Posts:
12
Plugin Contributions:
0

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

This is not meant as a cross-post, but I would like some feedback on whether or not my limited understanding of Google Checkout and how it might relate to JROX Affiliate Manager or IDev Affiliate is accurate or not.

Here's my post...
http://www.zen-cart.com/forum/showthread.php?t=51485

It seems that the people that might be knowledgeable are participating in this thread.

Thank you in advance.

Sincerely,

Jeff Sohler
EnrichmentUnlimited.com

18 Nov 2006, 6:05 AM
#240
narsaw avatar

narsaw

New Zenner

Join Date:
May 2006
Posts:
38
Plugin Contributions:
0

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

Installed the latest version of this module (1.0.4). Seems to somewhat work. I am sure the error is my mistake.

Here is what I see. When an item is placed into my shopping cart. See an icon (button) to checkout with Google. If I click on the button it takes me to checkout via the Google Sandbox.

However, If I do not click on the Google button but click on Zen's "Go to Checkout" I Select the shipping method (Step 1), then click on "Continue Checkout", which brings me to Step 2 (Payment Information). The only options I see there is Paypal, Check or Money Order and Cod. NO GoogleCheckout option????

I downloaded unzipped and uploaded the "tpl_checkout_confirmation_default" from the "tpl_checkout_confirmation_default.zip" file.

Why isn't the Google RADIO button showing up for customer selection??

Thanks,
narsaw

Zen Cart 1.3.0.1
Database Patch Level: 1.3.0.1

PC @ppliances