Ignore:
Timestamp:
25 Feb 2008, 23:20:00 (17 years ago)
Author:
Henrik Bettermann
Message:

not type but category!

Das hat bei dir auch nicht funktionieren können.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/fceokene/waeup_custom/getPaymentsFolderInfo.py

    r3229 r3230  
    8282for payment in payment_records:
    8383    if payment.status == "paid":
    84         paid_fees += "%s_%s" % (payment.type,payment.session_id),
     84        paid_fees += "%s_%s" % (payment.category,payment.session_id),
     85#info['pf'] = paid_fees
    8586for payment in payment_records:
    8687    row = {}
     
    9192                                                        payment.date.strftime("%d/%m/%y %H:%M:%S"))
    9293    url = row['url'] = "%s/p%s" % (payments_path,payment.order_id[6:])
    93     row['is_requeryable'] = "%s_%s" % (payment.type,payment.session_id) not in paid_fees or str(member) in ('admin',)
     94    row['is_requeryable'] = "%s_%s" % (payment.category,payment.session_id) not in paid_fees or str(member) in ('admin',)
    9495    row['is_approvable'] = is_so and row['is_requeryable']
    9596    row['resp_desc'] = payment.resp_desc or 'Payment Process Interrupted'
Note: See TracChangeset for help on using the changeset viewer.