Changeset 10528 for main/waeup.fceokene/trunk/src/waeup
- Timestamp:
- 23 Aug 2013, 06:50:35 (11 years ago)
- Location:
- main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/browser.py
r10450 r10528 205 205 xmldict['provider_item_name'] = PROVIDER_ITEM_NAME 206 206 # Institution data 207 if getattr( 208 self.applicant.__parent__, 'prefix', None) in ('pude', 'putme'): 209 xmldict['institution_acct'] = '2003670143' 210 xmldict['institution_bank_id'] = '8' 211 else: 212 xmldict['institution_acct'] = '1012445289' 213 xmldict['institution_bank_id'] = '117' 207 214 xmldict['institution_amt'] = 100 * (self.context.amount_auth - 208 215 provider_amt - GATEWAY_AMT) 209 xmldict['institution_acct'] = '1012445289'210 xmldict['institution_bank_id'] = '117'211 216 xmldict['institution_item_name'] = self.context.p_category 212 217 xmldict['institution_name'] = INSTITUTION_NAME -
main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/tests.py
r10520 r10528 348 348 '<input type="hidden" name="amount" value="100000.0" />' 349 349 in self.browser.contents) 350 self.assertTrue( 351 '<item_detail item_id="1" item_name="application"' 352 ' item_amt="35000" bank_id="117" acct_num="1012445289" />' 353 in self.browser.contents) 354 import pdb; pdb.set_trace() 355 350 356 351 357 @external_test
Note: See TracChangeset for help on using the changeset viewer.