{"id":20051746,"url":"https://github.com/seerbit/seerbit-flutter-native","last_synced_at":"2026-05-13T14:32:01.056Z","repository":{"id":160081488,"uuid":"590424739","full_name":"seerbit/seerbit-flutter-native","owner":"seerbit","description":"SeerBit Flutter native SDK for Checkout","archived":false,"fork":false,"pushed_at":"2023-06-21T09:16:00.000Z","size":1511,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-27T16:40:43.832Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seerbit.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-18T11:41:30.000Z","updated_at":"2023-04-18T13:54:44.000Z","dependencies_parsed_at":"2024-05-07T10:37:24.576Z","dependency_job_id":null,"html_url":"https://github.com/seerbit/seerbit-flutter-native","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/seerbit/seerbit-flutter-native","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seerbit%2Fseerbit-flutter-native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seerbit%2Fseerbit-flutter-native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seerbit%2Fseerbit-flutter-native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seerbit%2Fseerbit-flutter-native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seerbit","download_url":"https://codeload.github.com/seerbit/seerbit-flutter-native/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seerbit%2Fseerbit-flutter-native/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32986717,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"ssl_error","status_checked_at":"2026-05-13T13:14:51.610Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T12:05:39.000Z","updated_at":"2026-05-13T14:32:01.049Z","avatar_url":"https://github.com/seerbit.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg width=\"200\" valign=\"top\" src=\"https://assets.seerbitapi.com/images/seerbit_logo_type.png\" data-canonical-src=\"https://assets.seerbitapi.com/images/seerbit_logo_type.png\" style=\"max-width:100%; \"\u003e\n\u003c/p\u003e\n \n# Seerbit Flutter SDK\n \nSeerbit Flutter SDK can be used to integrate the SeerBit payment gateway into your flutter application.\n \n## Requirements\n \nRegister for a merchant account on [Seerbit Merchant Dashboard](https://dashboard.seerbitapi.com) to get started.\n \n```\n   Dart sdk: \"\u003e=2.12.0-0 \u003c3.0.0\"\n   Flutter: \"\u003e=1.22.2\"\n   Android: minSdkVersion 17 and add support for androidx (see AndroidX Migration to migrate an existing app)\n   iOS: --ios-language swift, Xcode version \u003e= 12\n```\n \n ## Instalation\n\n```bash\nflutter pub get seerbit_flutter_native\n```\n\n## API Documentation\n\nhttps://doc.seerbit.com\n\n## Support\n\nIf you have any problems, questions or suggestions, create an issue here or send your inquiry to care@seerbit.com\n\n## Implementation\n\nYou should already have your API keys. If not, go to [dashboard.seerbitapi.com](https://dashboard.seerbitapi.com). Login -\u003e Settings menu -\u003e API Keys menu -\u003e Copy your public key\n\n## Properties\n\n| Property            | Type               | Required | Default            | Desc                                                                                                                                                                                                                                    |\n| ------------------- | ------------------ | -------- | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| currency            | `String`           | Optional | NGN                | The currency for the transaction e.g NGN                                                                                                                                                                                                |\n| email               | `String`           | Required | None               | The email of the user to be charged                                                                                                                                                                                                     |\n| description         | `String`           | Optional | None               | The transaction description which is optional                                                                                                                                                                                           |\n| fullName            | `String`           | Optional | None               | The fullname of the user to be charged                                                                                                                                                                                                  |\n| country             | `String`           | Optional | None               | Transaction country which can be optional                                                                                                                                                                                               |\n| transRef            | `String`           | Required | None               | Set a unique transaction reference for every transaction                                                                                                                                                                                |\n| amount              | `String`           | Required | None               | The transaction amount in kobo                                                                                                                                                                                                          |\n| callbackUrl         | `String`           | Optional | None               | This is the redirect url when transaction is successful                                                                                                                                                                                 |\n| publicKey           | `String`           | Required | None               | Your Public key or see above step to get yours                                                                                                                                                                                          |\n| closeOnSuccess      | `bool`             | Optional | False              | Close checkout when trasaction is successful                                                                                                                                                                                            |\n| closePrompt         | `bool`             | Optional | False              | Close the checkout page if transaction is not initiated                                                                                                                                                                                 |\n| setAmountByCustomer | `bool`             | Optional | False              | Set to true if you want user to enter transaction amount                                                                                                                                                                                |\n| pocketRef           | `String`           | Optional | None               | This is your pocket reference for vendors with pocket                                                                                                                                                                                   |\n| vendorId            | `String`           | Optional | None               | This is the vendorId of your business using pocket                                                                                                                                                                                      |\n| tokenize            | `bool`             | Optional | False              | Tokenize card                                                                                                                                                                                                                           |\n| customization       | CustomizationModel | Optional | CustomizationModel | CustomizationMode( borderColor: \"#000000\", backgroundColor: \"#004C64\", buttonColor: \"#0084A0\", paymentMethod:[PayChannel.card, PayChannel.account, PayChannel.transfer, PayChannel.momo], confetti: false , logo: \"logo_url or base64\") |\n| onSuccess           | `Method`           | Optional | None               | Callback method if transaction was successful                                                                                                                                                                                           |\n| onCancel            | `Method`           | Optional | None               | Callback method if transaction was cancelled                                                                                                                                                                                            |\n\n## Usage\n\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:flutter_screenutil/flutter_screenutil.dart';\nimport 'package:seerbit_flutter_native/seerbit_flutter_native.dart';\n\n\n\n\nclass CheckOut extends StatelessWidget {\nconst CheckOut({Key? key}) : super(key: key);\nSeerbitMethod SeerBit = new SeerbitMethod();\n\n   @override\nWidget build(BuildContext context) {\n    return Scaffold(\n      appBar: AppBar(\n        title: Text(widget.title),\n      ),\n      body: Center(\n        child: Column(\n          mainAxisAlignment: MainAxisAlignment.center,\n          children: \u003cWidget\u003e[\n            TextButton(\n              onPressed: () {\n                seerbitCheckout.createCheckout(\n                  context,\n                  showForm: false,\n                  onClose: () =\u003e print(\"Closed\"),\n                  onSuccess: () =\u003e print(\"Success\"),\n                  onFailure: () =\u003e print(\"Failure\"),\n                  payload: PaymentPayloadModel(\n                      firstName: \"Falola\",\n                      lastName: \"Adedayo\",\n                      fullName: \"Falola Adedayo\",\n                      mobileNumber: \"091231923012\",\n                      email: \"mail@gmail.com\",\n\n                      productId: \"\",\n                      currency: \"NGN\",\n                      country: \"NG\",\n\n                      amount: \"121\"),\n                );\n              },\n              child: const Text(\"Pay without form\"),\n            ),\n            TextButton(\n              onPressed: () {\n                seerbitCheckout.createCheckout(\n                  context,\n                  showForm: true,\n                  isRelease: true, //Set true when using a test key\n                  onClose: () =\u003e print(\"Closed\"),\n                  onSuccess: () =\u003e print(\"Success\"),\n                  onFailure: () =\u003e print(\"Failure\"),\n                  payload: PaymentPayloadModel(\n                      firstName: \"Falola\",\n                      lastName: \"Adedayo\",\n                      fullName: \"Falola Adedayo\",\n                      mobileNumber: \"09012312312\",\n                      email: \"mail@gmail.com\",\n                      productId: \"\",\n                      currency: \"NGN\",\n                      country: \"NG\",\n                      amount: \"20\"),\n                );\n              },\n              child: const Text(\"Pay with form\"),\n            )\n          ],\n        ),\n      ),\n    );\n\n\nSeerBit.startPayment(\n  context,\n  payload: payload,\n  onSuccess: (*) { print(*);},\n  onCancel: (_) { print('_' _ 400);}\n);\n\n}\n}\n\n```\n\n`onSuccess` you will recieve a Map containing the response from the payment request.\n\nDuring the payment process you can simply end the process by calling\n\n```dart\nSeerbitMethod.endPayment(context);\n```\n\nThis ends the payment and removes the checkout view from the screen.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseerbit%2Fseerbit-flutter-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseerbit%2Fseerbit-flutter-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseerbit%2Fseerbit-flutter-native/lists"}