Changeset 11791 for main/waeup.kwarapoly/trunk/src/waeup/kwarapoly
- Timestamp:
- 9 Sep 2014, 07:18:28 (10 years ago)
- Location:
- main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/browser.py
r11769 r11791 244 244 xmldict['institution_bank_id'] = '9' 245 245 elif self.applicant.applicant_id.startswith('prejambites'): 246 xmldict['institution_acct'] = '0106259811' 247 xmldict['institution_bank_id'] = '10' 246 # changed for prejambites from GTBank '0106259811' to FBN '2013910271' 247 xmldict['institution_acct'] = '2013910271' 248 xmldict['institution_bank_id'] = '8' 248 249 self.pay_item_id = '104' 249 250 provider_amt = 0.0 250 251 dalash_amt = 0.0 251 252 elif self.applicant.applicant_id.startswith('pre'): 252 xmldict['institution_acct'] = '2013910271' 253 xmldict['institution_bank_id'] = '8' 253 # changed for prejambites from FBN '2013910271' to GTBank '0106259811' 254 xmldict['institution_acct'] = '0106259811' 255 xmldict['institution_bank_id'] = '10' 254 256 provider_amt = 0.0 255 257 dalash_amt = 0.0 -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/tests.py
r11769 r11791 163 163 self.browser.contents) 164 164 self.assertTrue( 165 '<input type="hidden" name="amount" value="2950000 .0" />' in165 '<input type="hidden" name="amount" value="2950000" />' in 166 166 self.browser.contents) 167 167 self.assertTrue( … … 226 226 self.browser.contents) 227 227 self.assertMatches( 228 '...<input type="hidden" name="amount" value="87600 .0" />...',228 '...<input type="hidden" name="amount" value="87600" />...', 229 229 self.browser.contents) 230 230 self.assertMatches( … … 253 253 self.browser.contents) 254 254 self.assertMatches( 255 '...<input type="hidden" name="amount" value="600000 .0" />...',255 '...<input type="hidden" name="amount" value="600000" />...', 256 256 self.browser.contents) 257 257 self.assertMatches( … … 526 526 self.browser.contents) 527 527 self.assertTrue( 528 '<input type="hidden" name="amount" value="333300 .0" />'528 '<input type="hidden" name="amount" value="333300" />' 529 529 in self.browser.contents) 530 530 self.assertTrue( … … 563 563 self.assertTrue( 564 564 '<item_detail item_id="1" item_name="Application Fee" ' 565 'item_amt="303300" bank_id=" 8" acct_num="2013910271" />'565 'item_amt="303300" bank_id="10" acct_num="0106259811" />' 566 566 in self.browser.contents) 567 567 # No 'commission', no provider fee … … 578 578 self.assertTrue( 579 579 '<item_detail item_id="1" item_name="Application Fee" ' 580 'item_amt="303300" bank_id=" 10" acct_num="0106259811" />'580 'item_amt="303300" bank_id="8" acct_num="2013910271" />' 581 581 in self.browser.contents) 582 582 # No 'commission', no provider fee
Note: See TracChangeset for help on using the changeset viewer.