$_SESSION["p_module"] = $payment; $_SESSION["p_amount"] = 3; $paymentTable = new Table(); $time_stamp = date("Y-m-d H:i:s"); $amount_string = sprintf("%.3F", $total_amount); $payment_modules = new payment($payment); $order = new order($amount_string); if (!isset($wm_purse_type)) { $paycur = 1; $getcur = strtoupper(BASE_CURRENCY); } else { if (is_array($payment_modules->modules)) { $getcur = $payment_modules->get_CurrentCurrency(); } } $paycur = $currencies_list[$getcur][2]; if (strtoupper($payment)=='PLUGNPAY') { $QUERY_FIELDS = "cardid, amount, vat, paymentmethod, cc_owner, cc_number, cc_expires, creationdate, cvv, credit_card_type, currency , item_id , item_type"; $QUERY_VALUES = "'".$_SESSION["card_id"]."','$amount_string', '".$_SESSION["vat"]."', '$payment','$plugnpay_cc_owner','".substr($plugnpay_cc_number,0,4)."XXXXXXXXXXXX','".$plugnpay_cc_expires_month."-".$plugnpay_cc_expires_year."','$time_stamp', '$cvv', '$credit_card_type', '".BASE_CURRENCY."' , '$item_id', '$item_type'"; } else if(strtoupper($payment)=='IRIDIUM'){ $QUERY_FIELDS = "cardid, amount, vat, paymentmethod, cc_owner, cc_number, cc_expires, creationdate, currency, item_id, item_type"; $QUERY_VALUES = "'".$_SESSION["card_id"]."','$amount_string', '".$_SESSION["vat"]."', '$payment','$CardName','".substr($CardNumber,0,4)."XXXXXXXXXXXX','".$ExpiryDateMonth."-".$ExpiryDateYear."','$time_stamp', '".BASE_CURRENCY."' , '$item_id','$item_type'"; } else { $QUERY_FIELDS = "cardid, amount, vat, paymentmethod, cc_owner, cc_number, cc_expires, creationdate, currency, item_id, item_type"; $QUERY_VALUES = "'".$_SESSION["card_id"]."','$amount_string', '".$_SESSION["vat"]."', '$payment','$authorizenet_cc_owner','".substr($authorizenet_cc_number,0,4)."XXXXXXXXXXXX','".$authorizenet_cc_expires_month."-".$authorizenet_cc_expires_year."','$time_stamp', '".$getcur."' , '$item_id','$item_type'"; }
: </div></td> <td width=50%><?php echo strtoupper($payment); ?> </td> </tr> <tr> <td align=right><?php echo gettext("Total Amount"); ?> : </td> <td align=left><?php echo $amount; ?> <?php echo $payment_modules->get_CurrentCurrency(); ?> </td> </tr> <tr> <td> </td> <td> </td> </tr> </table> <br> <table class="infoBox" width="80%" cellspacing="0" cellpadding="2" align=center> <tr height="25"> <td align=left class="main"> <b><?php echo gettext("Please click button to confirm your order"); ?> .</b>