- Timestamp:
- 18 Oct 2012, 05:42:30 (12 years ago)
- Location:
- main/waeup.kwarapoly/trunk/src/waeup/kwarapoly
- Files:
-
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/browser.py
r9129 r9347 29 29 from waeup.kofa.applicants.viewlets import ApprovePaymentActionButton as APABApplicant 30 30 from waeup.kofa.payments.interfaces import payment_categories 31 from waeup. fceokene.students.interfaces import ICustomStudentOnlinePayment32 from waeup. fceokene.applicants.interfaces import ICustomApplicantOnlinePayment33 from waeup. fceokene.interfaces import MessageFactory as _31 from waeup.kwarapoly.students.interfaces import ICustomStudentOnlinePayment 32 from waeup.kwarapoly.applicants.interfaces import ICustomApplicantOnlinePayment 33 from waeup.kwarapoly.interfaces import MessageFactory as _ 34 34 35 35 PRODUCT_ID = '83' 36 SITE_NAME = ' fceokene-kofa.waeup.org'36 SITE_NAME = 'kwarapoly-kofa.waeup.org' 37 37 PROVIDER_ACCT = '0026781725' 38 38 PROVIDER_BANK_ID = '31' 39 39 PROVIDER_ITEM_NAME = 'BT Education' 40 INSTITUTION_NAME = ' FCEOkene'40 INSTITUTION_NAME = 'KwaraPoly' 41 41 CURRENCY = '566' 42 42 #QUERY_URL = 'https://webpay.interswitchng.com/paydirect/services/TransactionQueryURL.aspx' … … 226 226 xmldict['institution_bank_id'] = '117' 227 227 else: 228 xmldict[' fceokene_acct'] = "0000000000000"228 xmldict['kwarapoly_acct'] = "0000000000000" 229 229 xmldict['institution_bank_id'] = '0' 230 xmldict[' fceokene_split'] = 100 * 1400230 xmldict['kwarapoly_split'] = 100 * 1400 231 231 xmldict['institution_amt'] = 100 * ( 232 232 self.context.amount_auth - 500 - 150 - 1400) … … 237 237 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> 238 238 <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" /> 239 <item_detail item_id="2" item_name=" FCEOkene Split" item_amt="%(fceokene_split)s" bank_id="117" acct_num="6216801058" />239 <item_detail item_id="2" item_name="KwaraPoly Split" item_amt="%(kwarapoly_split)s" bank_id="117" acct_num="6216801058" /> 240 240 <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" /> 241 241 </item_details> -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/tests.py
r9143 r9347 20 20 from waeup.kofa.applicants.tests.test_browser import ApplicantsFullSetup 21 21 from waeup.kofa.configuration import SessionConfiguration 22 from waeup. fceokene.testing import FunctionalLayer22 from waeup.kwarapoly.testing import FunctionalLayer 23 23 24 24 # Also run tests that send requests to external servers? … … 88 88 self.browser.contents) 89 89 self.assertMatches( 90 '...item_name=" FCEOkeneSplit" item_amt="140000" bank_id="117" acct_num="6216801058"...',90 '...item_name="KwaraPoly Split" item_amt="140000" bank_id="117" acct_num="6216801058"...', 91 91 self.browser.contents) 92 92 self.assertMatches(
Note: See TracChangeset for help on using the changeset viewer.