$str_address = quote_smart($_SESSION['address']); $str_country = quote_smart($_SESSION['country']); $str_city = quote_smart($_SESSION['city']); $str_state = quote_smart($_SESSION['state']); $str_otherstate = quote_smart($_SESSION['otherstate']); $str_username = quote_smart($_SESSION['td_username']); $str_password = quote_smart($_SESSION['td_password']); $str_zipcode = quote_smart($_SESSION['zipcode']); $str_phonenumber = quote_smart($_SESSION['telephone']); $str_emailaddress = quote_smart($_SESSION['email']); $str_additional_funds = quote_smart($_SESSION['additional_funds']); $ProcessingMode = quote_smart($_SESSION['ProcessingMode']); $totalAmt = $order->amount; $crossit = !isset($order->row['websiteTable']['cs_crosssale_niche']) || $order->row['websiteTable']['cs_crosssale_niche'] == 0 ? FALSE : TRUE; if ($crossit) { $xSaleArr = isset($_SESSION['xSaleArr']) ? $_SESSION['xSaleArr'] : $order->getXSales($order->row['websiteTable']['cs_crosssale_niche']); $_SESSION['xSaleArr'] = $xSaleArr; $xSaleDesc = 'For an additional $' . $xSaleArr['rd_initial_amount'] . ' get access to <a href="' . $xSaleArr['cs_URL'] . '" target="_blank">' . $xSaleArr['cs_URL'] . '</a> by checking this box'; $smarty->assign("flt_xsaleamt", $xSaleArr['rd_initial_amount']); } if ($order->customerfee) { $am = isset($_POST['crosssales']) ? $order->amount - $order->customerfee + $xSaleArr['rd_initial_amount'] : $order->amount - $order->customerfee; $smarty->assign("str_customerfee", "(\$<span id=\"tot3\">" . number_format($am, 2, '.', '') . "</span> charge + \$" . formatMoney($order->customerfee) . " processing fee)"); } $bank_ids = array(); $bank_ids = merchant_getTransTypes($_SESSION['orderArr']['en_ID'], $_SESSION['orderArr']); $bank_id = ""; $availWallets = array(); $cnt = 1; $hasCredit = FALSE; $paytype['types']['visa'] = array('key' => '1', 'text' => 'Visa', 'bdesc' => 'Visa', 'type' => 'visa', 'disabled' => 'disabled');