Changeset 16629 for main/kofacustom.iuokada/trunk/src/kofacustom/iuokada
- Timestamp:
- 20 Sep 2021, 07:16:50 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/interswitch/browser.py
r16628 r16629 30 30 PAYDirectPageStudent, PAYDirectPageApplicant, 31 31 StudentRefNumberSlip, ApplicantRefNumberSlip, 32 PAYDirectActionButtonApplicant, 33 PAYDirectActionButtonStudent 32 34 ) 33 35 from kofacustom.iuokada.students.interfaces import ICustomStudentOnlinePayment … … 282 284 MERCHANT_ID = '8124' 283 285 286 PAYDIRECTCATS = { 287 } 288 289 class CustomPAYDirectActionButtonStudent(PAYDirectActionButtonStudent): 290 291 @property 292 def target_url(self): 293 if self.context.p_category not in PAYDIRECTCATS.keys(): 294 return '' 295 super(CustomPAYDirectActionButtonStudent, self).target_url 296 return 297 298 class CustomPAYDirectActionButtonApplicant(PAYDirectActionButtonApplicant): 299 300 @property 301 def target_url(self): 302 return '' 303 284 304 class CustomPAYDirectPageStudent(PAYDirectPageStudent): 285 305 """Inform student how to proceed
Note: See TracChangeset for help on using the changeset viewer.