Changeset 14276 for main/kofacustom.skeleton
- Timestamp:
- 15 Nov 2016, 09:53:58 (8 years ago)
- Location:
- main/kofacustom.skeleton/trunk/src/kofacustom/skeleton
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/applicants/tests/test_browser.py
r13983 r14276 75 75 layer = FunctionalLayer 76 76 77 def test_applicatio _slip(self):77 def test_application_slip(self): 78 78 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 79 79 self.slip_path = self.view_path + '/application_slip.pdf' -
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 = '' -
main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/students/tests/test_export.py
r13716 r14276 59 59 'next_kin_address,next_kin_name,next_kin_phone,next_kin_relation,' 60 60 'nysc_lga,nysc_location,nysc_year,officer_comment,' 61 'perm_address,personal_updated,phone,physical_clearance_date,reg_number,' 61 'perm_address,personal_updated,phone,' 62 'physical_clearance_date,provisionally_cleared,reg_number,' 62 63 'religion,scd_sit_date,scd_sit_fname,scd_sit_no,' 63 64 'scd_sit_results,scd_sit_type,sex,student_id,' … … 67 68 'anna@sample.com,,,,,,,,,,,,,Anna,,,,,,"[(\'printing_craft_practice\', \'A1\')]"' 68 69 ',,,,,,,,,,,,,,,,Tester,,,234,M.,NG,,,,,,,,,' 69 '"Studentroad 21\nLagos 123456\n",,+234-123-12345#,, 123,,,,,'70 '"Studentroad 21\nLagos 123456\n",,+234-123-12345#,,,123,,,,,' 70 71 '"[(\'printing_craft_practice\', \'A1\')]",,f,A111111,0,,,created,' 71 72 '[u\'2012-11-06 13:16:41 WAT - Record created by system\'],'
Note: See TracChangeset for help on using the changeset viewer.