Changeset 12480 for main/waeup.aaue/trunk
- Timestamp:
- 16 Jan 2015, 06:14:58 (10 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/interswitch
- Files:
-
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py
r11934 r12480 59 59 """ 60 60 grok.context(ICustomApplicantOnlinePayment) 61 grok.template('applicant_goto_interswitch')62 61 action = POST_ACTION 63 62 site_name = SITE_NAME … … 114 113 product_id = PRODUCT_ID 115 114 pay_item_id = '101' 116 mac = ' CEF793CBBE838AA0CBB29B74D571113B4EA6586D3BA77E7CFA0B95E278364EFC4526ED7BD255A366CDDE11F1F607F0F844B09D93B16F7CFE87563B2272007AB3'115 mac = '74424F1DFECD6058F153148255CDD55E16724B4F380ADB2C63C5D1D7A5675759010C8153DCB930AAF2D38903CBF7CE32B8A6BA2C16BBC46721DF2E3F3E4548E3' 117 116 118 117 def update(self): 118 119 self.flash('Payment method not yet configured.', type='danger') 120 self.redirect(self.url(self.context, '@@index')) 121 return 122 123 119 124 error = self.init_update() 120 125 if error: -
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/tests.py
r11868 r12480 106 106 super(InterswitchTestsStudents, self).setUp() 107 107 108 def test_interswitch_form(self):108 def disabled_test_interswitch_form(self): 109 109 self.app['configuration']['2004'].school_fee_1 = 6666.0 110 110 # Manager can access InterswitchForm … … 128 128 self.payment_url = self.browser.url 129 129 self.browser.getLink("CollegePAY", index=0).click() 130 # The total amount to be processed by Interswitch131 # has been reduced by the Interswitch fee of 150 Nairas132 130 self.assertMatches('...<input type="hidden" name="pay_item_id" value="101" />...', 133 131 self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.