{"id":17689372,"url":"https://github.com/morishin/payme","last_synced_at":"2025-05-13T01:37:06.297Z","repository":{"id":73381411,"uuid":"154975889","full_name":"morishin/payme","owner":"morishin","description":"Example web application to receive money built with Stripe + Firebase","archived":false,"fork":false,"pushed_at":"2018-12-13T13:57:39.000Z","size":46,"stargazers_count":8,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T05:41:25.375Z","etag":null,"topics":["firebase","stripe"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/morishin.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":"2018-10-27T14:52:15.000Z","updated_at":"2021-05-22T00:03:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"9ecc1d20-3bf7-4321-8948-69aee4f9cf80","html_url":"https://github.com/morishin/payme","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/morishin%2Fpayme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morishin%2Fpayme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morishin%2Fpayme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morishin%2Fpayme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morishin","download_url":"https://codeload.github.com/morishin/payme/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253855534,"owners_count":21974486,"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":["firebase","stripe"],"created_at":"2024-10-24T11:47:37.147Z","updated_at":"2025-05-13T01:37:06.270Z","avatar_url":"https://github.com/morishin.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Payme\nExample web application to receive money built with Stripe + Firebase\n\n(inspired by [gordonnl/firebase-stripe](https://github.com/gordonnl/firebase-stripe))\n\n\u003cimg src=\"https://user-images.githubusercontent.com/1413408/47605351-3ebaed00-da40-11e8-8ab1-68f4351ce5f2.png\" /\u003e\n\n## Features\nYou can create your link and start receiving any amount of money spacified as URL.\n\n`https://\u003cyour-firebase-project-id\u003e.firebaseapp.com/\u003cammount\u003e`\n\n\u003cimg src=\"https://user-images.githubusercontent.com/1413408/47605421-44650280-da41-11e8-95b7-d9b7f9377ada.png\" width=\"480\"/\u003e\n\n\u003cimg width=\"480\" alt=\"2018-10-27 23 41 25\" src=\"https://user-images.githubusercontent.com/1413408/47605478-d4a34780-da41-11e8-8831-ecda8fc509e6.png\"\u003e\n\n## Deploy and test payment\n\n1. Create a Firebase Project using the [Firebase Developer Console](https://console.firebase.google.com)\n1. Enable billing on your project by switching to the **Blaze** (or Flame) plan. See [pricing](https://firebase.google.com/pricing/) for more details. This is required to be able to do requests to non-Google services.\n1. Install [Firebase CLI Tools](https://github.com/firebase/firebase-tools) if you have not already and log in with `firebase login`.\n1. Configure this sample to use your project using `firebase use --add` and select your project.\n1. Install dependencies locally by running: `cd functions; npm install; cd -`\n1. [Add your Stripe API Secret Key](https://dashboard.stripe.com/account/apikeys) to firebase config:\n```bash\nfirebase functions:config:set stripe.token=\u003cYOUR STRIPE SECRET KEY\u003e\n```\n1. Pass your [Stripe publishable key](https://dashboard.stripe.com/account/apikeys) to the `STRIPE_PUBLIC_KEY` variable in `public/index.html` (like `pk_test_*****************`)\n1. Deploy your function using `firebase deploy --only functions`\n1. Pass your new [Firebase Function URL](https://firebase.google.com/docs/functions/http-events) to the `CHARGE_CLOUD_FUNCTION_TRIGGER_URL` variable in `public/index.html` (like `https://us-central1-***.cloudfunctions.net/charge`)\n1. Deploy your hosting using `firebase deploy --only hosting`\n1. Test your Stripe integration by viewing your deployed site `firebase open hosting:site`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorishin%2Fpayme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorishin%2Fpayme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorishin%2Fpayme/lists"}