Merge pull request 'allow overriding STRIPE_* with local_settings.py' (#2) from dachary/dashboard:wip-settings into master

Reviewed-on: https://gitea.hostea.org/Hostea/dashboard/pulls/2
wip-site
Aravinth Manivannan 2022-06-25 15:59:53 -04:00
commit e7446dea2b
1 changed files with 2 additions and 2 deletions

View File

@ -157,8 +157,8 @@ PAYMENT_VARIANTS = {
"stripe": ( "stripe": (
"payments.stripe.StripeProvider", "payments.stripe.StripeProvider",
{ {
"secret_key": env.get_value("STRIPE_SECRET_KEY"), "secret_key": env.get_value("STRIPE_SECRET_KEY", default=""),
"public_key": env.get_value("STRIPE_PUBLIC_KEY"), "public_key": env.get_value("STRIPE_PUBLIC_KEY", default=""),
}, },
) )
} }