Ignore:
Timestamp:
13 Dec 2022, 18:46:57 (22 months ago)
Author:
Henrik Bettermann
Message:

Remove LPNG parameters.

Add first test.

File:
1 edited

Legend:

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

    r17219 r17221  
    414414        return False, msg, log
    415415
    416     # A typical JSON response ?????????????????
    417 
    418     #payRef  "FBN|WEB|MX76823|13-12-2022|935097929|608001"
    419     #txnref  "p6709347986663"
    420     #amount  "10000"
    421     #apprAmt "10000"
    422     #resp    "00"
    423     #desc    "Approved+by+Financial+Institution"
    424     #retRef  "814212374638"
    425     #cardNum ""
    426     #mac ""
     416    # A typical JSON response (test payment of Hector)
     417
     418    #{u'SplitAccounts': [],
     419    #u'RemittanceAmount': 0,
     420    #u'MerchantReference': u'p6709347986663',
     421    #u'PaymentReference': u'FBN|WEB|MX76823|13-12-2022|935097929|608001',
     422    #u'TransactionDate': u'2022-12-13T01:34:21',
     423    #u'RetrievalReferenceNumber': u'814212374638',
     424    #u'ResponseDescription': u'Approved by Financial Institution',
     425    #u'Amount': 10000,
     426    #u'CardNumber': u'',
     427    #u'ResponseCode': u'00',
     428    #u'BankCode': u'011'}
    427429
    428430    if not 'ResponseCode' in jr.keys() \
Note: See TracChangeset for help on using the changeset viewer.