Skip to content

AliLynne/gatsby_stripe_plans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gatsby Stripe Plans Starter

This gatsby starter was made by AliLynne.

Audience: People who need a simple website to set up recuring payments.

How to use:

Things you'll need:

  • Your Stripe Public Key (NOT your secret key)
  • List of plan id's
  • What you want your button to say

In the gatsby-config.js file you'll need to change the public key, the plan list, and the button text.

In the src/pages/index.mdx file you can put the text of the README for your project, or any other text you'd like using Markdown Syntax.

module.exports = {
  siteMetadata: {
    stripe: {
      public_key: 'pk_test_7VgySoAHHC9xMs1cs64IeVcs00FdAcd5fF',
      plans: 
        [
          {
            "label": "$1 per month",
            "id": "plan_FlfqFy4W1PlixB"
          },
          {
            "label": "$5 per month",
            "id": "plan_FlfozYjwgbihrp"
          }
        ],
      button_text: "Give Me Money"
    }
  },

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages