Closed zaheer-dvt closed 1 year ago
Warnings | |
---|---|
:warning: | **Sources/PaystackUI/Charge/ChargeCard/Container/ChargeCardViewModel.swift#L63** - TODOs should be resolved (Add logic for pending state). (`todo`) |
:warning: | **Sources/PaystackUI/Charge/ChargeCard/Container/ChargeCardViewModel.swift#L66** - TODOs should be resolved (Add logic for 3DS). (`todo`) |
:warning: | **Sources/PaystackUI/Charge/ChargeView.swift#L32** - TODOs should be resolved (Update once we have new design...). (`todo`) |
:warning: | **Tests/PaystackSDKTests/UI/Charge/ChargeCard/ChargeCardViewModelTests.swift#L192** - Function should have complexity 10 or less: currently complexity equals 11 (`cyclomatic_complexity`) |
Generated by :no_entry_sign: Danger Swift against 96396f047d750eb4a95026956a6bb1cf8f41b624
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
1 Code Smell
No Coverage information
0.0% Duplication
Changes:
ErrorView
to make the button optional and also added an optional error which causes the view to be closed automatically and passes the error back to the developerfatalError
status toChargeCardState
to be used for errors that cannot be recovered from and return an error to the developerChargeCardView
to use the newErrorView
functionality for thefatalError
stateTransactionError
, a public enum that returns predefined error cases to the developer when the payment reaches an error state like this scenario.TransactionResult
to the above