Skip to content

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

Update validation error for validate_gateway in CheckoutPaymentCreate

IKarbowiake72243846059
diff --git a/saleor/graphql/payment/mutations.py b/saleor/graphql/payment/mutations.py
index 2330d99a0d..23e7708f30 100644
--- a/saleor/graphql/payment/mutations.py
+++ b/saleor/graphql/payment/mutations.py
@@ -115,7 +115,7 @@ class CheckoutPaymentCreate(BaseMutation, I18nMixin):
raise ValidationError(
{
"gateway": ValidationError(
- "This gateway does not support checkout currency.",
+ f"The gateway {gateway_id} does not support checkout currency.",
code=PaymentErrorCode.NOT_SUPPORTED_GATEWAY.value,
)
}