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.

File:
1 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'
Note: See TracChangeset for help on using the changeset viewer.