allow overriding STRIPE_* with local_settings.py
ci/woodpecker/pr/woodpecker Pipeline failed
Details
ci/woodpecker/pr/woodpecker Pipeline failed
Details
Without a default value it will fail before it gets a chance to be overriden by local_settings.py Signed-off-by: Loïc Dachary <loic@dachary.org>pull/2/head
parent
b387e44f49
commit
adcdd00179
|
@ -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=""),
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue