Ignore:
Timestamp:
13 May 2010, 10:20:33 (15 years ago)
Author:
Henrik Bettermann
Message:

implement request payment

File:
1 edited

Legend:

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

    r4530 r5190  
    3636payment = context.getContent()
    3737info['payment_doc'] = payment
    38 info['is_online_pmt'] = io = payment.resp_code in ('0','00','AP','IP')
     38info['is_online_pmt'] = io = payment.resp_code in ('0','00','AP','IP',)
     39info['is_request_pmt'] = io = payment.resp_code in ('RP',)
    3940info['is_scratchcard_pmt'] = isc =  payment.resp_code == 'SC'
    4041info['is_interrupted'] = ii = payment.resp_code == ''
Note: See TracChangeset for help on using the changeset viewer.