Python icon indicating copy to clipboard operation
Python copied to clipboard

fix error processing response from flutterwave request

Open LL-Etiane opened this issue 1 year ago • 0 comments

Fix Issue #103 The issue was caused by returned data not matching the previous data parsing that was there. Here is a dump of responseJson

{ "status": "success", "message": "V-COMP", "data": { "data": { "status": "Transaction in progress", "flw_reference": "FLWTK43726MCK1731312005091", "transaction_reference": "URF_1731312004740_5632235", "hash": "af456a30b43714c57a0df156c693d9abc65893b41864de0c22c21695354b3dddad5629a62ff5294a24fca7ea686bffa2da00e33fa6633e1c09bb94bbfa7daf39", "amount": "100.00", "type": "callback", "redirect": false, "is_mocked": true }, "response_code": "02", "response_message": "Transaction in progress" } }

LL-Etiane avatar Nov 11 '24 08:11 LL-Etiane