Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2007
    Posts
    6
    Plugin Contributions
    0

    Default Sage/Net1 Payment Module - Order Number fix, email problem

    Hey everyone:
    I set up my Zen Cart with Sage Payment/Net1 Today...it works great. I fixed a problem where the order number from Zen was not being sent to Sage (described below); but the email from Zen is also not being sent to Sage...anyone know what the problem is there?

    I added this line

    $data .= "&T_ordernum=" . urlencode( $_POST['T_ordernum'] );

    to this section of text in the includes/modules/payment/net1.php; you have to add it right there, after the line with &T_amt. As I said, the module already includes a line for C_email (but it does not make it to Sage. I will experiment, but I think I have done enough for one day!

    /*Encode data to be sent to Net1.
    This stuff was grabbed from the earlier creation of
    the process_button_string (those little hidden input fields)
    All customer data should be encoded for security*/
    $data .= "&T_amt=" . urlencode( $_POST['T_amt'] );
    $data .= "&T_ordernum=" . urlencode( $_POST['T_ordernum'] );
    $data .= "&C_name=" . urlencode( $_POST['C_name'] );
    $data .= "&C_address=" . urlencode( $_POST['C_address'] ); $data .= "&C_city=" . urlencode( $_POST['C_city'] );
    $data .= "&C_state=" . urlencode( $_POST['C_state'] );
    $data .= "&C_zip=" . urlencode( $_POST['C_zip'] );
    $data .= "&C_email=" . urlencode( $_POST['C_email'] );
    $data .= "&C_cardnumber=" . urlencode( $_POST['C_cardnumber'] );
    $data .= "&C_exp=" . urlencode( $_POST['C_exp'] );
    $data .= "&T_code=02";

  2. #2
    Join Date
    Sep 2010
    Posts
    1
    Plugin Contributions
    0

    Default Re: Sage/Net1 Payment Module - Order Number fix, email problem

    I am looking for a current Net1 working payment module to use with Zen Cart in the USA. I have found two that don't work. Is yours available?

 

 

Similar Threads

  1. Sage Payment module is storing duplicate order numbers?
    By kwright in forum Addon Payment Modules
    Replies: 2
    Last Post: 3 Jul 2013, 08:01 AM
  2. Problem with Sage Payment module.
    By kedar_purohit in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 10 Aug 2007, 04:30 AM
  3. net1 payment module
    By zephquamy in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 21 Aug 2006, 04:58 PM
  4. Net1 Payment Module
    By rmjr in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 11 May 2006, 08:06 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