Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Change Stripe plugin name to mark deprecation (#17751)

Lukasz Ostrowski47b91c97c30a
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b8d98ed0d6..426473b285 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -18,3 +18,4 @@ All notable, unreleased changes to this project will be documented in this file.
### Other changes
- deps: upgraded urllib3 from v1.x to v2.x
- Fix PAGE_DELETE webhook to include pageType in payload - #17697 by @Jennyyyy0212 and @CherineCho2016
+- Stripe Plugin has been deprecated. It will be removed in the future. Please use [the Stripe App](https://docs.saleor.io/developer/app-store/apps/stripe/overview) instead
diff --git a/saleor/payment/gateways/stripe/consts.py b/saleor/payment/gateways/stripe/consts.py
index ae1443c0a4..419575964f 100644
--- a/saleor/payment/gateways/stripe/consts.py
+++ b/saleor/payment/gateways/stripe/consts.py
@@ -1,5 +1,10 @@
PLUGIN_ID = "saleor.payments.stripe"
-PLUGIN_NAME = "Stripe"
+PLUGIN_NAME = "Stripe (deprecated)"
+PLUGIN_DESCRIPTION = """
+Stripe Plugin has been deprecated and will be removed in the future. Use the Stripe App instead.
+
+https://docs.saleor.io/developer/app-store/apps/stripe/overview
+"""
WEBHOOK_PATH = "webhooks/"
WEBHOOK_SUCCESS_EVENT = "payment_intent.succeeded"
diff --git a/saleor/payment/gateways/stripe/plugin.py b/saleor/payment/gateways/stripe/plugin.py
index 8bb226ff0c..299218e222 100644
--- a/saleor/payment/gateways/stripe/plugin.py
+++ b/saleor/payment/gateways/stripe/plugin.py
@@ -24,6 +24,7 @@ from ..utils import get_supported_currencies
from .consts import (
ACTION_REQUIRED_STATUSES,
AUTHORIZED_STATUS,
+ PLUGIN_DESCRIPTION,
PLUGIN_ID,
PLUGIN_NAME,
PROCESSING_STATUS,
@@ -54,6 +55,7 @@ logger = logging.getLogger(__name__)
class StripeGatewayPlugin(BasePlugin):
PLUGIN_NAME = PLUGIN_NAME
+ PLUGIN_DESCRIPTION = PLUGIN_DESCRIPTION
PLUGIN_ID = PLUGIN_ID
DEFAULT_CONFIGURATION = [
{"name": "public_api_key", "value": None},