Forums / Addon Payment Modules / Sage/Net1 Payment Module - Order Number fix, email problem

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

Locked
Results 1 to 2 of 2
This thread is locked. New replies are disabled.
09 Jan 2009, 20:37
#1
trinkaltbier avatar

trinkaltbier

New Zenner

Join Date:
Jul 2007
Posts:
6
Plugin Contributions:
0

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";
29 Oct 2010, 15:28
#2
rayjak avatar

rayjak

New Zenner

Join Date:
Sep 2010
Posts:
1
Plugin Contributions:
0

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?