xtc_redirect(xtc_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); } } require DIR_WS_INCLUDES . 'header.php'; // load selected payment module require DIR_WS_CLASSES . 'payment.php'; $payment_modules = new payment($_SESSION['payment']); // load the selected shipping module require DIR_WS_CLASSES . 'shipping.php'; $shipping_modules = new shipping($_SESSION['shipping']); require DIR_WS_CLASSES . 'order_total.php'; require DIR_WS_CLASSES . 'order.php'; $order = new order(); $order_total_modules = new order_total(); $order_total_modules->process(); $iframe_url = $payment_modules->iframeAction(); if ($iframe_url == '') { xtc_redirect(xtc_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); } $smarty->assign('iframe_url', $iframe_url); /* echo '<pre>'; print_r($_SESSION); echo '</pre>'; */ $smarty->assign('language', $_SESSION['language']); $smarty->caching = 0; $main_content = '<iframe src="' . $iframe_url . '" width="100%" height="750" name="_top" frameborder="0"></iframe>'; $smarty->assign('language', $_SESSION['language']); $smarty->assign('main_content', $main_content); $smarty->caching = 0;