Skip to content

Instantly share code, notes, and snippets.

@fedeagripa fedeagripa/stripe.rb

Created May 28, 2020
What would you like to do?
# config/intializers/stripe.rb
Rails.configuration.stripe = {
publishable_key: ENV['STRIPE_PUBLISHABLE_KEY'],
secret_key: ENV['STRIPE_SECRET_KEY']
Stripe.api_key = Rails.configuration.stripe[:secret_key]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.