$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 = '';