Index: /WAeUP_SRP/trunk/skins/waeup_fceoyo/goto_interswitch_form.pt
===================================================================
--- /WAeUP_SRP/trunk/skins/waeup_fceoyo/goto_interswitch_form.pt	(revision 3747)
+++ /WAeUP_SRP/trunk/skins/waeup_fceoyo/goto_interswitch_form.pt	(revision 3748)
@@ -12,4 +12,7 @@
           <input type="hidden" tal:attributes="name python:arg[0];value python:arg[1]" />
       </span>          
+      
+      <span tal:replace = "structure info/xml_data" /> 
+      
         <table>
           <tr>
@@ -42,5 +45,5 @@
                class="standalone" 
                name="goto_bank" 
-               value="Proceed to Payment Gateway" 
+               value="Proceed to Interswitch Payment Gateway" 
                />
       </form>
Index: /WAeUP_SRP/trunk/skins/waeup_fceoyo/pay_interswitch.py
===================================================================
--- /WAeUP_SRP/trunk/skins/waeup_fceoyo/pay_interswitch.py	(revision 3747)
+++ /WAeUP_SRP/trunk/skins/waeup_fceoyo/pay_interswitch.py	(revision 3748)
@@ -71,5 +71,6 @@
 info['order_id'] = "%s%s" % (student_id[1:],timestamp)
 p_id = "p%s" % timestamp
-
+info['surcharge'] = interswitch_amount = 300
+info['amount'] = amount = fee_dict['all']
 
 if student_id is None:
@@ -109,5 +110,5 @@
                                                                   p_id)
                                                                   
-info['amount'] = amount = fee_dict['all']
+
                                                           
 
@@ -128,5 +129,5 @@
 bt_amount = 1750
 fceoyo_split = 750
-info['surcharge'] = interswitch_amount = 300
+
 #getSchoolFee provides pure school fee, the fees have to be added
 total_amount = 100* (amount + interswitch_amount + bt_amount + fceoyo_split)        
@@ -137,6 +138,6 @@
 xmldict['department'] = student_record.department
 xmldict['faculty'] = student_record.faculty
-xmldict['amount'] = "%d" % 100*amount
-xmldict['bt_amount'] = "%d" % 100*bt_amount
+xmldict['amount'] = "%d" % int(100*amount)
+xmldict['bt_amount'] = "%d" % int(100*bt_amount)
 
 if student_record.mode in ('ug_sw','prence',):
@@ -150,11 +151,12 @@
     xmldict['bank_id'] = '0'
 
-xmldict['fceoyo_split'] = "%d" % 100*fceoyo_split
+xmldict['fceoyo_split'] = "%d" % int(100*fceoyo_split)
+
 
 xmltext = """<payment_item_detail>
-<item_details detail_ref="%(detail_ref)s" college="fceoyo" department="%(department)s" faculty="%(faculty)s">
-<item_detail item_id="1" item_name="fceoyo" item_amt="%(amount)s" bank_id="%(bank_id)s" acct_num="%(fceoyo_acct)s" />
-<item_detail item_id="2" item_name="fceoyo_split" item_amt="%(fceoyo_split)s" bank_id="125" acct_num="1681001000119" />
-<item_detail item_id="2" item_name="BT" item_amt="%(bt_amount)s" bank_id="89" acct_num="0061001000021095" />
+<item_details detail_ref="%(detail_ref)s" college="fceoyo" department="%(department)s" faculty="%(faculty)s" >
+<item_detail item_id="1" item_name="FCEOyo School Fee" item_amt="%(amount)s" bank_id="%(bank_id)s" acct_num="%(fceoyo_acct)s" />
+<item_detail item_id="2" item_name="FCEOyo Split" item_amt="%(fceoyo_split)s" bank_id="125" acct_num="1681001000119" />
+<item_detail item_id="3" item_name="BT" item_amt="%(bt_amount)s" bank_id="89" acct_num="0061001000021095" />
 </item_details>
 </payment_item_detail>""" % xmldict
