Fiagro gem, heroku, stripe

I've launched my site live. I changed my stripe keys from test to live. However, they aren't updating on my heroku server after I push live. The test keys are still there. But, my local host shows the live keys as intended. Is there some sort of cache I have to clear for heroku to update? Thanks

Posted over 4 years ago by Markus Lopez
Posted over 4 years ago by Alex Yang

Congrats on launching your site! Changing your test keys to live ones isn't enough to make the change on your Heroku site. You need to also follow the deployment section of the Figaro documentation (https://github.com/laserlemon/figaro). If you're using the latest version of Figaro, that means you should run this command:

figaro heroku:set -e production

1