SOLVED!! The skipjack module in folder \includes\modules\payment\skipjack.php around line 246 thru 252 has the code to throw the error. I commented out the code for now as a temporary fix. Will have to figure out why the error is being thrown in the first place and correct that in the future.
BUT, for now, I have created a way to use skipjack for any number of zen carts. I would have shared this information, but no one helped me..... just kidding. I know this can help a lot of users.
In Skipjack:
Preferences -> Response Files
Use Response Files (Default)
Add the following javascript code:
Code:
<SCRIPT LANGUAGE="JavaScript">
function checkout() {
var prevURL = document.referrer;
var stop = prevURL.indexOf('=');
var newURL = "";
for (count = 0; count <= stop; count++)
{
newURL += prevURL.charAt(count);
}
newURL += "checkout_process";
window.location = newURL;
}
</SCRIPT>
<body onLoad="setTimeout('checkout()', 3000)" bgcolor="#FFFFFF" link="#FF0000" vlink="#000000" alink="#FF9900">
copy the above javascript code over the <body .....> code within the response file. Or make sure to add onLoad="setTimeout('checkout()', 3000)" into the body code. The 3000 means that the response file will be displayed for 3 seconds before being redirected.
Now, within the above mentioned skipjack file. You will need to navigate to "function before_process()" (line 246 in my skipjack.php file). Within that function, comment out the if statement so that it skips the error check.
Make sure to only add the javascript to the "Thank You For Your Order" response file, as this code will complete transactions even if credit cards are denied.
I will be researching a fix for the error and hopefully post back soon.
-John
Bookmarks