<?php
$this->load->view("top");
echo '<form name="payu" id="payuForm" method="post" action="'.  site_url().'payment?pay_method=payu">
          <input type="text" name="key" value="25Rnz5" />
          <input type="text" name="hash" value="" />
          <input type="text" name="txnid" value="'.$this->session->userdata('working_order_id').'" />
          <input type="text" name="amount" value="' . $this->input->get_post('amount') . '" />
          <input type="text" name="firstname" value="' . $this->input->get_post('firstname') . '" />
          <input type="text" name="email" value="' . $this->input->get_post('email') . '" />
          <input type="text" name="phone" value="' . $this->input->get_post('phone') . '" />
          <input type="text" name="productinfo" value="Clothing" />

          <input type="text" name="service_provider" value="payu_paisa" size="64" />
        </form>
        ';
$this->load->view("bottom"); 
?>
<script type="text/javascript">$("#payuForm").submit();</script>