{"id":13393185,"url":"https://github.com/rldaulton/GCF-Stripe","last_synced_at":"2025-03-13T19:31:28.355Z","repository":{"id":215845238,"uuid":"83002159","full_name":"rldaulton/GCF-Stripe","owner":"rldaulton","description":"A serverless implementation of Stripe using Google Cloud Functions as containerized microservices","archived":true,"fork":false,"pushed_at":"2022-02-03T16:47:46.000Z","size":81,"stargazers_count":52,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-26T18:29:43.608Z","etag":null,"topics":["google-cloud-functions","nodejs","stripe"],"latest_commit_sha":null,"homepage":null,"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/rldaulton.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}},"created_at":"2017-02-24T04:44:58.000Z","updated_at":"2024-05-25T18:27:03.000Z","dependencies_parsed_at":"2024-01-16T03:45:32.311Z","dependency_job_id":"6cd08967-5ebb-4f20-ad18-f48faab66245","html_url":"https://github.com/rldaulton/GCF-Stripe","commit_stats":null,"previous_names":["rldaulton/gcf-stripe"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rldaulton%2FGCF-Stripe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rldaulton%2FGCF-Stripe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rldaulton%2FGCF-Stripe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rldaulton%2FGCF-Stripe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rldaulton","download_url":"https://codeload.github.com/rldaulton/GCF-Stripe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243469146,"owners_count":20295694,"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":["google-cloud-functions","nodejs","stripe"],"created_at":"2024-07-30T17:00:45.278Z","updated_at":"2025-03-13T19:31:25.756Z","avatar_url":"https://github.com/rldaulton.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Payments","Cloud Functions"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cstrong\u003ePlease Note:\u003c/strong\u003e\u003c/br\u003e\n  \u003ci\u003eThis repository is no longer maintained and much of the APIs used have been changed or updated\u003c/i\u003e\n\u003c/p\u003e\n\n![logo](Screenshots/GCF-Stripe.png)\n\n### Containerize and flatten your payment processing server into microservices using GCF.\n\n[![License](https://img.shields.io/cocoapods/l/Neon.svg)](http://doge.mit-license.org)\n[![codebeat badge](https://codebeat.co/badges/7bb36358-6412-4f20-9833-5e29f4bc9fd7)](https://codebeat.co/projects/github-com-rldaulton-gcf-stripe-master)\n\n`GCF-Stripe`is a serverless implementation of basic Stripe requests using Google Cloud Functions as containerized microservices. This repo is designed to help those just beginning with Google's Cloud Platform to get some basic services up and running on the Cloud Function product.\n\nCheck out the folders in the `master` branch where you'll find different requests ready to be dropped into your Google Cloud Functions - all packaged as `index.js` files, and ready to go.\n\n### Getting Started\n\n1.) Visit the [Google Cloud Functions](https://cloud.google.com/functions/) welcome page, and sign up for a free trial, or sign in to your Google Cloud account.\n\n2.) Once logged in to your Cloud Platform Console, select the hamburger menu on the left, and enter the \"Cloud Functions\" management section.\n\n![gcf-menu](Screenshots/gcf-menu.png)\n\n3.) From here, you will create a new cloud function, ensuring to select `HTTP Trigger` as the Trigger option.\n\n\u003ch6\u003eDeploying...\u003c/h6\u003e\n\n4.) Select `Inline Editor` under the Source code option, or upload your own version, using the code supplied in this repo.\n\n5.) Ensure that you have replaced the pieces of code, where necessary, with your Stripe information - most importantly your [Stripe Keys](https://github.com/rldaulton/GCF-Stripe/blob/36f0bef34cfd0d37676208cdec7119c3bdca244a/Charge%20Customer/index.js#L4), which you can find in your Stripe Dashboard under `Dashboard \u003e API`.\n\n6.) Once deployed, use your client to call the endpoint for your function \u0026 supply the correct [parameters encoded](https://github.com/rldaulton/GCF-Stripe/blob/96fc38fc0220aee9a0ecaee718a8b0edf1db18d8/Charge%20Customer/index.js#L12) in the `URL` to interact with the Stripe API.\n\nHappy serverless computing!\n\n\n### Support\n- For support and help getting your Google Cloud Functions up an running, take a look at their [Quickstart](https://cloud.google.com/functions/docs/quickstart) page.\n- For help specifically with `HTTP Triggers` on your functions, check out the [HTTP Tutorial](https://cloud.google.com/functions/docs/tutorials/http).\n- Be sure to check out the [writing HTTP cloud functions](https://cloud.google.com/functions/docs/writing/http) section for help and formatting, should you have any trouble.\n- Looking for more serverless repos? Check out [awesome-serverless](https://github.com/anaibol/awesome-serverless).\n\nFor specific support regarding the Stripe functionality of the repo, see the respective sections below for Stripe's `Node JS` [API Docs](https://stripe.com/docs/api):\n\n[\u003ch5\u003eCreating a Customer\u003c/h5\u003e](https://stripe.com/docs/api/node#create_customer)\n\n[\u003ch5\u003eInitiating a Charge\u003c/h5\u003e](https://stripe.com/docs/api/node#create_charge)\n\n[\u003ch5\u003eSubscribe Customer to Payment Plan\u003c/h5\u003e](https://stripe.com/docs/api/node#create_subscription)\n\n[\u003ch5\u003eUNsubscribe Customer from Payment Plan\u003c/h5\u003e](https://stripe.com/docs/api/node#cancel_subscription)\n\n[\u003ch5\u003eAdding a Source\u003c/h5\u003e](https://stripe.com/docs/api/node#create_source)\n\n[\u003ch5\u003eDelete a Source\u003c/h5\u003e](https://stripe.com/docs/api/node#delete_card)\n\n\n#### Author\n[@rldaulton](https://ryandaulton.com)\n\n#### License\nMIT. See the [LICENSE](https://github.com/rldaulton/GCF-Stripe/blob/master/LICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frldaulton%2FGCF-Stripe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frldaulton%2FGCF-Stripe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frldaulton%2FGCF-Stripe/lists"}