Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Clean django settings
Jakub Draganek74eef25e8568
diff --git a/saleor/settings.py b/saleor/settings.pyindex a434000c4c..fb7ca5c45b 100644--- a/saleor/settings.py+++ b/saleor/settings.py@@ -609,8 +609,7 @@ STRIPE = "stripe"STRIPE_NEW = "stripe_new"CHECKOUT_PAYMENT_GATEWAYS = {- DUMMY: pgettext_lazy("Payment method name", "Dummy gateway"),- STRIPE_NEW: pgettext_lazy("Payment method name", "Stripe gateway"),+ DUMMY: pgettext_lazy("Payment method name", "Dummy gateway")}PAYMENT_GATEWAYS = {@@ -661,40 +660,6 @@ PAYMENT_GATEWAYS = {"connection_params": {"public_key": os.environ.get("STRIPE_PUBLIC_KEY"),"secret_key": os.environ.get("STRIPE_SECRET_KEY"),- "store_name": os.environ.get("STRIPE_STORE_NAME", "Saleor"),- "store_image": os.environ.get("STRIPE_STORE_IMAGE", None),- "prefill": get_bool_from_env("STRIPE_PREFILL", True),- "remember_me": os.environ.get("STRIPE_REMEMBER_ME", True),- "locale": os.environ.get("STRIPE_LOCALE", "auto"),- "enable_billing_address": os.environ.get(- "STRIPE_ENABLE_BILLING_ADDRESS", False- ),- "enable_shipping_address": os.environ.get(- "STRIPE_ENABLE_SHIPPING_ADDRESS", False- ),- },- },- },- STRIPE_NEW: {- "module": "saleor.payment.gateways.stripe_new",- "config": {- "store_card": get_bool_from_env("STRIPE_STORE_CARD", False),- "auto_capture": get_bool_from_env("STRIPE_AUTO_CAPTURE", True),- "template_path": "order/payment/stripe.html",- "connection_params": {- "public_key": os.environ.get("STRIPE_PUBLIC_KEY"),- "secret_key": os.environ.get("STRIPE_SECRET_KEY"),- "store_name": os.environ.get("STRIPE_STORE_NAME", "Saleor"),- "store_image": os.environ.get("STRIPE_STORE_IMAGE", None),- "prefill": get_bool_from_env("STRIPE_PREFILL", True),- "remember_me": os.environ.get("STRIPE_REMEMBER_ME", True),- "locale": os.environ.get("STRIPE_LOCALE", "auto"),- "enable_billing_address": os.environ.get(- "STRIPE_ENABLE_BILLING_ADDRESS", False- ),- "enable_shipping_address": os.environ.get(- "STRIPE_ENABLE_SHIPPING_ADDRESS", False- ),},},},