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 0b3cadb commit 886af7aCopy full SHA for 886af7a
config/initializers/stripe.rb
@@ -0,0 +1,6 @@
1
+ Rails.configuration.stripe = {
2
+ :publishable_key => ENV['PUBLISHABLE_KEY'],
3
+ :secret_key => ENV['SECRET_KEY']
4
+ }
5
+
6
+ Stripe.api_key = Rails.configuration.stripe[:secret_key]
0 commit comments