From: Steve Sutton Date: Thu, 5 Mar 2015 19:11:17 +0000 (-0500) Subject: engage Authorize.net X-Git-Tag: v1.0.0^2~7 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=af68dce5ea1483e20dc7bf22dde130e32cc98ce3;p=web%2FGaylordGolfMecca.git engage Authorize.net setting ship to address and description for sending to Authorize.net --- diff --git a/Toolkit/Contacts/PassPort.php b/Toolkit/Contacts/PassPort.php index b59d338..06d0cd0 100755 --- a/Toolkit/Contacts/PassPort.php +++ b/Toolkit/Contacts/PassPort.php @@ -600,20 +600,27 @@ class Toolkit_Contacts_PassPort $authNetUrl = "https://secure.authorize.net/gateway/transact.dll"; $authNetValues = array( - 'x_login' => $authNetLoginId, - 'x_version' => '3.1', - 'x_delim_char' => '|', - 'x_delim_data' => 'TRUE', - 'x_type' => 'AUTH_CAPTURE', - 'x_method' => 'CC', - "x_test_request" => DEVELOPMENT ? "TRUE" : "FALSE", - 'x_tran_key' => $authNetTranKey, - 'x_relay_response' => 'FALSE', - 'x_card_num' => $values['cc_num'], - 'x_exp_date' => implode('/', $values['cc_exp']), - 'x_amount' => $values['total_price'], - 'x_first_name' => $values['fname'], - 'x_last_name' => $values['lname'], + 'x_login' => $authNetLoginId, + 'x_description' => 'Gaylord Golf Mecca Passport', + 'x_version' => '3.1', + 'x_delim_char' => '|', + 'x_delim_data' => 'TRUE', + 'x_type' => 'AUTH_CAPTURE', + 'x_method' => 'CC', + "x_test_request" => DEVELOPMENT ? "TRUE" : "FALSE", + 'x_tran_key' => $authNetTranKey, + 'x_relay_response' => 'FALSE', + 'x_card_num' => $values['cc_num'], + 'x_exp_date' => implode('/', $values['cc_exp']), + 'x_amount' => $values['total_price'], + 'x_first_name' => $values['fname'], + 'x_last_name' => $values['lname'], + 'x_ship_to_first_name' => $values['fname'], + 'x_ship_to_last_name' => $values['lname'], + 'x_ship_to_address' => $values['address'], + 'x_ship_to_city' => $values['city'], + 'x_ship_to_state' => $values['state'], + 'x_ship_to_zip' => $values['zip'] ); $fields = '';