Changeset 14245 for main/kofacustom.nigeria/trunk/src/kofacustom/nigeria
- Timestamp:
- 31 Oct 2016, 08:50:38 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/interswitch/helpers.py
r13710 r14245 117 117 notify(grok.ObjectModifiedEvent(payment)) 118 118 return False, msg, log 119 if round(payment.r_amount_approved, 2) != round(payment.amount_auth, 2):119 if round(payment.r_amount_approved, 0) != round(payment.amount_auth, 0): 120 120 msg = _('Callback amount does not match.') 121 121 log = 'wrong callback for %s payment %s: %s' % ( … … 187 187 notify(grok.ObjectModifiedEvent(payment)) 188 188 return False, msg, log 189 if round(payment.r_amount_approved, 2) != round(payment.amount_auth, 2):189 if round(payment.r_amount_approved, 0) != round(payment.amount_auth, 0): 190 190 msg = _('Callback amount does not match.') 191 191 log = 'wrong callback for %s payment %s: %s' % (
Note: See TracChangeset for help on using the changeset viewer.