Changeset 16723 for main/kofacustom.unidel/trunk/src/kofacustom/unidel
- Timestamp:
- 25 Nov 2021, 14:23:58 (3 years ago)
- Location:
- main/kofacustom.unidel/trunk/src/kofacustom/unidel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.unidel/trunk/src/kofacustom/unidel/interfaces.py
r16721 r16723 68 68 69 69 interswitch_enabled = schema.Bool( 70 title = _(u'Interswitch integration enabled'), 71 default = False, 70 title = _(u'Interswitch Collegepay integration enabled'), 71 default = True, 72 ) 73 74 interswitch_paydirect_enabled = schema.Bool( 75 title = _(u'Interswitch Paydirect integration enabled'), 76 default = True, 72 77 ) 73 78 -
main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/browser.py
r16721 r16723 32 32 33 33 PRODUCT_ID = '' # must be provided by Interswitch 34 SITE_NAME = 'unidel -kofa.waeup.org'34 SITE_NAME = 'unidel.waeup.org' 35 35 PROVIDER_ACCT = '00000000' 36 36 PROVIDER_BANK_ID = '00' 37 37 PROVIDER_ITEM_NAME = 'WAeAC' 38 INSTITUTION_NAME = ' Skeleton'38 INSTITUTION_NAME = 'UNIDEL' 39 39 CURRENCY = '566' 40 GATEWAY_AMT = 150.040 GATEWAY_AMT = 300.0 41 41 MAC = '' # must be provided by Interswitch 42 42 … … 229 229 gateway_url = URL 230 230 mac = MAC 231 232 # PAYDirect 233 234 from kofacustom.nigeria.interswitch.paydirectbrowser import ( 235 PAYDirectPageStudent, PAYDirectPageApplicant, 236 StudentRefNumberSlip, ApplicantRefNumberSlip, 237 ) 238 239 from kofacustom.nigeria.interswitch.tests import ( 240 PAYDIRECT_URL, PAYDIRECT_HOST, MERCHANT_ID) 241 242 #PAYDIRECT_HOST = 'orion.interswitchng.com' 243 #PAYDIRECT_URL = '/bookonhold/bookonhold.asmx' 244 #MERCHANT_ID = '' 245 246 class CustomPAYDirectPageStudent(PAYDirectPageStudent): 247 """Inform student how to proceed 248 """ 249 grok.context(ICustomStudentOnlinePayment) 250 gateway_amt = GATEWAY_AMT 251 merchant_id = MERCHANT_ID 252 gateway_url = PAYDIRECT_URL 253 gateway_host = PAYDIRECT_HOST 254 https = True 255 256 class CustomPAYDirectPageApplicant(PAYDirectPageApplicant): 257 """ Inform applicant how to proceed. 258 """ 259 grok.context(ICustomApplicantOnlinePayment) 260 gateway_amt = GATEWAY_AMT 261 merchant_id = MERCHANT_ID 262 gateway_url = PAYDIRECT_URL 263 gateway_host = PAYDIRECT_HOST 264 https = True 265 266 class CustomStudentRefNumberSlip(StudentRefNumberSlip): 267 """Deliver a PDF slip of the context. 268 """ 269 merchant_id = MERCHANT_ID 270 271 class CustomApplicantRefNumberSlip(ApplicantRefNumberSlip): 272 """Deliver a PDF slip of the context. 273 """ 274 merchant_id = MERCHANT_ID
Note: See TracChangeset for help on using the changeset viewer.