allow overriding STRIPE_* with local_settings.py #2

Merged
realaravinth merged 1 commits from dachary/dashboard:wip-settings into master 2022-06-25 19:59:53 +00:00
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=""),
}, },
) )
} }