{"id":22271333,"url":"https://github.com/programmingwormhole/uddoktapay","last_synced_at":"2025-06-24T22:41:50.895Z","repository":{"id":232335029,"uuid":"784079067","full_name":"programmingwormhole/uddoktapay","owner":"programmingwormhole","description":"Flutter package for payment gateway service UddoktaPay (Bangladesh). UddoktaPay payment easy to implement through this package on your flutter project.","archived":false,"fork":false,"pushed_at":"2024-11-18T16:17:10.000Z","size":12858,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T14:18:53.412Z","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/programmingwormhole.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":"2024-04-09T06:31:09.000Z","updated_at":"2024-12-18T08:55:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"c91fbe2c-3dc0-4fd7-a7b8-2dd182153e91","html_url":"https://github.com/programmingwormhole/uddoktapay","commit_stats":null,"previous_names":["programmingwormhole/uddoktapay"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/programmingwormhole%2Fuddoktapay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/programmingwormhole%2Fuddoktapay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/programmingwormhole%2Fuddoktapay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/programmingwormhole%2Fuddoktapay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/programmingwormhole","download_url":"https://codeload.github.com/programmingwormhole/uddoktapay/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245495687,"owners_count":20624806,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-12-03T12:11:44.904Z","updated_at":"2025-06-24T22:41:50.883Z","avatar_url":"https://github.com/programmingwormhole.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n\n\u003cp align=\"center\" \u003e  \n\u003cimg src=\"https://uddoktapay.com/assets/images/logo.png\"\u003e  \n\u003c/p\u003e  \n\u003ch1 align=\"center\"\u003eUddoktaPay Payment Gateway Flutter Package By Programming Wormhole\u003c/h1\u003e  \n\u003cp align=\"center\" \u003e  \n\u003c/p\u003e  \n\n\n[![Pub](https://img.shields.io/pub/v/flutter_bkash.svg)](https://pub.dev/packages/uddoktapay)  \n[![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)  \n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)]() [![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)]()  \n[![Open Source Love svg1](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)]()\n\n\n\u003cp align=\"center\" \u003e  \n\u003cimg src=\"https://yt3.googleusercontent.com/Cdmgizpu7QU94Rc9uWbUUO9IXt9F8FZ1Dx_vAslp7quJEdy13I1DMcKQBDnumDrTk4KTHNci8Gg=w1060-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj\"\u003e  \n\u003c/p\u003e  \n\n\nThis is a [Flutter package](https://pub.dev/packages/uddoktapay) for [UddoktaPay](https://uddoktapay.com) Payment Gateway. This package can be used in flutter project. Programming Wormhole was created this package while working for a project and thought to release for all so that it helps.\n\n\u003e :warning: Please note that, you have to contact with UddoktaPay sales team for any kind of dev or production access keys. We don't provide any test account or access keys or don't contact us for such.\n\nCheck the package in \u003ca target=\"_blank\" href=\"https://github.com/programmingwormhole/uddoktapay\" rel=\"noopener\"\u003egithub\u003c/a\u003e and also available in \u003ca href=\"https://pub.dartlang.org/packages/uddoktapay\" rel=\"noopener nofollow\" target=\"_blank\"\u003eflutter/dart package\u003c/a\u003e\n\n[![Github](https://img.shields.io/badge/GitHub-100000?style=for-the-badge\u0026logo=github\u0026logoColor=white)](https://github.com/programmingwormhole)  [![Facebook](https://img.shields.io/badge/Facebook-1877F2?style=for-the-badge\u0026logo=facebook\u0026logoColor=white)](https://facebook.com/no.name.virus) [![Instagram](https://img.shields.io/badge/Instagram-E4405F?style=for-the-badge\u0026logo=instagram\u0026logoColor=white)](https://instagram.com/no.name.virus) [![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge\u0026logo=linkedin\u0026logoColor=white)](https://www.linkedin.com/in/mdshirajulislam-dev) [![YouTube](https://img.shields.io/badge/YouTube-FF0000?style=for-the-badge\u0026logo=youtube\u0026logoColor=white)](https://www.youtube.com/@programmingwormhole)\n\n## How to use:\nDepend on it, Run this command With Flutter:\n```  \n$ flutter pub add uddoktapay  \n```  \nThis will add a line like this to your package's `pubspec.yaml` (and run an implicit **`flutter pub get`**):\n```  \ndependencies:  \nuddoktapay: ^0.0.3  \n```  \nAlternatively, your editor might support flutter pub get. Check the docs for your editor to learn more. Import it, Now in your Dart code, you can use:\n```  \nimport 'package:uddoktapay/uddoktapay.dart';  \nimport 'package:uddoktapay/models/customer_model.dart';  \n```  \n## Features\n- Pay using UddoktaPay\n\n## Usage\nOfficial Link for API documentation and demo checkout\n- [UddoktaPay API Documentation](https://uddoktapay.readme.io/reference/overview)\n\n### Make a Payment\n\n***Sandbox***\n```  \nUddoktaPay.createPayment(  \ncontext: context,  \ncustomer: CustomerDetails(  \nfullName: 'Programming Wormhole',  \nemail: 'programmingwormhole@icloud.com',  \n),  \namount: '50',  \n);  \n```  \n***Production***\n```  \nUddoktaPay.createPayment(  \ncontext: context,  \ncustomer: CustomerDetails(  \nfullName: 'Programming Wormhole',  \nemail: 'programmingwormhole@icloud.com',  \n),  \namount: '50',  \ncredentials: UddoktapayCredentials(  \napiKey: 'api_key',  \npanelURL: 'https://pay.domain.com',  \nredirectURL: 'domain.com', // The selected valid domain from uddoktapay panel\n),  \n)  \n```  \n\u003e Make sure to replace the provided credentials with your own UddoktaPay production credentials.\n\n***Response***\n```  \nfinal response = await UddoktaPay.createPayment(  \n....  \n....  \n)  \n```  \n\n***Response Sample***\n```  \nRequestResponse(  \nfullName: \"Programming Wormhole\",  \nemail: \"programmingwormhole@icloud.com\",  \namount: \"50.00\",\"fee\":\"0.00\",  \nchargedAmount: \"50.00\",  \ninvoiceId: \"a19Aun0gPxIqBVjnCfpL\",  \npaymentMethod: \"bkash\",  \nsenderNumber: \"675675656765\",  \ntransactionId: \"FGHGFHJGHG\",  \ndate: \"2024-04-09 12:01:28\",  \nstatus: ResponseStatus.completed,  \n);  \n```  \n### Error Handling\nThe methods mentioned above may throw a `status`. You can catch and handle the status using a if-else block:\n```  \nif (response.status == ResponseStatus.completed) {  \n// handle on complete  \n}  \n  \nif (response.status == ResponseStatus.canceled) {  \n// handle on cancel  \n}  \n  \nif (response.status == ResponseStatus.pending) {  \n// handle on pending  \n}  \n```  \n\nExamples for see the `/example` folder.\n\n**Here is the example code** [link](https://github.com/programmingwormhole/uddoktapay/blob/master/example/lib/main.dart)\n\n**Example Video Demo**\n\n\u003cdiv align=\"center\"\u003e  \n\u003cvideo src=\"https://github.com/programmingwormhole/uddoktapay/raw/master/demo.mp4\" controls\u003e\u003c/video\u003e  \n\u003c/div\u003e  \n\n\n### Importance Notes\n- Read the comments in the example of code\n- See the documents [UddoktaPay API Documentation](https://uddoktapay.readme.io/reference/overview)\n\n\n## Contributing\n**Core Maintainer**\n- [Md Shirajul Islam](https://github.com/programmingwormhole)\n\nContributions to the **uddoktapay** package are welcome. Please note the following guidelines before submitting your pull request.\n\n- Follow [Effective Dart: Style](https://dart.dev/guides/language/effective-dart/style) coding standards.\n- Read UddoktaPay API documentations first.Please contact with UddoktaPay for their api documentation and sandbox access.\n\n## License\n\nUddoktapay package is licensed under the [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause).\n\nCopyright 2024 [Programming Wormhole](https://programmingwormhole.com). We are not affiliated with UddoktaPay and don't give any guarantee.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogrammingwormhole%2Fuddoktapay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprogrammingwormhole%2Fuddoktapay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogrammingwormhole%2Fuddoktapay/lists"}