{"id":30671535,"url":"https://github.com/programmerhasan/payment_dialog","last_synced_at":"2025-09-01T03:19:14.381Z","repository":{"id":309409906,"uuid":"1036183181","full_name":"ProgrammerHasan/payment_dialog","owner":"ProgrammerHasan","description":"A simple Flutter package for displaying customizable payment dialogs in your app.","archived":false,"fork":false,"pushed_at":"2025-08-11T17:54:20.000Z","size":1239,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-11T19:38:44.592Z","etag":null,"topics":["dart","flutter","payment-gateway","payment-integration"],"latest_commit_sha":null,"homepage":"","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/ProgrammerHasan.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,"zenodo":null}},"created_at":"2025-08-11T17:20:32.000Z","updated_at":"2025-08-11T17:54:23.000Z","dependencies_parsed_at":"2025-08-11T19:38:50.747Z","dependency_job_id":"be66ae38-992f-40d6-b4a5-4620c7d849a1","html_url":"https://github.com/ProgrammerHasan/payment_dialog","commit_stats":null,"previous_names":["programmerhasan/payment_dialog"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ProgrammerHasan/payment_dialog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammerHasan%2Fpayment_dialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammerHasan%2Fpayment_dialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammerHasan%2Fpayment_dialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammerHasan%2Fpayment_dialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProgrammerHasan","download_url":"https://codeload.github.com/ProgrammerHasan/payment_dialog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammerHasan%2Fpayment_dialog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273068856,"owners_count":25039911,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["dart","flutter","payment-gateway","payment-integration"],"created_at":"2025-09-01T03:19:11.348Z","updated_at":"2025-09-01T03:19:14.373Z","avatar_url":"https://github.com/ProgrammerHasan.png","language":"Dart","readme":"\u003ch1 align=\"center\"\u003ePayment Dialog.\u003c/h1\u003e\n\u003ch4 align=\"center\"\u003eA simple Flutter package for displaying customizable payment dialogs in your app.\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://pub.dartlang.org/packages/payment_dialog\"\u003e\u003cimg src=\"https://img.shields.io/pub/v/payment_dialog.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/programmerhasan/payment_dialog/raw/master/screenshots/01.png\" alt=\"Payment dialog for Flutter\" width=\"120\" style=\"border-radius: 50%;\" /\u003e\n  \u003cimg src=\"https://github.com/programmerhasan/payment_dialog/raw/master/screenshots/02.png\" alt=\"Payment dialog for Flutter\" width=\"120\" style=\"border-radius: 50%;\" /\u003e\n  \u003cimg src=\"https://github.com/programmerhasan/payment_dialog/raw/master/screenshots/03.png\" alt=\"Payment dialog for Flutter\" width=\"120\" style=\"border-radius: 50%;\" /\u003e\n  \u003cimg src=\"https://github.com/programmerhasan/payment_dialog/raw/master/screenshots/04.png\" alt=\"Payment dialog for Flutter\" width=\"120\" style=\"border-radius: 50%;\" /\u003e\n\u003c/p\u003e\n\n\n---\n\n## Features\n\n- Show a payment confirmation dialog.\n- Customize title, message, and buttons.\n\n---\n\n## Quickstart\n\n### Add dependency to your pubspec file\n\nAdd this to your `pubspec.yaml`:\n\n```yaml\ndependencies:\n  payment_dialog: ^1.0.0\n```\n\n### Add PaymentDialog to your app\n\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:payment_dialog/payment_dialog.dart';\n\nvoid main() {\n  runApp(const MyApp());\n}\n\nclass MyApp extends StatelessWidget {\n  const MyApp({super.key});\n\n  @override\n  Widget build(BuildContext context) {\n    return MaterialApp(\n      home: Scaffold(\n        body: Center(\n          child: ElevatedButton(\n            onPressed: () async {\n              final success = await showPaymentDialog(\n                context: context,\n                paymentUrl: 'https://yourpaymentgateway.com/start',\n                succeededUrl: 'https://your-payment-website.com/success',\n                failedUrl: 'https://your-payment-website.com/failed',\n                cancelledUrl: 'https://your-payment-website.com/cancelled',\n              );\n              debugPrint(success ? \"Payment Success\" : \"Payment Failed/Cancelled\");\n            },\n            child: const Text(\"Pay Now\"),\n          ),\n        ),\n      ),\n    );\n  }\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogrammerhasan%2Fpayment_dialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprogrammerhasan%2Fpayment_dialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogrammerhasan%2Fpayment_dialog/lists"}