My site has been running well for several months but for the last few weeks I get an error when the customer clicks the "done" button right at the end of the sale. The sale does go through though, the order completes successfully, the customer gets their confirmation email but instead of returning to the website after the sale I get a blank browser window showing a little script error down at the bottom of the browser.
The only major change I can remember making was to the contact us brochure page. I removed the form from the layout and changed it to a simple mailto type page with information instead of a proper form. I cant imagine this would have caused the problem (But actinic moves in mysterious ways).
The code from the last page that has the DONE button on it is shown below from a test order I put through.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Receipt</title><BASE HREF="https://www.ewetsuits.com/acatalog/"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="MSThemeCompatible" content="yes" /><link href="actinic.css" rel="stylesheet" type="text/css"><script language="javascript" type="text/javascript" src="actiniccore.js"></script><script language="javascript" type="text/javascript" src="actinicextras.js"></script><script language="javascript" type="text/javascript">
<!--
saveReferrer();
// -->
</script></head><body><form method="post" action="https://www.ewetsuits.com/cgi-bin/os000088.pl"><input type="hidden" name="RANDOM" value="0.309785290694894" /> <INPUT TYPE=HIDDEN NAME=REFPAGE VALUE="http://www.ewetsuits.com/acatalog/Spraydecks-1.html">
<table border="0" cellpadding="5" cellspacing="2" width="600" align="center"><tr><td class="cartheading"> <table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td><strong>This is your receipt</strong></td><td align="right"><strong>This is not a tax invoice</strong></td></tr></table></td></tr><tr><td> Print this page and keep it for your records. If you need to contact us, refer to the "Order Number" below. <br /><br /> <br /><table border="0" cellpadding="2" cellspacing="0"><tr><td valign="top"> Customer Services Manager<BR> Lomo UK<BR> 195 Crow Road<BR> Glasgow<BR> UK<BR> G11 7PD<BR> United Kingdom<BR></td><td valign="top"> Phone 0141 334 7271<BR> Fax 07092 007159<BR> Email: <A HREF="MAILTO:admin@ewetsuits.com">admin@ewetsuits.com</A><BR> URL: <A HREF="http://www.ewetsuits.com">www.ewetsuits.com</A><BR></td></tr></table><br /><br /><table border="0" cellpadding="5" cellspacing="2" width="570"><tr><th width="50%" class="cartheading">Invoice Address:</th><th width="50%" class="cartheading">Deliver To:</th></tr><tr><td valign="top" class="cart"> Mark Lwry<BR>
10 Smith Avenue<BR> Glasgow<BR> G12 3HC<BR> United Kingdom<BR> Phone: 0141 334 7271<BR> Email: mark@ewetsuits.com<BR> </td><td valign="top" class="cart"> Mark Lwry<BR>
10 Paladin Avenue<BR> Glasgow<BR> G13 3HP<BR> United Kingdom<BR> Phone: 0141 334 7271<BR> Email: mark@ewetsuits.com<BR> </td></tr> </table><br /><table border="0" cellpadding="2" cellspacing="2" width="570"><tr><td class="cartheading"><b>Date:</b></td><td colspan="2" class="cart"> 3 July 2007</td></tr><tr><td class="cartheading"><b>Order Number:</b></td><td colspan="2" class="cart"> ML33HP80007952</td></tr> <tr><td class="cartheading"><b>Special Delivery Instructions:</b></td><td colspan="2" class="cart"> TEST ORDER</td></tr> <tr><td class="cartheading"><b>Payment method:</b></td><td colspan="2" class="cart"> Credit Card</td></tr> <tr><td class="cartheading"><b>Credit Card:</b></td><td colspan="2" class="cart"> Mastercard</td></tr> <tr><td class="cartheading"><b>Terms and Conditions:</b></td><td colspan="2" class="cart"> Accepted</td></tr></table><br /><b>Shopping Cart</b><table><tr><td><table width="640" border="0" cellpadding="3" cellspacing="2"><tr><th align="left" width="300" class="cartheading">DESCRIPTION</th><th align="right" width="80" class="cartheading">QUANTITY</th><th align="right" width="60" class="cartheading">PRICE</th><th align="right" width="60" class="cartheading">COST</th></tr><tr><td colspan="2" class="cart"><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td width="280"> Lomo Rebel Deck - Tough Neoprene Spraydecks</td><td width="60" align="right"> 1</td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td width="280"> - Size: Small Cockpit - Small-Med Waist</td><td width="60" align="right"> </td></tr></table></td><td align="right" class="cart"> £21.28</td><td align="right" class="cart"> £21.28</td></tr> <tr><td align="right" colspan="3"><b>Subtotal</b></td><td align="right" class="cart">£21.28</td> </tr> <tr><td align="right" colspan="3"><b>Shipping (Courier Service)</b></td><td align="right" class="cart">£4.25</td></tr><tr><td align="right" colspan="3"><b>VAT</b></td><td align="right" class="cart">£4.46</td></tr><tr><td align="right" colspan="3"><b>Total</b></td><td align="right" class="cartheading"><b>£29.99</b></td></tr></table></td></tr></table></td></tr></table><br /><div align="center"><input type="hidden" name="HOME" value="http://www.ewetsuits.com" /><input type="submit" name="ACTION" value="Done" /></div></form></body></html>
Does anyone have any ideas?
Cheers,
Mark.
The only major change I can remember making was to the contact us brochure page. I removed the form from the layout and changed it to a simple mailto type page with information instead of a proper form. I cant imagine this would have caused the problem (But actinic moves in mysterious ways).
The code from the last page that has the DONE button on it is shown below from a test order I put through.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Receipt</title><BASE HREF="https://www.ewetsuits.com/acatalog/"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="MSThemeCompatible" content="yes" /><link href="actinic.css" rel="stylesheet" type="text/css"><script language="javascript" type="text/javascript" src="actiniccore.js"></script><script language="javascript" type="text/javascript" src="actinicextras.js"></script><script language="javascript" type="text/javascript">
<!--
saveReferrer();
// -->
</script></head><body><form method="post" action="https://www.ewetsuits.com/cgi-bin/os000088.pl"><input type="hidden" name="RANDOM" value="0.309785290694894" /> <INPUT TYPE=HIDDEN NAME=REFPAGE VALUE="http://www.ewetsuits.com/acatalog/Spraydecks-1.html">
<table border="0" cellpadding="5" cellspacing="2" width="600" align="center"><tr><td class="cartheading"> <table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td><strong>This is your receipt</strong></td><td align="right"><strong>This is not a tax invoice</strong></td></tr></table></td></tr><tr><td> Print this page and keep it for your records. If you need to contact us, refer to the "Order Number" below. <br /><br /> <br /><table border="0" cellpadding="2" cellspacing="0"><tr><td valign="top"> Customer Services Manager<BR> Lomo UK<BR> 195 Crow Road<BR> Glasgow<BR> UK<BR> G11 7PD<BR> United Kingdom<BR></td><td valign="top"> Phone 0141 334 7271<BR> Fax 07092 007159<BR> Email: <A HREF="MAILTO:admin@ewetsuits.com">admin@ewetsuits.com</A><BR> URL: <A HREF="http://www.ewetsuits.com">www.ewetsuits.com</A><BR></td></tr></table><br /><br /><table border="0" cellpadding="5" cellspacing="2" width="570"><tr><th width="50%" class="cartheading">Invoice Address:</th><th width="50%" class="cartheading">Deliver To:</th></tr><tr><td valign="top" class="cart"> Mark Lwry<BR>
10 Smith Avenue<BR> Glasgow<BR> G12 3HC<BR> United Kingdom<BR> Phone: 0141 334 7271<BR> Email: mark@ewetsuits.com<BR> </td><td valign="top" class="cart"> Mark Lwry<BR>
10 Paladin Avenue<BR> Glasgow<BR> G13 3HP<BR> United Kingdom<BR> Phone: 0141 334 7271<BR> Email: mark@ewetsuits.com<BR> </td></tr> </table><br /><table border="0" cellpadding="2" cellspacing="2" width="570"><tr><td class="cartheading"><b>Date:</b></td><td colspan="2" class="cart"> 3 July 2007</td></tr><tr><td class="cartheading"><b>Order Number:</b></td><td colspan="2" class="cart"> ML33HP80007952</td></tr> <tr><td class="cartheading"><b>Special Delivery Instructions:</b></td><td colspan="2" class="cart"> TEST ORDER</td></tr> <tr><td class="cartheading"><b>Payment method:</b></td><td colspan="2" class="cart"> Credit Card</td></tr> <tr><td class="cartheading"><b>Credit Card:</b></td><td colspan="2" class="cart"> Mastercard</td></tr> <tr><td class="cartheading"><b>Terms and Conditions:</b></td><td colspan="2" class="cart"> Accepted</td></tr></table><br /><b>Shopping Cart</b><table><tr><td><table width="640" border="0" cellpadding="3" cellspacing="2"><tr><th align="left" width="300" class="cartheading">DESCRIPTION</th><th align="right" width="80" class="cartheading">QUANTITY</th><th align="right" width="60" class="cartheading">PRICE</th><th align="right" width="60" class="cartheading">COST</th></tr><tr><td colspan="2" class="cart"><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td width="280"> Lomo Rebel Deck - Tough Neoprene Spraydecks</td><td width="60" align="right"> 1</td></tr></table><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td width="280"> - Size: Small Cockpit - Small-Med Waist</td><td width="60" align="right"> </td></tr></table></td><td align="right" class="cart"> £21.28</td><td align="right" class="cart"> £21.28</td></tr> <tr><td align="right" colspan="3"><b>Subtotal</b></td><td align="right" class="cart">£21.28</td> </tr> <tr><td align="right" colspan="3"><b>Shipping (Courier Service)</b></td><td align="right" class="cart">£4.25</td></tr><tr><td align="right" colspan="3"><b>VAT</b></td><td align="right" class="cart">£4.46</td></tr><tr><td align="right" colspan="3"><b>Total</b></td><td align="right" class="cartheading"><b>£29.99</b></td></tr></table></td></tr></table></td></tr></table><br /><div align="center"><input type="hidden" name="HOME" value="http://www.ewetsuits.com" /><input type="submit" name="ACTION" value="Done" /></div></form></body></html>
Does anyone have any ideas?
Cheers,
Mark.
Comment