Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add dots to help_text in gateways
IKarbowiak0eed90567b85
diff --git a/saleor/payment/gateways/braintree/plugin.py b/saleor/payment/gateways/braintree/plugin.pyindex 4472b84da3..f9c9d68e0a 100644--- a/saleor/payment/gateways/braintree/plugin.py+++ b/saleor/payment/gateways/braintree/plugin.py@@ -49,17 +49,17 @@ class BraintreeGatewayPlugin(BasePlugin):CONFIG_STRUCTURE = {"Public API key": {"type": ConfigurationTypeField.SECRET,- "help_text": "Provide Braintree public API key",+ "help_text": "Provide Braintree public API key.","label": "Public API key",},"Secret API key": {"type": ConfigurationTypeField.SECRET,- "help_text": "Provide Braintree secret API key",+ "help_text": "Provide Braintree secret API key.","label": "Secret API key",},"Merchant ID": {"type": ConfigurationTypeField.SECRET,- "help_text": "Provide Braintree merchant ID",+ "help_text": "Provide Braintree merchant ID.","label": "Merchant ID",},"Use sandbox": {@@ -69,7 +69,7 @@ class BraintreeGatewayPlugin(BasePlugin):},"Store customers card": {"type": ConfigurationTypeField.BOOLEAN,- "help_text": "Determines if Saleor should store cards on payments"+ "help_text": "Determines if Saleor should store cards on payments."" in Braintree customer.","label": "Store customers card",},@@ -85,7 +85,7 @@ class BraintreeGatewayPlugin(BasePlugin):},"Supported currencies": {"type": ConfigurationTypeField.LIST,- "help_text": "Determines currencies supported by gateway",+ "help_text": "Determines currencies supported by gateway.","label": "Supported currencies",},}diff --git a/saleor/payment/gateways/dummy/plugin.py b/saleor/payment/gateways/dummy/plugin.pyindex 04f9217b19..92dd4dc6bc 100644--- a/saleor/payment/gateways/dummy/plugin.py+++ b/saleor/payment/gateways/dummy/plugin.py@@ -52,7 +52,7 @@ class DummyGatewayPlugin(BasePlugin):},"Supported currencies": {"type": ConfigurationTypeField.LIST,- "help_text": "Determines currencies supported by gateway",+ "help_text": "Determines currencies supported by gateway.","label": "Supported currencies",},}diff --git a/saleor/payment/gateways/razorpay/plugin.py b/saleor/payment/gateways/razorpay/plugin.pyindex 50ef747df9..b049b7a0d2 100644--- a/saleor/payment/gateways/razorpay/plugin.py+++ b/saleor/payment/gateways/razorpay/plugin.py@@ -35,17 +35,17 @@ class RazorpayGatewayPlugin(BasePlugin):CONFIG_STRUCTURE = {"Public API key": {"type": ConfigurationTypeField.SECRET,- "help_text": "Provide public API key",+ "help_text": "Provide public API key.","label": "Public API key",},"Secret API key": {"type": ConfigurationTypeField.SECRET,- "help_text": "Provide Stripe secret API key",+ "help_text": "Provide Stripe secret API key.","label": "Secret API key",},"Store customers card": {"type": ConfigurationTypeField.BOOLEAN,- "help_text": "Determines if Saleor should store cards on payments"+ "help_text": "Determines if Saleor should store cards on payments.""in Stripe customer.","label": "Store customers card",},@@ -56,7 +56,7 @@ class RazorpayGatewayPlugin(BasePlugin):},"Supported currencies": {"type": ConfigurationTypeField.LIST,- "help_text": "Determines currencies supported by gateway",+ "help_text": "Determines currencies supported by gateway.","label": "Supported currencies",},}diff --git a/saleor/payment/gateways/stripe/plugin.py b/saleor/payment/gateways/stripe/plugin.pyindex d67b856089..7a919dd5c1 100644--- a/saleor/payment/gateways/stripe/plugin.py+++ b/saleor/payment/gateways/stripe/plugin.py@@ -45,17 +45,17 @@ class StripeGatewayPlugin(BasePlugin):CONFIG_STRUCTURE = {"Public API key": {"type": ConfigurationTypeField.SECRET,- "help_text": "Provide Stripe public API key",+ "help_text": "Provide Stripe public API key.","label": "Public API key",},"Secret API key": {"type": ConfigurationTypeField.SECRET,- "help_text": "Provide Stripe secret API key",+ "help_text": "Provide Stripe secret API key.","label": "Secret API key",},"Store customers card": {"type": ConfigurationTypeField.BOOLEAN,- "help_text": "Determines if Saleor should store cards on payments"+ "help_text": "Determines if Saleor should store cards on payments.""in Stripe customer.","label": "Store customers card",},@@ -66,7 +66,7 @@ class StripeGatewayPlugin(BasePlugin):},"Supported currencies": {"type": ConfigurationTypeField.LIST,- "help_text": "Determines currencies supported by gateway",+ "help_text": "Determines currencies supported by gateway.","label": "Supported currencies",},}