small medium large xlarge

Back to: All Forums  Take My Money
1389476_763398773796179_60661087_n_pragsmall
24 Jan 2017, 18:24
Тимур Раджабов (5 posts)

[I catched this error after i run purchase_cart spec](https://i.imgsafe.org/799118e465.png) Then i peeked at [initializers/stripe.rb(]https://i.imgsafe.org/7991fbf226.png) Here is what my secrets.yml is look [like](https://i.imgsafe.org/7992246dd4.png) That’s how i set up my [text to display](https://i.imgsafe.org/799232a518.png)

Where did i make a mistake? here is my repo for this - [bitbucket]( https://bitbucket.org/gravity_slave/take-my-money/src)

Head_shot_pragsmall
24 Jan 2017, 18:30
Noel Rappin (49 posts)

It looks like the indentation in the secrets.yml file is bad? Try indenting the stripe key entries to be under development and not parallel to it.

1389476_763398773796179_60661087_n_pragsmall
25 Jan 2017, 04:43
Тимур Раджабов (5 posts)

[It didn't fix the error](https://i.imgsafe.org/82b99e2815.png) - i still have this missing stripe api key

Head_shot_pragsmall
25 Jan 2017, 12:31
Noel Rappin (49 posts)

Your .env file listing is STRIPE_SECRET_kEY not STRIPE_SECRET_KEY (capital “K” in KEY)

You must be logged in to comment