- Timestamp:
- 14 May 2018, 20:30:19 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/interswitch/browser.py
r15000 r15009 30 30 from kofacustom.edopoly.interfaces import MessageFactory as _ 31 31 32 PRODUCT_ID = ' ' # must be provided by Interswitch32 PRODUCT_ID = '6207' # must be provided by Interswitch 33 33 SITE_NAME = 'edopoly-kofa.waeup.org' 34 PROVIDER_ACCT = '0 0000000'35 PROVIDER_BANK_ID = ' 00'36 PROVIDER_ITEM_NAME = ' BT Education'34 PROVIDER_ACCT = '0773411069' 35 PROVIDER_BANK_ID = '31' 36 PROVIDER_ITEM_NAME = 'WAeAC' 37 37 INSTITUTION_NAME = 'EdoPoly' 38 38 CURRENCY = '566' 39 GATEWAY_AMT = 150.039 GATEWAY_AMT = 300.0 40 40 41 41 #POST_ACTION = 'https://webpay.interswitchng.com/paydirect/pay' 42 POST_ACTION = 'https://s tageserv.interswitchng.com/test_paydirect/pay'42 POST_ACTION = 'https://sandbox.interswitchng.com/webpay/pay' 43 43 #HOST = 'webpay.interswitchng.com' 44 HOST = 's tageserv.interswitchng.com'44 HOST = 'sandbox.interswitchng.com' 45 45 #URL = '/paydirect/api/v1/gettransaction.json' 46 URL = '/ test_paydirect/api/v1/gettransaction.json'46 URL = '/webpay/api/v1/gettransaction.json' 47 47 48 48 httplib.HTTPSConnection.debuglevel = 0 … … 58 58 currency = CURRENCY 59 59 product_id = PRODUCT_ID 60 mac = ' ' # must be provided by Interswitch60 mac = 'CEF793CBBE838AA0CBB29B74D571113B4EA6586D3BA77E7CFA0B95E278364EFC4526ED7BD255A366CDDE11F1F607F0F844B09D93B16F7CFE87563B2272007AB3' # must be provided by Interswitch 61 61 62 62 def update(self): … … 74 74 xmldict['provider_item_name'] = PROVIDER_ITEM_NAME 75 75 # Institution data 76 xmldict['institution_acct'] = ' 00000000'77 xmldict['institution_bank_id'] = ' 00'76 xmldict['institution_acct'] = '1015666713' 77 xmldict['institution_bank_id'] = '121' 78 78 xmldict['institution_amt'] = '0.0' 79 79 provider_amt = 0.0 80 self.pay_item_id = ' 0000' # must be provided by Interswitch80 self.pay_item_id = '101' # must be provided by Interswitch 81 81 xmldict['provider_amt'] = 100 * provider_amt 82 82 xmldict['institution_item_name'] = self.context.category … … 171 171 gateway_host = HOST 172 172 gateway_url = URL 173 mac = 'CEF793CBBE838AA0CBB29B74D571113B4EA6586D3BA77E7CFA0B95E278364EFC4526ED7BD255A366CDDE11F1F607F0F844B09D93B16F7CFE87563B2272007AB3' 173 174 174 175 class CustomInterswitchPaymentVerifyWebservicePageStudent(
Note: See TracChangeset for help on using the changeset viewer.