{"id":23456510,"url":"https://github.com/ashwamegh/razorpay-react-demo","last_synced_at":"2025-08-10T22:06:47.406Z","repository":{"id":39496025,"uuid":"113422863","full_name":"ashwamegh/razorpay-react-demo","owner":"ashwamegh","description":"Razorpay React.js bindings","archived":false,"fork":false,"pushed_at":"2023-07-12T02:41:08.000Z","size":1783,"stargazers_count":18,"open_issues_count":4,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T01:54:31.537Z","etag":null,"topics":["payment-processing","razorpay","razorpay-api","reactjs","refunds"],"latest_commit_sha":null,"homepage":"https://ashwamegh.github.io/razorpay-react-demo/","language":"JavaScript","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/ashwamegh.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":"2017-12-07T08:22:17.000Z","updated_at":"2023-09-18T08:33:18.000Z","dependencies_parsed_at":"2024-12-24T04:42:17.923Z","dependency_job_id":null,"html_url":"https://github.com/ashwamegh/razorpay-react-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ashwamegh/razorpay-react-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwamegh%2Frazorpay-react-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwamegh%2Frazorpay-react-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwamegh%2Frazorpay-react-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwamegh%2Frazorpay-react-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashwamegh","download_url":"https://codeload.github.com/ashwamegh/razorpay-react-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwamegh%2Frazorpay-react-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269794097,"owners_count":24476743,"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-08-10T02:00:08.965Z","response_time":71,"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":["payment-processing","razorpay","razorpay-api","reactjs","refunds"],"created_at":"2024-12-24T04:32:06.085Z","updated_at":"2025-08-10T22:06:47.379Z","avatar_url":"https://github.com/ashwamegh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Razorpay React Demo\n\n[![npm](https://img.shields.io/npm/v/razorpay.svg?maxAge=2592000?style=flat-square)](https://www.npmjs.com/package/razorpay)\n[![react](https://i.imgur.com/n7etgPr.png)](https://reactjs.org/)\n\nA demo of Razorpay Node Sdk with React.js showcasing the payments and refunds scenarios: \n\n## Getting Started\n\n```bash\ngit clone https://github.com/ashwamegh/razorpay-react-demo.git\ncd razorpay-react-demo\n```\n\n## Prerequisites\n\n\u003e Get your Razorpay API keys [`key_id` and `key_secret`] for test environment variables from here, [https://dashboard.razorpay.com/#/app/keys](https://dashboard.razorpay.com/#/app/keys)\n\n## Installation\n\n### For Frontend\n\n\u003e Note: make sure you have added Razorpay script `\u003cscript src=\"https://checkout.razorpay.com/v1/checkout.js\"\u003e\u003c/script\u003e` in your HTML file to get the Razorpay constructor reference. For Eg: To access it using `window.Razorpay` or `Razorpay`\n\n```bash\nnpm install or yarn\ntouch .env\n```\n\nCopy the contents from `sample.env` to `.env` and replace the dumb characters(`xxxxx`) with your Razorpay `key` and the Server URL, which you will be creating soon(local default is already there in the file).\n\n```bash\nnpm start or yarn start\n```\n\n\n\n### For Backend/Server \n\u003e Note:  Server Needed to talk with Razorpay using Node SDK\n\n```bash\ncd server\nnpm install or yarn\ntouch .env\n```\nCopy the contents from `sample.env` to `.env` and replace the dumb characters(`xxxxx`) with your Razorpay `key` and `secret`\n\nNow run,\n```bash\nnpm start or yarn start\n```\n\nYou can goto http://localhost:8080 and try out this demo, later you can deploy the server code to server app containers like **heroku, glitch, aws, etc** and replace the URL in frontend's `.env` file with your new server URL.\n\n## Licence\n\nMIT Licensed.\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashwamegh%2Frazorpay-react-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashwamegh%2Frazorpay-react-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashwamegh%2Frazorpay-react-demo/lists"}