We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18276ec commit bc05773Copy full SHA for bc05773
config/initializers/stripe.rb
@@ -1,6 +1,6 @@
1
-Rails.configuration.stripe = {
2
- :publishable_key => 'pk_live_3cC2OUaORT6Sgitt1ltPeEA1',
3
- :secret_key => 'sk_live_OaASXG1s0xABCp0k5d8AsbaL'
4
-}
+ Rails.configuration.stripe = {
+ :publishable_key => ENV['PUBLISHABLE_KEY'],
+ :secret_key => ENV['SECRET_KEY']
+ }
5
6
-Stripe.api_key = Rails.configuration.stripe[:secret_key]
+ Stripe.api_key = Rails.configuration.stripe[:secret_key]
0 commit comments