Changeset 15847 for main/kofacustom.skeleton/trunk
- Timestamp:
- 25 Nov 2019, 13:39:39 (5 years ago)
- Location:
- main/kofacustom.skeleton/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.skeleton/trunk/etc/site.zcml.in
r14996 r15847 46 46 /> 47 47 48 <!-- XMLRPC user for demo and testing49 Plaintext password is xmlrpcuser1 -->50 <principal id="zope.xmlrpcuser1"51 title="XMLRPC User 1"52 login="xmlrpcuser1"53 password="{SSHA}ZaL4-UiwmSu6AbLYY-yCS_8vtKpH5Hc6"54 password_manager="SSHA"55 />56 <grant role="waeup.xmlrpcusers1"57 principal="zope.xmlrpcuser1" />58 59 48 <!-- Replace the following directive if you do not want 60 49 public access --> -
main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/etranzact/browser.py
r15756 r15847 22 22 from kofacustom.nigeria.etranzact.studentsbrowser import ( 23 23 EtranzactPageStudent, EtranzactReceiveResponseStudent, 24 EtranzactRequestPaymentStatusPageStudent) 24 EtranzactRequestPaymentStatusPageStudent, 25 webconnect_module_activated) 25 26 from kofacustom.nigeria.etranzact.payoutletbrowser import ( 26 27 EtranzactEnterPinPageStudent, EtranzactEnterPinPageApplicant, 27 EtranzactQueryHistoryPageStudent, EtranzactQueryHistoryPageApplicant) 28 EtranzactQueryHistoryPageStudent, EtranzactQueryHistoryPageApplicant, 29 payoutlet_module_activated) 28 30 from kofacustom.nigeria.etranzact.payoutletwebservice import NigeriaPaymentDataWebservice 29 31 … … 52 54 # Already now it becomes an Etranzact payment. We set the net amount 53 55 # and add the gateway amount. 56 if not webconnect_module_activated( 57 self.context.__parent__.__parent__.year, self.context): 58 return _("Etranzact payments deactivated.") 54 59 if not self.context.r_company: 55 60 self.context.net_amt = self.context.amount_auth … … 91 96 # Already now it becomes an Etranzact payment. We set the net amount 92 97 # and add the gateway amount. 98 if not webconnect_module_activated( 99 self.context.student.current_session, self.context): 100 return _("Etranzact payments deactivated.") 93 101 if not self.context.r_company: 94 102 self.context.net_amt = self.context.amount_auth -
main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/interfaces.py
r15614 r15847 67 67 ) 68 68 69 interswitch_enabled = schema.Bool( 70 title = _(u'Interswitch integration enabled'), 71 default = False, 72 ) 73 74 etranzact_webconnect_enabled = schema.Bool( 75 title = _(u'Etranzact Webconnect integration enabled'), 76 default = False, 77 ) 78 79 etranzact_payoutlet_enabled = schema.Bool( 80 title = _(u'Etranzact Payoutlet integration enabled'), 81 default = False, 82 ) 83 69 84 70 85 # Additional fees in custom package add here -
main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/remita/browser.py
r15756 r15847 88 88 89 89 def update(self): 90 if not module_activated(self.context.student.current_session): 90 if not module_activated( 91 self.context.student.current_session, self.context): 91 92 return 92 93 self.orderId = self.context.p_id … … 154 155 155 156 def update(self): 156 if not module_activated(self.context.__parent__.__parent__.year): 157 if not module_activated( 158 self.context.__parent__.__parent__.year, self.context): 157 159 return 158 160 self.orderId = self.context.p_id
Note: See TracChangeset for help on using the changeset viewer.