- Timestamp:
- 14 Sep 2014, 15:53:20 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/browser.py
r11791 r11793 247 247 xmldict['institution_acct'] = '2013910271' 248 248 xmldict['institution_bank_id'] = '8' 249 self.pay_item_id = '104' 250 provider_amt = 0.0 251 dalash_amt = 0.0 249 # Until 14/9/2014 we have not sent split amount data for pre applications. 250 # To compenstate the loss we temporarily double the split amounts. 251 # See ticket 75. 252 provider_amt = 600.0 253 dalash_amt = 400.0 252 254 elif self.applicant.applicant_id.startswith('pre'): 253 255 # changed for prejambites from FBN '2013910271' to GTBank '0106259811' 254 256 xmldict['institution_acct'] = '0106259811' 255 257 xmldict['institution_bank_id'] = '10' 256 provider_amt = 0.0 257 dalash_amt = 0.0 258 # Until 14/9/2014 we have not sent split amount data for pre applications. 259 # To compenstate the loss we temporarily double the split amounts. 260 # See ticket 75. 261 provider_amt = 600.0 262 dalash_amt = 400.0 258 263 elif self.applicant.applicant_id.startswith('special'): 259 264 if self.context.p_category in SPECIAL_PAYMENT_PARAMS.keys(): … … 287 292 # Interswitch amount is not part of the xml data 288 293 289 if not self.applicant.applicant_id.startswith('pre'): 290 xmltext = """<payment_item_detail> 294 xmltext = """<payment_item_detail> 291 295 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s"> 292 296 <item_detail item_id="1" item_name="%(institution_item_name)s" item_amt="%(institution_amt)d" bank_id="%(institution_bank_id)s" acct_num="%(institution_acct)s" /> 293 297 <item_detail item_id="2" item_name="Dalash" item_amt="%(dalash_amt)d" bank_id="117" acct_num="1013196791" /> 294 298 <item_detail item_id="3" item_name="%(provider_item_name)s" item_amt="%(provider_amt)d" bank_id="%(provider_bank_id)s" acct_num="%(provider_acct)s" /> 295 </item_details>296 </payment_item_detail>""" % xmldict297 298 else:299 xmltext = """<payment_item_detail>300 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s">301 <item_detail item_id="1" item_name="%(institution_item_name)s" item_amt="%(institution_amt)d" bank_id="%(institution_bank_id)s" acct_num="%(institution_acct)s" />302 299 </item_details> 303 300 </payment_item_detail>""" % xmldict
Note: See TracChangeset for help on using the changeset viewer.