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 don't see any business logic here, only technical stuff ;) But anyways, if you just set a breakpoint at the
kill()
call, this should always be reached, given your child indeed terminates. Probably some misuse or misconfiguration of the debugger. Did you compile with all debugging symbols? Is the debugger configured to attach to child processes and might hang in some breakpoint in the child?– Felix Palmen
9 hours ago