Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add payment field paymentMethodType to API
Maciej Korycinski20bd985306e3
diff --git a/saleor/graphql/payment/types.py b/saleor/graphql/payment/types.pyindex 8639cbcac9..df02d72586 100644--- a/saleor/graphql/payment/types.py+++ b/saleor/graphql/payment/types.py@@ -104,6 +104,7 @@ class Payment(CountableDjangoObjectType):"checkout","order","customer_ip_address",+ "payment_method_type",]@staticmethoddiff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphqlindex 6f626e576d..dad8d6eedd 100644--- a/saleor/graphql/schema.graphql+++ b/saleor/graphql/schema.graphql@@ -3676,6 +3676,7 @@ type Payment implements Node {token: String!checkout: Checkoutorder: Order+ paymentMethodType: String!customerIpAddress: StringchargeStatus: PaymentChargeStatusEnum!actions: [OrderAction]!