Changeset 8392 for WAeUP_SRP


Ignore:
Timestamp:
9 May 2012, 10:30:38 (12 years ago)
Author:
Henrik Bettermann
Message:

Render correct payment slip and distinguish more clearaly between eTranzact and Interswitch payments.

Location:
WAeUP_SRP/trunk/skins/waeup_uniben
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_uniben/getPaymentInfo.py

    r8315 r8392  
    3838info['is_im_pmt'] = im = payment.resp_code in ('IM',)
    3939info['is_etranzact_pmt'] = ie = payment.type == 'etranzact'
    40 info['is_online_pmt'] = io = payment.resp_code in ('0','00','AP','IP',)
     40info['is_interswitch_pmt'] = io = payment.resp_code in ('0','00','AP','IP',) and payment.type == 'online'
    4141info['is_request_pmt'] = ir = payment.resp_code in ('RP',)
    4242info['is_scratchcard_pmt'] = isc =  payment.resp_code == 'SC'
  • WAeUP_SRP/trunk/skins/waeup_uniben/payment_receipt.pt

    r8315 r8392  
    8282        </metal:block>
    8383
    84         <metal:block tal:condition="info/is_online_pmt">
     84        <metal:block tal:condition="info/is_interswitch_pmt">
    8585        <h3>Interswitch Payment Receipt</h3>
    8686        <br />
Note: See TracChangeset for help on using the changeset viewer.