{"id":21174825,"url":"https://github.com/mindinventory/golang-paytm","last_synced_at":"2025-07-09T21:31:14.055Z","repository":{"id":108849134,"uuid":"182681790","full_name":"Mindinventory/Golang-Paytm","owner":"Mindinventory","description":"Quick Paytm Integration using Golang","archived":false,"fork":false,"pushed_at":"2019-06-14T11:16:42.000Z","size":154,"stargazers_count":58,"open_issues_count":0,"forks_count":48,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-06-21T06:13:49.296Z","etag":null,"topics":["easy-to-use","golang","golang-library","golang-payment","golang-paytm","golang-paytm-integration","paytm"],"latest_commit_sha":null,"homepage":"https://www.mindinventory.com/blog/paytm-integration-using-golang/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mindinventory.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,"publiccode":null,"codemeta":null}},"created_at":"2019-04-22T08:51:23.000Z","updated_at":"2022-09-20T13:51:39.000Z","dependencies_parsed_at":"2023-04-01T12:17:26.390Z","dependency_job_id":null,"html_url":"https://github.com/Mindinventory/Golang-Paytm","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/Mindinventory%2FGolang-Paytm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mindinventory%2FGolang-Paytm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mindinventory%2FGolang-Paytm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mindinventory%2FGolang-Paytm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mindinventory","download_url":"https://codeload.github.com/Mindinventory/Golang-Paytm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225597409,"owners_count":17494149,"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":["easy-to-use","golang","golang-library","golang-payment","golang-paytm","golang-paytm-integration","paytm"],"created_at":"2024-11-20T16:56:21.914Z","updated_at":"2024-11-20T16:56:22.588Z","avatar_url":"https://github.com/Mindinventory.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quick Paytm Integration using Golang\n\u003ca href=\"https://travis-ci.org/Mindinventory/Golang-Paytm\" style=\"pointer-events: none;\" target=\"_blank\"\u003e\u003cimg src=\"https://travis-ci.org/Mindinventory/Golang-Paytm.svg?branch=master\"\u003e\u003c/a\u003e\n\u003ca href=\"https://godoc.org/fyne.io/fyne\" style=\"pointer-events: none;\" target=\"_blank\"\u003e\u003cimg src=\"https://img.shields.io/badge/go-documentation-blue.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://goreportcard.com/report/github.com/Mindinventory/Golang-Paytm\" style=\"pointer-events: none;\" target=\"_blank\"\u003e\u003cimg src=\"https://goreportcard.com/badge/github.com/Mindinventory/Golang-Paytm\"\u003e\u003c/a\u003e\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/mindinventory/Golang-Paytm/blob/master/LICENSE)\n\nPaytm is India’s most popular and widely accepted Payment Gateway. Moreover, integration of it to your website or mobile app is simple enough if you possess Paytm Merchant Key. Though, paytm integration is available for various platforms, integrating it in the Golang might not be known to all. \n\nRead about how we made this on our blog (https://www.mindinventory.com/blog/paytm-integration-using-golang/)\n\n\u003cimg src=\"https://raw.githubusercontent.com/Mindinventory/Golang-Paytm/master/paytm-new.png\"\u003e\n\n## What it is? \n\nIt is a well managed repository, using which one can integrate Patym in their GoLang Website in quick simple steps once they get Paytm Merchant Key from Paytm official website.\n\n## Prerequisite\n\n1. Create a merchant account in Paytm.\n2. Get PAYTM_MERCHANT_KEY  which will be get once the onboarding process is completed.\n\n## Steps to Follow \n\n1. Set Up Merchant Key got from above process\n\n    Provide the value for PAYTM_MERCHANT_KEY in .env file\n    ```\n    PAYTM_MID = \"XXXXXXXXXXXXXXXXXXXXXXXXXX\"\n    PAYTM_MERCHANT_KEY = \"XXXXXXXXXXXXXXXX\"\n    PAYTM_CHANNEL_ID = \"WAP\"\n    PAYTM_CHANNEL_ID_WEB = \"WEB\"\n    PAYTM_WEBSITE = \"XXXXXXX\"\n    PAYTM_WEBSITE_WEB = \"XXXXX\"\n    PAYTM_INDUSTRY_TYPE_ID = \"XXX\"\n    ```\n\n2. Verify Checksum Hash for successful transactions.\n\n    A checksum hash is generated by the paytm which is verified on merchant server for successful transaction.\nFor this there is a file library.go in Paytm folder which need to be copied to your local as it works for generation and verification of checksum.\n\n3. Set Mode\n\n    Paytm integration can be done in two stages i.e. staging and production modes have different Paytm transaction urls.\n\n    * Staging mode transaction url *\n    PAYTM_TXN_URL = \"https://securegw-stage.paytm.in/theia/processTransaction\"\n    PAYTM_TXN_STATUS_URL = `https://securegw-stage.paytm.in/merchant-status/getTxnStatus`\n\n    * Production mode transaction url *\n    PAYTM_TXN_URL_STAGE = \"https://secure.paytm.in/oltp-web/processTransaction\"\n    PAYTM_TXN_STATUS_URL_STAGE = `https://securegw-stage.paytm.in/merchant-status/getTxnStatus` \n\n    For more details about Paytm refer this link \n    https://developer.paytm.com/docs/v1/payment-gateway  \n     \n  \n## LICENSE!\n\nPayTm integration using Golang is [MIT-licensed](https://github.com/mindinventory/Golang-Paytm/blob/master/LICENSE)\n\n## Let us know!\nWe’d be really happy if you sent us links to your projects where you use our component. Just send an email to sales@mindinventory.com And do let us know if you have any questions or suggestion regarding our work.\n\n\n\n  \n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmindinventory%2Fgolang-paytm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmindinventory%2Fgolang-paytm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmindinventory%2Fgolang-paytm/lists"}