-1
Ich habe keine Umleitung verwendet, aber sogar meine Seite wird automatisch auf die Startseite umgeleitet. Controller Seite:automatische Umleitung zu base_url in Codeinformation
//print_r($data);
$orderid = $this->Order_model->insert_order_detail();
if($orderid){
if ($cart = $this->cart->contents()){
foreach ($cart as $item):
$order_detail = array(
'order_id' => $orderid,
'product_id' => $item['id'],
'order_qty' => $item['qty']
);
$order_data = $this->Order_model->insert_order_data($order_detail);
endforeach;
}
}
$enscryptorder = $this->encryption->encrypt($orderid);
redirect('billing/payment_mode');
//-------herer page is redirecting to base not to billing controller