- Timestamp:
- 29 Dec 2024, 21:10:50 (12 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/interswitch/browser.py
r17936 r17978 275 275 PAY_ITEM_ID = 'Default_Payable_MX104253' 276 276 277 SPLITT_ACCOUNTS = { 278 'schoolfee': [{"alias":"espu school fees account","percentage":"100","description":"Tuition Exams Fee","isPrimary":"true"},], 279 'clearance': [{"alias":"espu school fees account","percentage":"85","description":"Acceptance Fee","isPrimary":"true"}, 280 {"alias":"waeac","percentage":"15","description":"WAEAC Fee"},], 281 # 'bed_allocation': 'Accommodation Booking Fee', 282 'hostel_maintenance': [{"alias":"espu school fees account","description":"Hostel Maintenance Fee","isPrimary":"true"},], 283 #'application': 'Application Fee', 284 'ict_entre': [{"alias":"espu school fees account","percentage":"70","description":"ICT and Entrepreneur Fee","isPrimary":"true"}, 285 {"alias":"waeac","percentage":"30","description":"Provider_amt"},], 286 'logbook_combo': [{"alias":"espu school fees account","percentage":"100","description":"Logbook Fee","isPrimary":"true"},], 287 'siwess_combo': [{"alias":"espu school fees account","description":"SIWES Fee","percentage":"100","isPrimary":"true"},], 288 'transcript': [{"alias":"espu school fees account","percentage":"100","description":"Transcript Fee","isPrimary":"true"},], 289 #'certificate': 'Certificate Fee', 290 'certificate_confirm': [{"alias":"espu school fees account","percentage":"100","description":"Certificate Confirmation Fee","isPrimary":"true"},], 291 'late_registration': [{"alias":"espu school fees account","percentage":"100","description":"Late Course Registration Fee","isPrimary":"true"},], 292 'final_clearance': [{"alias":"espu school fees account","percentage":"100","description":"Final Clearance Fee","isPrimary":"true"},], 293 'union': [{"alias":"esp sug","percentage":"100","description":"Student Union Dues","isPrimary":"true"},], 294 'admission_checking': [{"alias":"espu school fees account","percentage":"100","description":"Admission Checking Fee,","isPrimary":"true"},], 295 'medical': [{"alias":"espu school fees account","percentage":"100","description":"Medical Lab. Test Fee","isPrimary":"true"},], 296 'conv_nd': [{"alias":"espu school fees account","percentage":"100","description":"ND Convocation Fee","isPrimary":"true"},], 297 'conv_hnd': [{"alias":"espu school fees account","percentage":"100","description":"HND Convocation Fee","isPrimary":"true"},], 298 'nhis': [{"alias":"esp nhis","percentage":"100","description":"Tiship Fee","isPrimary":"true"},], 299 'coc': [{"alias":"espu school fees account","percentage":"100","description":"Change of Course Fee","isPrimary":"true"},], 300 'damages': [{"alias":"espu school fees account","percentage":"100","description":"Damages Fee","isPrimary":"true"},], 301 'project_bind': [{"alias":"espu school fees account","percentage":"100","description":"Project Binding Fee","isPrimary":"true"},], 302 'maintenance': [{"alias":"espu school fees account","percentage":"100","description":"Maintenance & Utility Fee","isPrimary":"true"},], 303 #'cyber': 'Cyber Security', 304 'ispon': [{"alias":"esp/ispon safety pp","percentage":"100","description":"ISPON Safety Fee","isPrimary":"true"},], 305 'indigene': [{"alias":"espu school fees account","percentage":"100","description":"Non-State Indigene Fee","isPrimary":"true"},], 306 'develop': [{"alias":"espu school fees account","percentage":"100","description":"Development Fee","isPrimary":"true"},], 307 'sport': [{"alias":"espu school fees account","percentage":"100","description":"Sport Development Fee","isPrimary":"true"},], 308 'gown': [{"alias":"espu school fees account","percentage":"100","description":"Matriculation Gown Fee","isPrimary":"true"},], 309 'global_practics': [{"alias":"espu school fees account","percentage":"100","description":"Global Practice Fee","isPrimary":"true"},], 310 } 311 277 312 class CustomWebCheckoutPageStudent(WebCheckoutPageStudent): 278 313 """ View which sends a POST request to the Interswitch … … 287 322 product_id = PRODUCT_ID 288 323 324 @property 325 def split_accounts(self): 326 sa = SPLITT_ACCOUNTS.get(self.context.p_category, None) 327 return str(sa) 328 289 329 class CustomWebCheckoutPageApplicant(WebCheckoutPageApplicant): 290 330 """ View which sends a POST request to the Interswitch … … 297 337 merchant_code = MERCHANT_CODE 298 338 339 @property 340 def split_accounts(self): 341 sa = [{"alias": "espu school fees account","percentage":"","description":"Application Fee","isPrimary":"true"},] 342 return str(sa) 343 299 344 class CustomWebCheckoutConfirmTransactionStudent(WebCheckoutConfirmTransactionStudent): 300 345 """ Request webservice view for the WebCheckout gateway
Note: See TracChangeset for help on using the changeset viewer.