- Timestamp:
- 15 Nov 2016, 09:53:58 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/interswitch/browser.py
r13587 r14276 30 30 from kofacustom.skeleton.interfaces import MessageFactory as _ 31 31 32 PRODUCT_ID = ' 57'32 PRODUCT_ID = '' # must be provided by Interswitch 33 33 SITE_NAME = 'skeleton-kofa.waeup.org' 34 34 PROVIDER_ACCT = '00000000' … … 38 38 CURRENCY = '566' 39 39 GATEWAY_AMT = 150.0 40 #QUERY_URL = 'https://webpay.interswitchng.com/paydirect/services/TransactionQueryURL.aspx'41 #QUERY_URL = 'https://testwebpay.interswitchng.com/test_paydirect/services/TransactionQueryURL.aspx'42 POST_ACTION = 'https://webpay.interswitchng.com/paydirect/webpay/pay.aspx'43 #POST_ACTION = 'https://testwebpay.interswitchng.com/test_paydirect/webpay/pay.aspx'44 40 45 HOST = 'webpay.interswitchng.com' 46 #HOST = 'testwebpay.interswitchng.com' 47 URL = '/paydirect/services/TransactionQueryWs.asmx' 48 #URL = '/test_paydirect/services/TransactionQueryWs.asmx' 41 #POST_ACTION = 'https://webpay.interswitchng.com/paydirect/pay' 42 POST_ACTION = 'https://stageserv.interswitchng.com/test_paydirect/pay' 43 #HOST = 'webpay.interswitchng.com' 44 HOST = 'stageserv.interswitchng.com' 45 #URL = '/paydirect/api/v1/gettransaction.json' 46 URL = '/test_paydirect/api/v1/gettransaction.json' 47 49 48 httplib.HTTPSConnection.debuglevel = 0 50 49 HTTPS = True … … 59 58 currency = CURRENCY 60 59 product_id = PRODUCT_ID 61 mac = '' 60 mac = '' # must be provided by Interswitch 62 61 63 62 def update(self): … … 79 78 xmldict['institution_amt'] = '0.0' 80 79 provider_amt = 0.0 81 self.pay_item_id = '0000' 80 self.pay_item_id = '0000' # must be provided by Interswitch 82 81 xmldict['provider_amt'] = 100 * provider_amt 83 82 xmldict['institution_item_name'] = self.context.category … … 121 120 site_name = SITE_NAME 122 121 currency = CURRENCY 123 pay_item_id = '0000' 122 pay_item_id = '0000' # must be provided by Interswitch 124 123 product_id = PRODUCT_ID 125 124 mac = ''
Note: See TracChangeset for help on using the changeset viewer.