okay i figured it out from an old post
i changed
Code:
* Store the CC info to the order and process any results that come back from the payment gateway
*/
function before_process() {
global $response, $db, $order, $messageStack;
$order->info['cc_owner'] = $_POST['cc_owner'];
$order->info['cc_number'] = str_pad(substr($_POST['cc_number'], -4), strlen($_POST['cc_number']), "X", STR_PAD_LEFT);
$order->info['cc_expires'] = ''; // $_POST['cc_expires'];
$order->info['cc_cvv'] = '***';
$sessID = zen_session_id();
$this->include_x_type = TRUE;
to
Code:
function before_process() {
global $response, $db, $order, $messageStack;
$order->info['cc_owner'] = $_POST['cc_owner'];
$order->info['cc_number'] = str_pad(substr($_POST['cc_number'], -4), strlen($_POST['cc_number']), "X", STR_PAD_LEFT);
$order->info['cc_expires'] = ''; // $_POST['cc_expires'];
$order->info['cc_cvv'] = '***';
$order->info['cc_type'] = $_POST['cc_type'];
$sessID = zen_session_id();
and I also commented it out // $order->info['cc_type'] = $response[51];
Bookmarks