- Timestamp:
- 6 Dec 2021, 23:16:11 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/browser.py
r16735 r16736 31 31 from kofacustom.unidel.interfaces import MessageFactory as _ 32 32 33 PRODUCT_ID = ' 6207' # must be provided by Interswitch33 PRODUCT_ID = '22153701' # must be provided by Interswitch 34 34 SITE_NAME = 'unidel.waeup.org' 35 35 PROVIDER_ACCT = '0213065415' … … 38 38 INSTITUTION_NAME = 'UNIDEL' 39 39 CURRENCY = '566' 40 GATEWAY_AMT = 300.0 41 MAC = 'CEF793CBBE838AA0CBB29B74D571113B4EA6586D3BA77E7CFA0B95E278364EFC4526ED7BD255A366CDDE11F1F607F0F844B09D93B16F7CFE87563B2272007AB3' # must be provided by Interswitch 42 43 #POST_ACTION = 'https://webpay.interswitchng.com/paydirect/pay' 44 POST_ACTION = 'https://sandbox.interswitchng.com/webpay/pay' 45 #HOST = 'webpay.interswitchng.com' 46 HOST = 'sandbox.interswitchng.com' 47 #URL = '/paydirect/api/v1/gettransaction.json' 48 URL = '/webpay/api/v1/gettransaction.json' 40 GATEWAY_AMT = 250.0 41 #MAC = 'CEF793CBBE838AA0CBB29B74D571113B4EA6586D3BA77E7CFA0B95E278364EFC4526ED7BD255A366CDDE11F1F607F0F844B09D93B16F7CFE87563B2272007AB3' 42 MAC = 'Lfj58PyWS6MvPz65zIbofZNoAn89fZAjtnsEWbTof73OyHQH7rpJPHWD2m4cekDoowJ8nqQCn6ay2lopzKBOekFsMfzkXG6KYGRuyhMQq4bK7wDNaWqpxeZl3fMumNmi' 43 44 POST_ACTION = 'https://webpay.interswitchng.com/collections/w/pay' 45 #POST_ACTION = 'https://sandbox.interswitchng.com/webpay/pay' 46 HOST = 'webpay.interswitchng.com' 47 #HOST = 'sandbox.interswitchng.com' 48 URL = '/collections/api/v1/gettransaction.json' 49 #URL = '/webpay/api/v1/gettransaction.json' 49 50 50 51 httplib.HTTPSConnection.debuglevel = 0 … … 92 93 xmldict['institution_bank_id'] = '117' 93 94 provider_amt = 0.0 94 self.pay_item_id = ' 101' # must be provided by Interswitch95 self.pay_item_id = 'Default_Payable_MX47126' # must be provided by Interswitch 95 96 xmldict['provider_amt'] = 100 * provider_amt 96 97 xmldict['institution_item_name'] = self.context.category … … 134 135 site_name = SITE_NAME 135 136 currency = CURRENCY 136 pay_item_id = ' 101' # must be provided by Interswitch137 pay_item_id = 'Default_Payable_MX47126' # must be provided by Interswitch 137 138 product_id = PRODUCT_ID 138 139 mac = MAC
Note: See TracChangeset for help on using the changeset viewer.