title: Rails & Heroku | Stripe::AuthenticationError (No API key provided)
body: <p>I'm getting this error when I try to process a payment but I can't see where I'm going wrong:</p>
  
  <p>config/initializers/stripe.rb</p>
  
  <pre><code>Rails.configuration.stripe = {
    :publishable_key =&gt; ENV['stripe_publishable_key'],
    :secret_key      =&gt; ENV['stripe_api_key']
  }
  
  Stripe.api_key = Rails.configuration.stripe[:secret_key]
  </code></pre>
  
  <p>application.yml (figaro):</p>
  
  <pre><code>production:
    stripe_api_key: XXXXXX
    stripe_publishable_key: XXXXXX
  </code></pre>
  
  <p>And then I run "figaro heroku:set -e production" and I get the success message showing all the correct set keys.</p>
  
  <p>What am I missing?</p>
  
  <p>EDIT: added heroku dashboard screenshot</p>
  
  <p><a href="https://i.stack.imgur.com/PAqoH.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PAqoH.jpg" alt="enter image description here"></a></p>