Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save stephensprinkle-zz/2899399 to your computer and use it in GitHub Desktop.
Save stephensprinkle-zz/2899399 to your computer and use it in GitHub Desktop.
Stripe Environment Based Keys
production.rb: STRIPE_SECREY_KEY = "XXXX"
development.rb: STRIPE_SECREY_KEY = "YYYY"
initializers/stripe.rb: Stripe.api_key = STRIPE_SECRET_KEY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment