The following fix is included in v1.3.9, and should work with all v1.3.x versions:
Change the /includes/modules/pages/checkout_confirmation/jscript_main.php to the following:```
<?php
/**
* jscript_main
*
* @package page
* @copyright Copyright 2003-2010 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: jscript_main.php 15536 2010-02-20 06:11:54Z drbyte $
*/
?>
<script language="javascript" type="text/javascript"><!--
var submitter = null;
function popupWindow(url) {
window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=450,height=320,screenX=150,screenY=150,top=150,left=150')
}
function couponpopupWindow(url) {
window.open(url,'couponpopupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=450,height=320,screenX=150,screenY=150,top=150,left=150')
}
function submitFunction($gv,$total) {
if ($gv >=$total) {
submitter = 1;
}
}
function submitonce()
{
var button = document.getElementById("btn_submit");
button.style.cursor="wait";
button.disabled = true;
setTimeout('button_timeout()', 4000);
return false;
}
function button_timeout() {
var button = document.getElementById("btn_submit");
button.style.cursor="pointer";
button.disabled = false;
}
//--></script>
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.