Stripe::AuthenticationError No API key provided. Set your API key using “Stripe.api_key = ”
Clash Royale CLAN TAG#URR8PPP Stripe::AuthenticationError No API key provided. Set your API key using “Stripe.api_key = <API-KEY>” UPDATE: I set the publishable key directly inline like so: Stripe.setPublishableKey("pk_live_*****"); and it works!! The problem is it is not properly configuring with ENV['stripe_publishable_key'] . Stripe.setPublishableKey("pk_live_*****"); ENV['stripe_publishable_key'] ORIGINAL POST: I am using the koudoku gem for Stripe. Everything works fine locally, but when I push to heroku, I am getting the error: Stripe::AuthenticationError (No API key provided. Set your API key using "Stripe.api_key = <API-KEY>". Stripe::AuthenticationError (No API key provided. Set your API key using "Stripe.api_key = <API-KEY>". Even though it sets the publishable key in development. Also, if I run heroku config, I see the keys there. What is happening here? Why is it not setting the key?? application.yml
I am not shure, if I understood your question correctly. As far as I understood it, you want to place a rendered template file on a remote machine. But this is exactly what the template module can be used for: - template: src: /mytemplates/foo.j2 dest: /etc/file.conf will place the file on /etc/file.conf on the remote machine.
– Stefan Wegener
5 hours ago