- Timestamp:
- 13 Dec 2022, 12:46:58 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/interswitch/helpers.py
r17215 r17218 416 416 # A typical JSON response ????????????????? 417 417 418 # {u'SplitAccounts': [], 419 # u'MerchantReference':u'p5918633006916', 420 # u'TransactionDate':u'2020-06-11T09:17:37', 421 # u'ResponseDescription':u'Customer Cancellation', 422 # u'Amount': 89525000, 423 # u'CardNumber': u'', 424 # u'ResponseCode': u'Z6', 425 # u'BankCode': u''} 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 "" 426 427 427 428 if not 'ResponseCode' in jr.keys() \ … … 459 460 return False, msg, log 460 461 payment.p_state = 'paid' 461 if not verify:462 payment.payment_date = datetime.utcnow()463 462 msg = _('Successful callback received') 464 463 log = 'valid callback for %s payment %s: %s' % (
Note: See TracChangeset for help on using the changeset viewer.