Пример #1
0
                $email_order .= "Pruefstatus:   Es ist ein Problem aufgetreten, bitte beobachten!\r\n";
            }
         } elseif ($_POST['banktransfer_fax'] == "on") {
            $email_order .= "\n";
            $email_order .= "Kontodaten werden per Fax bestaetigt!\n";
         }
    }
    oos_mail('', SEND_EXTRA_ORDER_EMAILS_TO, $aLang['email_text_subject'], nl2br($email_order), $oOrder->customer['firstname'] . ' ' . $oOrder->customer['lastname'], $oOrder->customer['email_address'], true);
}


// load the after_process function from the payment modules
$oPaymentModules->after_process();

$oOrderTotalModules->sendFax();
$oOrderTotalModules->sendSMS();

$_SESSION['cart']->reset(true);

// unregister session variables used during checkout
unset($_SESSION['sendto']);
unset($_SESSION['billto']);
unset($_SESSION['shipping']);
unset($_SESSION['payment']);
unset($_SESSION['comments']);

$oOrderTotalModules->clear_posts();

MyOOS_CoreApi::redirect(oos_href_link($aPages['checkout_success'], '', 'SSL'));