fix error processing response from flutterwave request #124
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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" } }