- Timestamp:
- 23 Dec 2022, 17:19:33 (2 years ago)
- Location:
- main/kofacustom.nigeria/branches/uli-paypal/src/kofacustom/nigeria
- Files:
-
- 10 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/branches/uli-paypal/src/kofacustom/nigeria/configure.zcml
r8891 r17239 6 6 --> 7 7 <include package="waeup.kofa" /> 8 <include package="kofacustom.nigeria" file="meta.zcml" /> 8 9 <include package="kofacustom.nigeria" file="locales.zcml" /> 9 10 <grok:grok package="." /> -
main/kofacustom.nigeria/branches/uli-paypal/src/kofacustom/nigeria/ftesting.zcml
r8852 r17239 2 2 xmlns="http://namespaces.zope.org/zope" 3 3 xmlns:kofa="http://namespaces.waeup.org/kofa" 4 xmlns:kofacustomng="http://namespaces.waeup.org/kofacustomng" 4 5 i18n_domain="kofacustom.nigeria" 5 6 package="kofacustom.nigeria" … … 17 18 <kofa:datacenter 18 19 path="../../../parts/test/datacenter" /> 20 21 <!-- Where can the paypal config be found --> 22 <kofacustomng:paypalconf 23 path="../../../etc/paypal-testing.conf" /> 19 24 20 25 -
main/kofacustom.nigeria/branches/uli-paypal/src/kofacustom/nigeria/interfaces.py
r17215 r17239 79 79 ) 80 80 81 # Define a validation method for JAMB reg numbers 81 # Define a validation method for JAMB reg numbers 82 82 class NotJAMBRegNumber(schema.ValidationError): 83 83 __doc__ = u"Invalid JAMB registration number" … … 156 156 ) 157 157 158 paypal_enabled = schema.Bool( 159 title = _(u'Paypal integration enabled'), 160 default = False, 161 ) 162 163 158 164 class ICustomSessionConfigurationAdd(ICustomSessionConfiguration): 159 165 """A session configuration object in add mode. -
main/kofacustom.nigeria/branches/uli-paypal/src/kofacustom/nigeria/payments/interfaces.py
r16232 r17239 80 80 (_('Etranzact'), 'etranzact'), 81 81 (_('Remita'), 'remita'), 82 (_('Paypal'), 'paypal'), 82 83 (_('Scratch Card'), 'sc'), 83 84 (_('Manifest'), 'manifest'), … … 85 86 (_('unknown'), 'unknown'), 86 87 ) 88 ) 89 90 r_payment_link = schema.TextLine( 91 title = _(u'Response Payment Authorization Link'), 92 default = None, 93 required = False, 94 readonly = False, 87 95 ) 88 96 -
main/kofacustom.nigeria/branches/uli-paypal/src/kofacustom/nigeria/students/tests/test_export.py
r16483 r17239 126 126 'p_id,p_item,p_level,p_option,p_session,p_split_data,p_state,payment_date,provider_amt,' 127 127 'r_amount_approved,r_card_num,r_code,r_company,r_desc,' 128 'r_pay_reference, thirdparty_amt,student_id,state,'128 'r_pay_reference,r_payment_link,thirdparty_amt,student_id,state,' 129 129 'current_session\r\n' 130 130 '666,12.12,2012-04-01 13:12:01#,,,schoolfee,[],1,my-id,p-item,' 131 131 '100,,%s,,paid,2012-04-01 14:12:01#,,12.12,' 132 '789,r-code,interswitch,,,, A111111,created,2012\r\n' % (curr_year-6),132 '789,r-code,interswitch,,,,,A111111,created,2012\r\n' % (curr_year-6), 133 133 result 134 134 ) … … 191 191 'p_category,p_combi,p_current,p_id,p_item,p_level,p_option,p_session,p_split_data,p_state,' 192 192 'payment_date,provider_amt,r_amount_approved,r_card_num,r_code,' 193 'r_company,r_desc,r_pay_reference, thirdparty_amt,student_id,'193 'r_company,r_desc,r_pay_reference,r_payment_link,thirdparty_amt,student_id,' 194 194 'matric_number,reg_number,firstname,middlename,lastname,sex,state,' 195 195 'current_session,entry_session,entry_mode,faccode,depcode,certcode,lga\r\n' 196 196 197 197 '666,12.12,%s-04-01 13:12:01#,,,,schoolfee,[],1,my-id,p-item,' 198 '100,,%s,,paid,%s-04-01 14:12:01#,,12.12,,r-code,,,,, A111111,'198 '100,,%s,,paid,%s-04-01 14:12:01#,,12.12,,r-code,,,,,,A111111,' 199 199 '234,123,Anna,M.,Tester,f,created,2012,2010,ug_ft,NA,NA,CERT1,\r\n' 200 200 % (curr_year-6, curr_year-6, curr_year-6)
Note: See TracChangeset for help on using the changeset viewer.