fix typo. change secrets.yml config.
This commit is contained in:
parent
a9ab1186f8
commit
048f20bcfc
4 changed files with 5 additions and 5 deletions
|
|
@ -1 +1 @@
|
|||
Stripe.api_key = Rails.application.secret.stripe_secret_key
|
||||
Stripe.api_key = Rails.application.secrets.stripe_secret_key
|
||||
|
|
|
|||
|
|
@ -64,5 +64,5 @@ production:
|
|||
|
||||
# Register on stripe and add LIVE keys here
|
||||
# https://dashboard.stripe.com/account/apikeys
|
||||
stripe_publishable_key: ''
|
||||
stripe_secret_key: ''
|
||||
stripe_publishable_key: <%= ENV['STRIPE_PUBLISHABLE_KEY'] %>
|
||||
stripe_secret_key: <%= ENV['STRIPE_SECRET_KEY'] %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue