Changeset 5195


Ignore:
Timestamp:
14 May 2010, 14:57:54 (15 years ago)
Author:
Henrik Bettermann
Message:

fix unknown_code

File:
1 edited

Legend:

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

    r5190 r5195  
    3737info['payment_doc'] = payment
    3838info['is_online_pmt'] = io = payment.resp_code in ('0','00','AP','IP',)
    39 info['is_request_pmt'] = io = payment.resp_code in ('RP',)
     39info['is_request_pmt'] = ir = payment.resp_code in ('RP',)
    4040info['is_scratchcard_pmt'] = isc =  payment.resp_code == 'SC'
    4141info['is_interrupted'] = ii = payment.resp_code == ''
    42 info['unknown_code'] = not (io or isc or ii)
     42info['unknown_code'] = not (io or isc or ii or ir)
    4343info['resp_code'] = payment.resp_code
    4444info['resp_desc'] = payment.resp_desc
Note: See TracChangeset for help on using the changeset viewer.