Ignore:
Timestamp:
29 Nov 2007, 11:51:25 (17 years ago)
Author:
Henrik Bettermann
Message:

customize forms

(can later be removed into base branch)

File:
1 edited

Legend:

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

    r2798 r2824  
    5757info['currency_id'] = '566'
    5858
    59 pay_item_id = "8300"
     59pay_item_id = "8302"
    6060info['type_code'] = sbrain.course  #type_code is redundant and will be removed soon
    6161info['bank'] = ''
     
    7373p_id = "p%s" % timestamp
    7474
     75interswitch_amount = 15000
     76info['surcharge'] = interswitch_amount/100
     77
    7578if student_id is None:
    7679    return context.REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url())
    7780
    78 if True or context.portal_url().find('uniben-demo.waeup.org') >-1 or\
    79    context.portal_url().find('uniben.waeup.org') >-1:
     81if True:
    8082    info['action'] = "https://webpay.interswitchng.com/paydirect/webpay/pay.aspx"
    8183else:
     
    122124    args[arg] = info[field]
    123125itotal = int(amount)*100
    124 interswitch_amount = 15000
    125126total_amount = itotal + interswitch_amount
    126127
Note: See TracChangeset for help on using the changeset viewer.