Changeset 7776 for WAeUP_SRP/trunk
- Timestamp:
- 7 Mar 2012, 12:07:00 (13 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_uniben
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_uniben/getPaymentsFolderInfo.py
r7775 r7776 119 119 row['resp_desc'] = payment.resp_desc or 'Payment Process Interrupted' 120 120 row['trans_ref'] = payment.order_id 121 row['session'] = payment.session_id 122 row['category'] = payment.category 123 row['amount'] = payment.amount 121 124 if row['is_requeryable']: 122 row['callback_url'] = "%(url)s/interswitch_cb" % row 125 row['callback_url_inter'] = "%(url)s/interswitch_cb" % row 126 row['callback_url_tranzact'] = "%(url)s/tranzact_cb" % row 123 127 # if payment.category == 'schoolfee': 124 128 # row['callback_url'] = "%(url)s/interswitch_cb" % row … … 129 133 href += '?transRef=%(trans_ref)s' % row 130 134 href += '&prodID=%(prod_id)s' % info 131 href += '&redirectURL=%(callback_url)s' % row 132 row['href'] = href 135 href += '&redirectURL=%(callback_url_inter)s' % row 136 row['href_inter'] = href 137 138 href = 'enter_tranzact_pin' 139 href += '?category=%(category)s' % row 140 href += '?session=%(session)s' % row 141 href += '&amount=%(amount)s' % row 142 href += '&redirectURL=%(callback_url_tranzact)s' % row 143 row['href_tranzact'] = href 144 133 145 if payment.status == 'paid': 134 146 row['confirmed'] = 'active' -
WAeUP_SRP/trunk/skins/waeup_uniben/payments_view.pt
r7775 r7776 48 48 <td> 49 49 <a tal:condition="row/is_requeryable" 50 tal:attributes="href row/href ;50 tal:attributes="href row/href_inter; 51 51 onclick python:'return window.confirm(\'%s\')' %(cpsmcat('Are you sure?'), );" 52 52 > 53 [requery ]53 [requery Interswitch] 54 54 </a> 55 </td> 56 <td> 57 <a tal:condition="row/is_requeryable" 58 tal:attributes="href row/href_tranzact; 59 onclick python:'return window.confirm(\'%s\')' %(cpsmcat('Are you sure?'), );" 60 > 61 [requery eTranzact] 62 </a> 55 63 </td> 56 64 <td>
Note: See TracChangeset for help on using the changeset viewer.