- Timestamp:
- 17 Aug 2021, 09:52:07 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/interswitch/browser.py
r16490 r16574 28 28 ) 29 29 from kofacustom.nigeria.interswitch.paydirectbrowser import ( 30 PAYDirectPageStudent, PAYDirectPageApplicant 30 PAYDirectPageStudent, PAYDirectPageApplicant, 31 StudentRefNumberSlip, ApplicantRefNumberSlip, 31 32 ) 32 33 from kofacustom.iuokada.students.interfaces import ICustomStudentOnlinePayment … … 277 278 # PAYDirect added on 19/05/2021 278 279 280 PAYDIRECT_HOST = 'orion.interswitchng.com' 281 PAYDIRECT_URL = '/bookonhold/bookonhold.asmx' 282 MERCHANT_ID = '8124' 283 279 284 class CustomPAYDirectPageStudent(PAYDirectPageStudent): 280 285 """Inform student how to proceed … … 282 287 grok.context(ICustomStudentOnlinePayment) 283 288 gateway_amt = GATEWAY_AMT 284 #merchant_id = MERCHANT_ID285 #gateway_url = PAYDIRECT_URL286 #gateway_host = PAYDIRECT_HOST289 merchant_id = MERCHANT_ID 290 gateway_url = PAYDIRECT_URL 291 gateway_host = PAYDIRECT_HOST 287 292 https = True 288 293 … … 292 297 grok.context(ICustomApplicantOnlinePayment) 293 298 gateway_amt = GATEWAY_AMT 294 #merchant_id = MERCHANT_ID295 #gateway_url = PAYDIRECT_URL296 #gateway_host = PAYDIRECT_HOST299 merchant_id = MERCHANT_ID 300 gateway_url = PAYDIRECT_URL 301 gateway_host = PAYDIRECT_HOST 297 302 https = True 303 304 class CustomStudentRefNumberSlip(StudentRefNumberSlip): 305 """Deliver a PDF slip of the context. 306 """ 307 merchant_id = MERCHANT_ID 308 309 class CustomApplicantRefNumberSlip(ApplicantRefNumberSlip): 310 """Deliver a PDF slip of the context. 311 """ 312 merchant_id = MERCHANT_ID
Note: See TracChangeset for help on using the changeset viewer.