Changeset 16628 for main/kofacustom.iuokada/trunk/src/kofacustom
- Timestamp:
- 20 Sep 2021, 07:13:41 (3 years ago)
- Location:
- main/kofacustom.iuokada/trunk/src/kofacustom/iuokada
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/interswitch/browser.py
r16624 r16628 30 30 PAYDirectPageStudent, PAYDirectPageApplicant, 31 31 StudentRefNumberSlip, ApplicantRefNumberSlip, 32 PAYDirectActionButtonApplicant,33 PAYDirectActionButtonStudent34 32 ) 35 33 from kofacustom.iuokada.students.interfaces import ICustomStudentOnlinePayment … … 284 282 MERCHANT_ID = '8124' 285 283 286 PAYDIRECTCATS = {287 }288 289 class CustomPAYDirectActionButtonStudent(PAYDirectActionButtonStudent):290 291 @property292 def target_url(self):293 if self.context.p_category not in PAYDIRECTCATS.keys():294 return ''295 super(CustomPAYDirectActionButtonStudent, self).target_url296 return297 298 class CustomPAYDirectActionButtonApplicant(PAYDirectActionButtonApplicant):299 300 @property301 def target_url(self):302 return ''303 304 284 class CustomPAYDirectPageStudent(PAYDirectPageStudent): 305 285 """Inform student how to proceed -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/browser.py
r16627 r16628 287 287 ticket.p_state == 'paid' and \ 288 288 ticket.p_session in sessions: 289 sf_paid[ticket.p_session] += ticket. amount_auth289 sf_paid[ticket.p_session] += ticket.net_amt 290 290 return sf_paid, total_sf 291 291
Note: See TracChangeset for help on using the changeset viewer.