Ignore:
Timestamp:
18 Aug 2017, 13:51:55 (7 years ago)
Author:
Henrik Bettermann
Message:

Configure new bank accounts for application payments.

File:
1 edited

Legend:

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

    r14749 r14810  
    7777        xmldict['institution_bank_id'] = '00'
    7878        xmldict['institution_amt'] = '0.0'
    79         provider_amt = 0.0
     79        provider_amt = 500.0
    8080        self.pay_item_id = '0000' # must be provided by Interswitch
    8181        xmldict['provider_amt'] = 100 * provider_amt
     
    132132        xmldict = {}
    133133        provider_amt = 500.0
    134         xmldict['institution_acct'] = '0026235493'
    135         xmldict['institution_bank_id'] = '31'
     134        xmldict['institution_acct'] = '00000000'
     135        xmldict['institution_bank_id'] = '00'
     136        if self.applicant.__parent__.application_category in ('ndft', 'hndft'):
     137            xmldict['institution_acct'] = '0010761873'
     138            xmldict['institution_bank_id'] = '7'
     139        elif self.applicant.__parent__.application_category in (
     140            'ndpt', 'hndpt', 'ndwe', 'hndwe'):
     141            xmldict['institution_acct'] = '1015220292'
     142            xmldict['institution_bank_id'] = '117'
    136143        xmldict['detail_ref'] = self.context.p_id
    137144        xmldict['provider_amt'] = 100 * provider_amt
Note: See TracChangeset for help on using the changeset viewer.