Skip to content

Commit

Permalink
Donations: explicitly set API version
Browse files Browse the repository at this point in the history
  • Loading branch information
Rio517 committed Feb 22, 2016
1 parent 5c1d764 commit 8ea3688
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config/initializers/stripe.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Rails.configuration.stripe = {
:publishable_key => ENV['STRIPE_PUBLISHABLE_KEY'],
:secret_key => ENV['STRIPE_SECRET_KEY']
publishable_key: ENV['STRIPE_PUBLISHABLE_KEY'],
secret_key: ENV['STRIPE_SECRET_KEY'],
api_version: "2016-02-19"
}

Stripe.api_key = Rails.configuration.stripe[:secret_key]

0 comments on commit 8ea3688

Please sign in to comment.