Changeset 14070


Ignore:
Timestamp:
11 Aug 2016, 10:11:03 (8 years ago)
Author:
Henrik Bettermann
Message:

Revert changes for prejambites.

Use pay_item_id 104 for all other pre applications.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/browser.py

    r14066 r14070  
    253253            xmldict['institution_acct'] = '0106259811'
    254254            xmldict['institution_bank_id'] = '10'
    255         elif self.applicant.applicant_id.startswith('prejambites'):
     255        elif self.applicant.applicant_id.startswith('prejambites') or \
     256            self.applicant.applicant_id.startswith('putme'):
    256257            xmldict['institution_acct'] = '0106259811'
    257258            xmldict['institution_bank_id'] = '10'
    258259            self.pay_item_id = '104'
     260        elif self.applicant.applicant_id.startswith('pre'):
     261            xmldict['institution_acct'] = '0106259811'
     262            xmldict['institution_bank_id'] = '10'
    259263            provider_amt = 262.5
    260264            dalash_amt = 0.0
    261265            gateway_amt = 37.5
    262         elif self.applicant.applicant_id.startswith('putme'):
    263             xmldict['institution_acct'] = '0106259811'
    264             xmldict['institution_bank_id'] = '10'
    265266            self.pay_item_id = '104'
    266         elif self.applicant.applicant_id.startswith('pre'):
    267             xmldict['institution_acct'] = '0106259811'
    268             xmldict['institution_bank_id'] = '10'
    269             provider_amt = 262.5
    270             dalash_amt = 0.0
    271             gateway_amt = 37.5
    272267        elif self.applicant.applicant_id.startswith('special'):
    273268            if self.context.p_category in SPECIAL_PAYMENT_PARAMS.keys():
Note: See TracChangeset for help on using the changeset viewer.