";
$SCREEN = "order_info";
return(FALSE);
}
*/
//check for invoice_sku
/*
if(!(hasInvoiceSKU($UserInfo['Invoice'], $error)))
{
$ActionResults[] .= "Su factura no tiene productos.
";
$SCREEN = "order_info";
return(FALSE);
}
*/
//check for shipping record
/*
if(!(hasShipping($UserInfo['Invoice'], $error)))
{
$ActionResults[] .= "Su factura no tiene la información de envio.
";
$SCREEN = "order_info";
return(FALSE);
}
*/
/*
** set the invoice as active
*/
/*
if(!activateInvoice($UserInfo['Invoice'], $error))
{
$ActionResults[] = '1';
return(FALSE);
}
*/
//add creation status message
/*
if(!insertInvoiceStatus($UserInfo['Invoice'], getStatusID("Creada"), time(), "", $error))
{
$ActionResults[] = '2';
return(FALSE);
}
*/
//keep invoice number for the thank you page
// $invoice = $UserInfo['Invoice'];
//set session as having no active invoice
/*
if(!detachInvoiceFromSession($sid))
{
$ActionResults[] = '3';
return(FALSE);
}
*/
//store which coupons were used
/*
if(USE_COUPONS AND (isset($UserInfo["ID"])) AND ($UserInfo["ID"] > 0))
{
if(!useCoupons($UserInfo['ID'], $UserInfo['Invoice'], $error))
{
$ActionResults[] = '4';
return(FALSE);
}
}
if(!decrementInventory($UserInfo['Invoice'], $error))
{
$ActionResults[] = '5';
$ActionResults[] = $error;
return(FALSE);
}
*/
/*
** Make charge to credit card
*/
//This is where you'd put code to charge a credit card, but
//we're not including it in FreeTrade because it varies widely
//with solutions.
/*
** Send confirmation Email
*/
/*
$Contenido = "