Changeset 3782


Ignore:
Timestamp:
22 Nov 2008, 21:15:38 (16 years ago)
Author:
Henrik Bettermann
Message:

import_student.xml: only one profile for all, study_mode no longer required

Location:
WAeUP_SRP/trunk
Files:
1 added
8 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_futminna/pay_interswitch.py

    r3780 r3782  
    8181
    8282if True:
    83     info['action'] = "https://webpay.interswitchng.com/paydirect/webpay/pay.aspx"
     83    info['action'] = "https://webpay.interswitchng.com/test_paydirect/webpay/pay.aspx"
    8484else:
    8585    info['action'] = "%s/payments/%s/simulate_callback" % (student.absolute_url(),p_id)
     
    125125    args[arg] = info[field]
    126126
    127 bt_amount = 1200
    128 #fut_split = 0000
     127bt_amount = 1500
     128#fut_split = 0000 #not appicable
    129129fut_amount = amount - bt_amount
    130130
     
    140140#students at all levels pay their school fees to different banks
    141141if student_record.review_state == 'cleared_and_validated' and student_record.level in ('100'):
    142     xmldict['fut_acct'] = "6013803345"
    143     xmldict['bank_id'] = '7' #check for Zenith Bank code
     142    xmldict['fut_acct'] = "0510031193719"
     143    xmldict['bank_id'] = '75'
    144144elif student_record.review_state == 'returning' and student_record.level in ('100'):   
    145145    xmldict['fut_acct'] = "0030001000017110"
    146     xmldict['bank_id'] = '89' #Intercontinental Bank code
     146    xmldict['bank_id'] = '89'
    147147elif student_record.level in ('200'):
    148148    xmldict['fut_acct'] = "2522040000134"
    149     xmldict['bank_id'] = '8' #check for First Bank code
     149    xmldict['bank_id'] = '8'
    150150elif student_record.level in ('300','400'):
    151151    xmldict['fut_acct'] = "0591201005146"
    152     xmldict['bank_id'] = '8' #check for Oceanic Bank code
     152    xmldict['bank_id'] = '101'
    153153#remedial students
    154154elif student_record.level in ('000'):
    155     xmldict['fut_acct'] = "00000000000"
    156     xmldict['bank_id'] = '8' #check for Bank code & account number for remedial         
     155    xmldict['fut_acct'] = "6013803183"
     156    xmldict['bank_id'] = '117'          
    157157else:
    158158    xmldict['fut_acct'] = "0000000000000"
Note: See TracChangeset for help on using the changeset viewer.