Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/change-review.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@

name: Review changes on Dev (Commits/PRs)

on:
push:
branches: ['dev']
branches: ["dev"]
pull_request:
types:
- opened
Expand All @@ -15,11 +14,11 @@ jobs:
steps:
- name: checkout code
uses: actions/checkout@v2

- name: setup flutter environment
uses: subosito/flutter-action@v2
with:
flutter-version: '3.0.0'
flutter-version: "3.29.2"

- name: install flutter dependencies
run: flutter pub get
Expand Down Expand Up @@ -48,4 +47,3 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
MATRIX_CONTEXT: ${{ toJson(matrix) }}
if: always()

4 changes: 2 additions & 2 deletions .github/workflows/package-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
MATRIX_CONTEXT: ${{ toJson(matrix) }}
if: always()

publish:
needs: check-readme-and-changelog
runs-on: ubuntu-latest
Expand All @@ -40,7 +40,7 @@ jobs:
- name: setup flutter environment
uses: subosito/flutter-action@v2
with:
flutter-version: '3.0.0'
flutter-version: "3.29.2"

- name: install flutter dependencies
run: flutter pub get
Expand Down
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
- Enhanced success status check logic to handle different status values ("success" and "completed").
- Improved error handling and state management.
- Removed deprecated components: `flutterwave_style.dart` and `standard_webview.dart`.
- Updated SDK requirements to `>=2.17.0`.
- Upgraded dependencies to latest versions.
- Removed `flutterwave_style_test.dart`.
- Updated the SDK requirements to `>=2.17.0`.
- Upgraded dependencies to the latest versions.
- Removed unused dependencies: webview_flutter, modal_bottom_sheet and uuid.

## [1.0.7] - February, 2023
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Available features include:

- Collections: Card, Account, Mobile money, Bank Transfers, USSD.
- Recurring payments: Tokenization and Subscriptions.
- Split payments
- Split payments.

## Table of Contents

Expand All @@ -26,7 +26,7 @@ Available features include:
1. Flutterwave for business [API Keys](https://developer.flutterwave.com/docs/integration-guides/authentication)
2. Supported Flutter version >= 1.17.0
3. Dart SDK >= 2.17.0
4. For Android: Ensure NDK version >= 27.0.12077973 on your project's android/app/build.gradle.kts file with android { ndkVersion = "27.0.12077973" }
4. For Android: Ensure the NDK version >= 27.0.12077973 on your project's android/app/build.gradle.kts file with android { ndkVersion = "27.0.12077973" }

## Installation

Expand Down Expand Up @@ -92,7 +92,7 @@ Call the verify transaction [endpoint](https://developer.flutterwave.com/docs/tr
#### Note

- `ChargeResponse` can be null, depending on if the user cancels the transaction by pressing back.
- You need to confirm the transaction 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.
- 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.
- 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`)
- 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.

Expand Down
2 changes: 1 addition & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class _MyHomePageState extends State<MyHomePage> {
);

final Flutterwave flutterwave = Flutterwave(
publicKey: "YOUR_SECRET_KEY", // Input your public key
publicKey: "YOUR_PUBLIC_KEY", // Input your public key
currency: selectedCurrency,
amount: amountController.text.toString().trim(),
customer: customer,
Expand Down
60 changes: 0 additions & 60 deletions test/flutterwave_style_test.dart

This file was deleted.

Loading