Changeset 8698 for main/waeup.aaue
- Timestamp:
- 12 Jun 2012, 16:52:22 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/etranzact/browser.py
r8682 r8698 21 21 from xml.dom.minidom import parseString 22 22 import grok 23 from waeup.kofa.interfaces import IUniversity 23 24 from waeup.kofa.browser.layout import KofaPage, UtilityView 24 25 from waeup.kofa.students.viewlets import ApprovePaymentActionButton as APABStudent … … 27 28 from waeup.aaue.students.interfaces import ICustomStudentOnlinePayment 28 29 from waeup.aaue.applicants.interfaces import ICustomApplicantOnlinePayment 30 31 # Kofa's webservice 32 33 class KofaFeeRequest(grok.View): 34 grok.context(IUniversity) 35 grok.name('feerequest') 36 grok.require('waeup.Public') 37 38 def update(self, PAYEE_ID=None): 39 if PAYEE_ID == 'p1331829148308': 40 self.output = 'PayeeName=John Tester&Amount=9500.00' 41 else: 42 self.output = '-1' 43 return 44 45 def render(self): 46 return self.output 47 48 49 # Requerying eTranzact payments 29 50 30 51 #TERMINAL_ID = '0330000046'
Note: See TracChangeset for help on using the changeset viewer.