Ignore:
Timestamp:
19 May 2021, 07:47:21 (4 years ago)
Author:
Henrik Bettermann
Message:

Implement PAYDirect Bank Branch payment.

Location:
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/payoutletbrowser.py

    r16246 r16484  
    8080    grok.context(INigeriaStudentOnlinePayment)
    8181    grok.require('waeup.payStudent')
    82     grok.order(3)
     82    grok.order(10)
    8383    icon = 'actionicon_pay.png'
    8484    text = _('Pay via Etranzact PayOutlet')
     
    102102    grok.require('waeup.payStudent')
    103103
    104     buttonname = _('Submit to Etranzact')
     104    buttonname = _('Requery now')
    105105    label = _('Requery Etranzact PayOutlet History')
    106106    action = 'query_payoutlet_history'
     
    131131    grok.template('enterpin')
    132132
    133     buttonname = _('Submit to Etranzact')
     133    buttonname = _('Requery now')
    134134    label = _('Requery Etranzact PayOutlet History')
    135135    action = 'query_payoutlet_history'
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/studentsbrowser.py

    r16379 r16484  
    5252
    5353class EtranzactActionButtonStudent(ManageActionButton):
    54     grok.order(1)
     54    grok.order(8)
    5555    grok.context(INigeriaOnlinePayment)
    5656    grok.view(NOPDPStudent)
     
    7070
    7171class EtranzactRequeryActionButtonStudent(ManageActionButton):
    72     grok.order(2)
     72    grok.order(9)
    7373    grok.context(INigeriaOnlinePayment)
    7474    grok.view(NOPDPStudent)
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/etranzact/tests.py

    r16378 r16484  
    261261        self.browser.getLink("Pay via Etranzact PayOutlet").click()
    262262        self.browser.getControl(name="confirmation_number").value = '600854291572447457669'
    263         self.browser.getControl("Submit to Etranzact").click()
     263        self.browser.getControl("Requery now").click()
    264264        # This response is strange
    265265        self.assertTrue('-3:Wrong Setup' in self.browser.contents)
     
    267267        # This confirmation number exists
    268268        self.browser.getControl(name="confirmation_number").value = '500854291572447457669'
    269         self.browser.getControl("Submit to Etranzact").click()
     269        self.browser.getControl("Requery now").click()
    270270        self.assertTrue('Wrong amount' in self.browser.contents)
    271271        # Some attributes have been set
Note: See TracChangeset for help on using the changeset viewer.