Changeset 2824
- Timestamp:
- 29 Nov 2007, 11:51:25 (17 years ago)
- Location:
- WAeUP_SRP/fceokene/waeup_custom
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/fceokene/waeup_custom/pay_interswitch.py
r2798 r2824 57 57 info['currency_id'] = '566' 58 58 59 pay_item_id = "830 0"59 pay_item_id = "8302" 60 60 info['type_code'] = sbrain.course #type_code is redundant and will be removed soon 61 61 info['bank'] = '' … … 73 73 p_id = "p%s" % timestamp 74 74 75 interswitch_amount = 15000 76 info['surcharge'] = interswitch_amount/100 77 75 78 if student_id is None: 76 79 return context.REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url()) 77 80 78 if True or context.portal_url().find('uniben-demo.waeup.org') >-1 or\ 79 context.portal_url().find('uniben.waeup.org') >-1: 81 if True: 80 82 info['action'] = "https://webpay.interswitchng.com/paydirect/webpay/pay.aspx" 81 83 else: … … 122 124 args[arg] = info[field] 123 125 itotal = int(amount)*100 124 interswitch_amount = 15000125 126 total_amount = itotal + interswitch_amount 126 127
Note: See TracChangeset for help on using the changeset viewer.