This PR aims at improving error handling from the flutter side. The current implementation just print any errors-specifically payfort error response-to the native logs on Xcode or Android Studio, this is not ideal for debugging from flutter side.
What Changed?
Added .vscode to .gitignore as it is recommended to keep any local changes, local.
Added minor improvements to the PayFortService
Created new PayFortFailureResult to replace the old string message.
This PR aims at improving error handling from the flutter side. The current implementation just print any errors-specifically payfort error response-to the native logs on Xcode or Android Studio, this is not ideal for debugging from flutter side.
What Changed?
PayFortService
PayFortFailureResult
to replace the old string message.