Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Deprecate client token field
Jakub Draganek346bc4628131
diff --git a/saleor/graphql/payment/schema.py b/saleor/graphql/payment/schema.pyindex b518e4fa58..0fde9dd4cb 100644--- a/saleor/graphql/payment/schema.py+++ b/saleor/graphql/payment/schema.py@@ -19,6 +19,10 @@ class PaymentQueries(graphene.ObjectType):payment_client_token = graphene.Field(graphene.String,gateway=graphene.String(required=True, description="A payment gateway."),+ deprecation_reason=(+ "DEPRECATED: Will be removed in Saleor 2.10, "+ "use payment gateway config instead in availablePaymentGateways."+ ),)@permission_required("order.manage_orders")diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphqlindex dc2932fc23..3606fe688e 100644--- a/saleor/graphql/schema.graphql+++ b/saleor/graphql/schema.graphql@@ -3323,7 +3323,7 @@ type Query {reportProductSales(period: ReportingPeriod!, before: String, after: String, first: Int, last: Int): ProductVariantCountableConnectionpayment(id: ID!): Paymentpayments(before: String, after: String, first: Int, last: Int): PaymentCountableConnection- paymentClientToken(gateway: String!): String+ paymentClientToken(gateway: String!): String @deprecated(reason: "DEPRECATED: Will be removed in Saleor 2.10, use payment gateway config instead in availablePaymentGateways.")page(id: ID, slug: String): Pagepages(query: String, filter: PageFilterInput, before: String, after: String, first: Int, last: Int): PageCountableConnectionhomepageEvents(before: String, after: String, first: Int, last: Int): OrderEventCountableConnection