Ignore:
Timestamp:
16 Jan 2015, 06:14:58 (10 years ago)
Author:
Henrik Bettermann
Message:

Remove obsolete customized pagetemplates.

Disable student payments with Interswitch.

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  
    5959    """
    6060    grok.context(ICustomApplicantOnlinePayment)
    61     grok.template('applicant_goto_interswitch')
    6261    action = POST_ACTION
    6362    site_name = SITE_NAME
     
    114113    product_id = PRODUCT_ID
    115114    pay_item_id = '101'
    116     mac = 'CEF793CBBE838AA0CBB29B74D571113B4EA6586D3BA77E7CFA0B95E278364EFC4526ED7BD255A366CDDE11F1F607F0F844B09D93B16F7CFE87563B2272007AB3'
     115    mac = '74424F1DFECD6058F153148255CDD55E16724B4F380ADB2C63C5D1D7A5675759010C8153DCB930AAF2D38903CBF7CE32B8A6BA2C16BBC46721DF2E3F3E4548E3'
    117116
    118117    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
    119124        error = self.init_update()
    120125        if error:
  • main/waeup.aaue/trunk/src/waeup/aaue/interswitch/tests.py

    r11868 r12480  
    106106        super(InterswitchTestsStudents, self).setUp()
    107107
    108     def test_interswitch_form(self):
     108    def disabled_test_interswitch_form(self):
    109109        self.app['configuration']['2004'].school_fee_1 = 6666.0
    110110        # Manager can access InterswitchForm
     
    128128        self.payment_url = self.browser.url
    129129        self.browser.getLink("CollegePAY", index=0).click()
    130         # The total amount to be processed by Interswitch
    131         # has been reduced by the Interswitch fee of 150 Nairas
    132130        self.assertMatches('...<input type="hidden" name="pay_item_id" value="101" />...',
    133131                           self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.