{"id":22794425,"url":"https://github.com/imaun/paymun","last_synced_at":"2025-04-18T23:36:56.298Z","repository":{"id":90764234,"uuid":"324183002","full_name":"imaun/paymun","owner":"imaun","description":".NET Online payment library for Iranian IPG  providers.","archived":false,"fork":false,"pushed_at":"2024-03-14T15:09:27.000Z","size":81,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T06:42:16.343Z","etag":null,"topics":["asp-net-core","behpardakht","ipg","iran","mellat","mellat-bank","payment","payment-gateway","payment-gateways","persian","zarinpal","zarinpal-service"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imaun.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2020-12-24T15:16:14.000Z","updated_at":"2024-10-21T15:54:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"c7207c5a-4599-48f2-89c4-a6fe4f15fd0c","html_url":"https://github.com/imaun/paymun","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imaun%2Fpaymun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imaun%2Fpaymun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imaun%2Fpaymun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imaun%2Fpaymun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imaun","download_url":"https://codeload.github.com/imaun/paymun/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249565253,"owners_count":21292427,"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":["asp-net-core","behpardakht","ipg","iran","mellat","mellat-bank","payment","payment-gateway","payment-gateways","persian","zarinpal","zarinpal-service"],"created_at":"2024-12-12T04:08:51.639Z","updated_at":"2025-04-18T23:36:56.269Z","avatar_url":"https://github.com/imaun.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Paymun\n\n### Add **Payment** services to your **ASP.NET CORE** web apps.\n\n\"Paymun\" (in farsi : پیمون) is an online payment library for Iranian IPG (PSP \u0026 Banks)  providers and payment gateways like Zarinpal.\n\nThis library is currently under development and only support **Zarinpal** gateway and **Mellat (BehPardakht)** IPG, I needed them for one of my projects. I think I'm going to develop other IPG \u0026 payment gateway services as well :)\n\n### How to use\n\n- Download or clone the repo\n\n- Build the soultion using VisualStudio or by running `dotnet build` command in VsCode or any terminal.\n\n- Reference `Paymun.Core` in your project\n\n#### How to use Zarinpal\n\n- In your `Startup.cs` file, under `ConfigureServices` method add : \n```services.AddZarinpalServices(merchantId: \"your_merchant_id\");```\n(Get MerchantID from Zarinpal.com)\n\nNow you can use `ZarinpalGateway` class to Create and Verify payment requests with Zarinpal service.\n\n#### How to use Mellat IPG\n\n- In your `Startup.cs` file, under `ConfigureServices` method add :\n\n ```cs  \n services.AddMellatPaymentGateway(new MellatGatewayOptions\n{\n    Name = \"Mellat\",\n    TerminalId = \"TerminalId\",\n    Password = \"password\",\n    TestTerminal = false,\n    UserName = \"username\"\n});```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimaun%2Fpaymun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimaun%2Fpaymun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimaun%2Fpaymun/lists"}