All Projects β†’ stripe-samples β†’ Github Pages Stripe Checkout

stripe-samples / Github Pages Stripe Checkout

Licence: mit
Example of a client-only (no server) donation payment page that can be hosted on GitHub using Stripe Checkout.

Projects that are alternatives of or similar to Github Pages Stripe Checkout

Sample Vue Shop
See readme for newer repo details! A sample shop that shows how to manage payments with Vue, Stripe, and Serverless Functions
Stars: ✭ 1,166 (+1454.67%)
Mutual labels:  stripe-checkout
Ecommerce Netlify
πŸ› A JAMstack Ecommerce Site built with Nuxt and Netlify Functions
Stars: ✭ 1,147 (+1429.33%)
Mutual labels:  stripe-checkout
Checkout Netlify Serverless
Sell products on the Jamstack with Netlify Functions and Stripe Checkout!
Stars: ✭ 58 (-22.67%)
Mutual labels:  stripe-checkout
Unicorn Mart
A proof of concept e-commerce store leveraging Contentful, GatsbyJS, Stripe, and serverless via clay.run
Stars: ✭ 21 (-72%)
Mutual labels:  stripe-checkout
React Stripe Checkout
Load stripe's checkout.js as a react component. Easiest way to use checkout with React.
Stars: ✭ 930 (+1140%)
Mutual labels:  stripe-checkout
Vue Stripe
Stripe Checkout & Elements for Vue.js
Stars: ✭ 669 (+792%)
Mutual labels:  stripe-checkout
Checkout One Time Payments
Use Checkout to quickly collect one-time payments.
Stars: ✭ 417 (+456%)
Mutual labels:  stripe-checkout
Nextjs Subscription Payments
Clone, deploy, and fully customize a SaaS subscription application with Next.js.
Stars: ✭ 402 (+436%)
Mutual labels:  stripe-checkout
Serverless Shop
Building a Serverless E-Commerce App with AWS Lambda, Stripe andΒ React πŸ’° 🌐
Stars: ✭ 325 (+333.33%)
Mutual labels:  stripe-checkout
Checkout Single Subscription
Learn how to combine Checkout and Billing for fast subscription pages
Stars: ✭ 310 (+313.33%)
Mutual labels:  stripe-checkout
Node.js-Stripe-Shopping-Cart
Example integration of Stripe's Checkout API into a Node.js application
Stars: ✭ 93 (+24%)
Mutual labels:  stripe-checkout
netlify-lambda-function-example
An example Netlify Lambda function that processes payments with Stripe.
Stars: ✭ 93 (+24%)
Mutual labels:  stripe-checkout
react-elements-netlify-serverless
Digital Wallet payments with React Stripe Elements and Netlify Functions
Stars: ✭ 21 (-72%)
Mutual labels:  stripe-checkout
direct-stripe
Stripe payment button for WordPress websites
Stars: ✭ 12 (-84%)
Mutual labels:  stripe-checkout
connect-direct-charge-checkout
Accept a payment with direct charges and Checkout
Stars: ✭ 18 (-76%)
Mutual labels:  stripe-checkout
React Express Stripe
πŸ’° Minimal Boilerplate for Stripe used in React and Express. Charge payments from your customers with this project.
Stars: ✭ 209 (+178.67%)
Mutual labels:  stripe-checkout
Checkout Subscription And Add On
Uses Stripe Checkout to create a payment page that starts a subscription for a new customer.
Stars: ✭ 169 (+125.33%)
Mutual labels:  stripe-checkout
Nextjs Typescript React Stripe Js
Full-stack TypeScript example using Next.js, react-stripe-js, and stripe-node.
Stars: ✭ 168 (+124%)
Mutual labels:  stripe-checkout
Sample Stripe Handler
Serverless function that uses the stripe api for a checkout process in a Vue application
Stars: ✭ 155 (+106.67%)
Mutual labels:  stripe-checkout
Ember Cli Stripe
Stripe checkout for Ember
Stars: ✭ 84 (+12%)
Mutual labels:  stripe-checkout

GitHub Payment Pages with Stripe Checkout

This is an example of a client-only (server-free) donation payment page that can be hosted on GitHub using Stripe Checkout.

You can see this repository running on GitHub Pages here: https://stripe-samples.github.io/github-pages-stripe-checkout A gif of the Checkout payment page rendering

Setup

Run locally

Since these are all static assets you can serve them locally with a simple web server, e.g.

Python 2

python -m SimpleHTTPServer 8888

Python 3

python -m http.server 8888

You can now view your page at http://localhost:8888

If you're getting an error running this command, see more detailed insturctions on MDN.

Go live

  • Add username.github.io (replace username with your github user name) to the domain whitelist in https://dashboard.stripe.com/account/checkout/settings
  • Replace the test publishable key PUBLISHABLE_KEY in the index.html file with your pk*live_xxx key which can be found here: https://dashboard.stripe.com/test/apikeys (!!!NOTE!!!: never paste in your secret key! For client-only Checkout only the publishable key is needed!)
  • Commit the changes to the gh-pages branch and push them to GitHub.
  • Done, you can now accept live payments on your GitHub pages \o/

More Checkout Samples

FAQ

Q: Why did you pick these frameworks?

A: We chose the most minimal framework to convey the key Stripe calls and concepts you need to understand. These demos are meant as an educational tool that helps you roadmap how to integrate Stripe within your own system independent of the framework.

Get support

If you found a bug or want to suggest a new [feature/use case/sample], please file an issue.

If you have questions, comments, or need help with code, we're here to help:

Sign up to stay updated with developer news.

Author(s)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].