avoid crash in CI when STRIPE is not set
ci/woodpecker/pr/woodpecker Pipeline failed
Details
ci/woodpecker/pr/woodpecker Pipeline failed
Details
Signed-off-by: Loïc Dachary <loic@dachary.org>
parent
f30a609eed
commit
ac5aa71195
|
@ -44,8 +44,8 @@ PAYMENT_VARIANTS = {
|
||||||
"stripe": (
|
"stripe": (
|
||||||
"payments.stripe.StripeProvider", # please don't change this
|
"payments.stripe.StripeProvider", # please don't change this
|
||||||
{
|
{
|
||||||
"secret_key": env.get_value("STRIPE_SECRET_KEY"),
|
"secret_key": env.get_value("STRIPE_SECRET_KEY", "UNSET"),
|
||||||
"public_key": env.get_value("STRIPE_PUBLIC_KEY"),
|
"public_key": env.get_value("STRIPE_PUBLIC_KEY", "UNSET"),
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue