Skip to content

Instantly share code, notes, and snippets.

@nicklonz
Created March 2, 2014 21:45
Show Gist options
  • Save nicklonz/9314445 to your computer and use it in GitHub Desktop.
Save nicklonz/9314445 to your computer and use it in GitHub Desktop.
NL Stripe
Rails.configuration.stripe = {
<<<<<<< HEAD
:publishable_key => ENV "pk_test_Gl3BF0sG3c9GtpKJGj0icbTO",
:secret_key => ENV "sk_test_URA3A6ieIkMujq21xsJ4DoIH"
=======
:publishable_key => 'pk_test_Gl3BF0sG3c9GtpKJGj0icbTO',
:secret_key => 'sk_test_URA3A6ieIkMujq21xsJ4DoIH'
>>>>>>> 4dd34627164af2a21914c9af74cbdf02f89dfdaf
}
Stripe.api_key = Rails.configuration.stripe[:secret_key]
@bmneely
Copy link

bmneely commented Mar 2, 2014

Rails.configuration.stripe = {
  :publishable_key => 'pk_test_Gl3BF0sG3c9GtpKJGj0icbTO',
  :secret_key      => 'sk_test_URA3A6ieIkMujq21xsJ4DoIH'
}

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