Ignore:
Timestamp:
2 Feb 2023, 08:49:43 (20 months ago)
Author:
Henrik Bettermann
Message:

Customize ban account.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/browser.py

    r17278 r17330  
    8484        # Institution data
    8585        xmldict['institution_acct'] = '000000000'
    86         xmldict['institution_bank_id'] = '000'
     86        xmldict['institution_bank_id'] = '117'
    8787        provider_amt = 0.0
    8888        tech_fee = 0.0
     
    9090            provider_amt = 500.0
    9191            xmldict['institution_acct'] = '1216063205'
    92             xmldict['institution_bank_id'] = '117'
    9392            if student.faccode in ('PRE', 'JUPEB'):
    9493                xmldict['institution_acct'] = '1011431799'
    95         if self.context.p_category == 'schoolfee':
     94        elif self.context.p_category == 'schoolfee':
    9695            provider_amt = 2800.0
    9796            tech_fee = 1200.0
    9897            xmldict['institution_acct'] = '1011739172'
    99             xmldict['institution_bank_id'] = '117'
    10098            if student.faccode in ('PRE', 'JUPEB'):
    10199                xmldict['institution_acct'] = '2001627961'
    102100                xmldict['institution_bank_id'] = '8'
    103         if self.context.p_category == 'hostel_maintenance':
     101        elif self.context.p_category == 'hostel_maintenance':
    104102            xmldict['institution_acct'] = '1012551384'
    105             xmldict['institution_bank_id'] = '117'
     103        elif self.context.p_category == 'med_reg':
     104            xmldict['institution_acct'] = '1011265606'
    106105        self.pay_item_id = 'Default_Payable_MX47126' # must be provided by Interswitch
    107106        # Already now it becomes an Interswitch payment. We set the net amount
Note: See TracChangeset for help on using the changeset viewer.