Changeset 16421 for main/kofacustom.dspg/trunk
- Timestamp:
- 22 Mar 2021, 10:11:09 (4 years ago)
- Location:
- main/kofacustom.dspg/trunk/src/kofacustom/dspg
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/browser.py
r16418 r16421 30 30 from kofacustom.dspg.applicants.interfaces import ICustomApplicantOnlinePayment 31 31 from kofacustom.dspg.interfaces import MessageFactory as _ 32 from kofacustom.dspg.students.utils import MICROSOFT_FEE 32 33 33 34 PRODUCT_ID = '7269' # must be provided by Interswitch … … 145 146 tech_fee = 1200.0 146 147 if student.state == RETURNING: 147 microsoft_fee = 7000.0148 microsoft_fee = MICROSOFT_FEE 148 149 if student.faccode == 'SPAT': 149 150 xmldict['institution_acct'] = '1015220292' -
main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/tests/test_utils.py
r16338 r16421 110 110 self.assertEqual(payment.p_level, 200) 111 111 self.assertEqual(payment.p_session, 2005) 112 self.assertEqual(payment.amount_auth, 9999.0)112 self.assertEqual(payment.amount_auth, 16999.0) # now includes Microsoft Fee 113 113 -
main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/utils.py
r16416 r16421 24 24 from kofacustom.dspg.interfaces import MessageFactory as _ 25 25 26 MICROSOFT_FEE = 7000.0 26 27 27 28 def local(student): … … 212 213 300, 310, 320, 330, 600, 610, 620, 630): 213 214 amount -= 7000 215 amount += MICROSOFT_FEE 214 216 elif student.is_postgrad and student.state == PAID: 215 217 # Returning postgraduate students also pay for the
Note: See TracChangeset for help on using the changeset viewer.