Ignore:
Timestamp:
30 Aug 2017, 06:02:46 (7 years ago)
Author:
Henrik Bettermann
Message:

It seems that some banks add a small transaction fee < 10 Naira which we don't know in advance.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/helpers.py

    r14806 r14820  
    122122        notify(grok.ObjectModifiedEvent(payment))
    123123        return False, msg, log
    124     if round(payment.r_amount_approved, 0) != round(payment.amount_auth, 0):
     124    if round(payment.r_amount_approved/10.0, 0) != round(
     125        payment.amount_auth/10.0, 0):
    125126        msg = _('Response amount does not match.')
    126127        log = 'wrong response for %s payment %s: %s' % (
Note: See TracChangeset for help on using the changeset viewer.