config/initializers/stripe.rb in catarse_stripe-0.1.0 vs config/initializers/stripe.rb in catarse_stripe-0.1.0.0.1
- old
+ new
@@ -4,12 +4,12 @@
:publishable_key => (::Configuration['stripe_api_key']),
:secret_key => (::Configuration['stripe_secret_key']),
:stripe_client_id => (::Configuration['stripe_client_id'])
}
-#Stripe.api_key = Rails.configuration.stripe[:secret_key]
-#STRIPE_PUBLIC_KEY = Rails.configuration.stripe[:publishable_key]
-#STRIPE_CLIENT_ID = Rails.configuration.stripe[:stripe_client_id]
+Stripe.api_key = Rails.configuration.stripe[:secret_key]
+STRIPE_PUBLIC_KEY = Rails.configuration.stripe[:publishable_key]
+STRIPE_CLIENT_ID = Rails.configuration.stripe[:stripe_client_id]
#Stripe.api_key = ENV['STRIPE_API_KEY'] #PROJECT secret
#STRIPE_PUBLIC_KEY = ENV['STRIPE_PUBLIC_KEY'] #PROJECT publishable
#STRIPE_CLIENT_ID = ENV['STRIPE_CLIENT_ID'] #Platform owner app key
\ No newline at end of file