Quote Originally Posted by colosports View Post
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
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
Code:
<!----------- 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!