Credit Card Number *

Credit Card Expiry (MMYY) *

CVV *

"; } function gateway_vmerchant($seperator, $sessionid) { global $wpsc_cart; $transact_url = get_option('transact_url'); $_SESSION['wpsc_sessionid'] = $sessionid; //exit('
'.print_r($_POST,true).'
'); $form_action = 'https://www.myvirtualmerchant.com/VirtualMerchant/process.do'; $output = '
calculate_total_price()),2,'.','').'" />


'; $output .=''; echo $output; exit(); } function submit_vmerchant() { if($_POST['ssl_merchant_id'] != ''){ update_option('ssl_merchant_id', $_POST['ssl_merchant_id']); } if($_POST['ssl_pin'] != ''){ update_option('ssl_pin', $_POST['ssl_pin']); } if($_POST['ssl_user_id'] != ''){ update_option('ssl_user_id', $_POST['ssl_user_id']); } return true; } function form_vmerchant() { if(get_option('ssl_merchant_id')!=''){ $ssl_merchant_id = get_option('ssl_merchant_id'); }else{ $ssl_merchant_id = ''; } if(get_option('ssl_user_id')!=''){ $ssl_user_id = get_option('ssl_user_id'); }else{ $ssl_merchant_id = ''; } if(get_option('ssl_pin')!=''){ $ssl_pin = get_option('ssl_pin'); }else{ $ssl_pin = ''; } $output = "\n\r"; $output .= "\n\r"; $output .= ""; $output .= ""; $output .= "\n\r"; $output .= ""; $output .= ""; $output .= ""; $output .= ""; /* $output .= ""; $output .= ""; */ $output .= " \n\r"; $output .= "\n\r"; return $output; } ?>