Changeset 9432 for main/waeup.futminna


Ignore:
Timestamp:
26 Oct 2012, 21:46:06 (12 years ago)
Author:
Henrik Bettermann
Message:

Log payment category.

Location:
main/waeup.futminna/trunk/src/waeup/futminna/interswitch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.futminna/trunk/src/waeup/futminna/interswitch/browser.py

    r9410 r9432  
    118118    payment.payment_date = datetime.utcnow()
    119119    msg = _('Successful callback received')
    120     log = 'valid callback for payment %s: %s' % (payment.p_id, sr)
     120    log = 'valid callback for %s payment %s: %s' % (
     121        payment.p_category, payment.p_id, sr)
    121122    return True, msg, log
    122123
  • main/waeup.futminna/trunk/src/waeup/futminna/interswitch/tests.py

    r9431 r9432  
    5454        self.assertMatches('...Payment ticket created...',
    5555                           self.browser.contents)
    56 
    57     def test_interswitch_form(self):
    58         # School fee ticket already created in setUp method
    5956        ctrl = self.browser.getControl(name='val_id')
    6057        value = ctrl.options[0]
     
    6764        self.payment_url = self.browser.url
    6865
     66    def test_interswitch_form(self):
    6967        # Manager can access InterswitchForm
    7068        self.browser.getLink("CollegePAY", index=0).click()
Note: See TracChangeset for help on using the changeset viewer.