Changeset 16515
- Timestamp:
- 24 Jun 2021, 07:23:03 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/interswitch/helpers.py
r16488 r16515 240 240 p_id = payment.p_id 241 241 description = payment.p_category 242 amount = int( payment.amount_auth)242 amount = int(100*payment.amount_auth) # Amount in Kobo 243 243 date_booked = payment.creation_date.strftime("%Y-%m-%d") 244 244 date_expired = "2099-12-31" … … 335 335 try: 336 336 amount = doc.getElementsByTagName('Amount')[0].firstChild.data 337 payment.r_amount_approved = float(amount) 337 payment.r_amount_approved = float(amount) / 100 338 338 except AttributeError: 339 339 pass
Note: See TracChangeset for help on using the changeset viewer.