You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-9Lines changed: 6 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -26,12 +26,12 @@ Available features include:
26
26
1. Flutterwave for business [API Keys](https://developer.flutterwave.com/docs/integration-guides/authentication)
27
27
2. Supported Flutter version >= 1.17.0
28
28
3. Dart SDK >= 2.17.0
29
-
4. For Android development, ensure the NDK version >= `27.0.12077973` on your project's `android/app/build.gradle.kts` file with android `{ ndkVersion = "27.0.12077973" }`
29
+
4. For Android development, ensure the NDK version >= `27.0.12077973` on your project's `android/app/build.gradle.kts` file with android `{ ndkVersion = "27.0.12077973" }`.
30
30
31
31
## Installation
32
32
33
-
1. Add the dependency to your project. In your `pubspec.yaml` file add: `flutterwave_standard: 1.1.1`
34
-
2. Run `flutter pub get`
33
+
1. Add the dependency to your project. In your `pubspec.yaml` file add: `flutterwave_standard: 1.1.0`
34
+
2. Run `flutter pub get`.
35
35
36
36
## Usage
37
37
@@ -90,30 +90,28 @@ Calling the `.charge()` method returns a `Future` of `ChargeResponse` which we a
90
90
Call the verify transaction [endpoint](https://developer.flutterwave.com/docs/transaction-verification) with the `transactionID` returned in `response.transactionId` or the `txRef` you provided to verify transaction before offering value to customer
91
91
92
92
#### Note
93
-
94
93
-`ChargeResponse` can be null, depending on if the user cancels the transaction by pressing back.
95
94
- You need to confirm the transaction status is successful. Ensure that the txRef, amount, and status are correct and successful. Be sure to [verify the transaction details](https://developer.flutterwave.com/docs/transaction-verification) before providing value.
96
95
- Some payment methods are not instant, such a `Pay with Bank Transfers, Pay with Bank`, and so you would need to rely on [webhooks](https://developer.flutterwave.com/docs/webhooks) or call the transaction verification service using the [`transactionId`](https://developer.flutterwave.com/reference/verify-transaction), or transaction reference you created(`txRef`)
97
96
- For such long payments like the above, closing the payment page returns a `cancelled` status, so your final source of truth has to be calling the transaction verification service.
98
97
99
-
## Support
100
98
99
+
## Support
101
100
For additional assistance using this library, contact the developer experience (DX) team via [email](mailto:[email protected]) or on [slack](https://bit.ly/34Vkzcg).
102
101
103
102
You can also follow us [@FlutterwaveEng](https://twitter.com/FlutterwaveEng) and let us know what you think 😊.
104
103
105
-
## Contribution guidelines
106
104
105
+
## Contribution guidelines
107
106
Read more about our community contribution guidelines [here](CONTRIBUTING.md).
108
107
109
-
## License
110
108
109
+
## License
111
110
By contributing to the Flutter library, you agree that your contributions will be licensed under its [MIT license](/LICENSE).
0 commit comments