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

Reviewed-on: https://gitea.hostea.org/Hostea/dashboard/pulls/2
pull/4/head
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": (
"payments.stripe.StripeProvider",
{
"secret_key": env.get_value("STRIPE_SECRET_KEY"),
"public_key": env.get_value("STRIPE_PUBLIC_KEY"),
"secret_key": env.get_value("STRIPE_SECRET_KEY", default=""),
"public_key": env.get_value("STRIPE_PUBLIC_KEY", default=""),
},
)
}