2014-09-09 19:06:38 -07:00
|
|
|
Rails.configuration.stripe = {
|
2015-07-16 14:44:52 -07:00
|
|
|
:publishable_key => ENV.fetch('STRIPE_PUBLISHABLE_KEY'),
|
|
|
|
:secret_key => ENV.fetch('STRIPE_SECRET_KEY')
|
2014-09-09 19:06:38 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
Stripe.api_key = Rails.configuration.stripe[:secret_key]
|