Thread: SkipJack Error

Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2006
    Posts
    27
    Plugin Contributions
    0

    Default SkipJack Error

    I really need some help. I've got the SkipJack Mod installed and am getting this error:

    Warning: urlencode() expects exactly 1 parameter, 0 given in /hsphere/local/home/cluckclu/chickenliteracy.com/store/includes/modules/payment/skipjack.php on line 252

    Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/cluckclu/chickenliteracy.com/store/includes/modules/payment/skipjack.php:252) in /hsphere/local/home/cluckclu/chickenliteracy.com/store/includes/functions/functions_general.php on line 44

    I have not altered these files. Here are the sections they refer to:

    skipjack.php:

    ////////////////////////////////////////////////////
    // Test Credit Card# Visa 4445999922225 or MasterCard 5121212121212124
    // Expiration any date after current date.
    // Functions to execute before processing the order
    // Examples: retreive result from online payment services
    ////////////////////////////////////////////////////
    function before_process() {
    global $_POST, $customer_id, $order, $vcc;

    if ($_POST['szlsApproved'] != '1') {
    zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(MODULE_PAYMENT_SKIPJACK_TEXT_ERROR_MESSAGE), 'SSL', true, false));
    }
    }

    function after_process() {
    return false;
    }

    functions_general.php:

    // clean up URL before executing it
    while (strstr($url, '&&')) $url = str_replace('&&', '&', $url);
    while (strstr($url, '&&')) $url = str_replace('&&', '&', $url);
    // header locates should not have the & in the address it breaks things
    while (strstr($url, '&')) $url = str_replace('&', '&', $url);

    header('Location: ' . $url);

    zen_exit();
    }

  2. #2
    Join Date
    May 2004
    Location
    Northern Ontario, Canada
    Posts
    440
    Plugin Contributions
    0

    Default Re: SkipJack Error

    The space between the A and G in MODULE_PAYMENT_SKIPJACK_TEXT_ERROR_MESSA GE doesn't look good... also, 'Warning: Cannot modify header information - headers already sent by' errors usually mean a return after the final ?> in the file in question.

  3. #3
    Join Date
    Jan 2006
    Posts
    27
    Plugin Contributions
    0

    Default Re: SkipJack Error

    OK, I'll go check that out. Thanks so much for a quick reply!

    I'll let you know if that did it.

  4. #4
    Join Date
    Jan 2006
    Posts
    27
    Plugin Contributions
    0

    Default Re: SkipJack Error

    Well, I fixed the space problem but couldn't find the other thing you mentioned. Wasn't sure where to look for that.

    Now, I get an error message on the cart page saying "There has been an error processing your credit card. Please try again. "

    I am not running in test mode and even tried a real CC #. The cart must be talking to SkipJack because I get an email saying the credit card was declined - and it's from SkipJack.

    If I try to test the Payment Gateway in TEST mode, I get an error saying "Invalid Serial Number" and it's not.

    Can anyone help please?

  5. #5
    Join Date
    Mar 2007
    Posts
    1
    Plugin Contributions
    0

    Default Re: SkipJack Error

    This error is being caused by Zencart not passing the following fields:

    StreetAddress
    City
    State
    ZipCode

    If these fields are passed, it will process as expected.

 

 

Similar Threads

  1. skipjack module
    By jeffbearer in forum Addon Payment Modules
    Replies: 3
    Last Post: 25 Aug 2010, 12:52 PM
  2. SkipJack Payments
    By ptcdf in forum Addon Payment Modules
    Replies: 2
    Last Post: 9 Oct 2007, 02:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR