Skip to content

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

Update GraphQL schema

Jakub Draganek0fa0305668a4
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphql
index a17cae798d..1b2d873b74 100644
--- a/saleor/graphql/schema.graphql
+++ b/saleor/graphql/schema.graphql
@@ -1447,6 +1447,7 @@ enum GatewaysEnum {
BRAINTREE
RAZORPAY
STRIPE
+ STRIPE_NEW
}
scalar GenericScalar
diff --git a/saleor/payment/gateways/stripe_new/__init__.py b/saleor/payment/gateways/stripe_new/__init__.py
index a05d74a3a6..6e1a63e0bf 100644
--- a/saleor/payment/gateways/stripe_new/__init__.py
+++ b/saleor/payment/gateways/stripe_new/__init__.py
@@ -2,18 +2,16 @@ from typing import Dict
import stripe
-from saleor.payment.gateways.stripe.utils import (
+from ... import TransactionKind
+from ...interface import GatewayConfig, GatewayResponse, PaymentData
+from .forms import StripePaymentModalForm
+from .utils import (
get_amount_for_stripe,
get_amount_from_stripe,
get_currency_for_stripe,
get_currency_from_stripe,
)
-from ... import TransactionKind
-from ...interface import GatewayConfig, GatewayResponse, PaymentData
-from .forms import StripePaymentModalForm
-from .utils import get_amount_for_stripe, get_currency_for_stripe
-
def get_client_token(**_):
"""Not implemented for stripe gateway currently. The client token can be