From a8b86e59876be8d35eeccd26373dc551b84c3d72 Mon Sep 17 00:00:00 2001 From: Lukasz Ostrowski Date: Tue, 27 May 2025 09:16:48 +0200 Subject: [PATCH] Update stripe ID --- .../payment-gateway/components/payment-gateway-select.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/payment-gateway/components/payment-gateway-select.tsx b/src/modules/payment-gateway/components/payment-gateway-select.tsx index c565e70..0d3c2fe 100644 --- a/src/modules/payment-gateway/components/payment-gateway-select.tsx +++ b/src/modules/payment-gateway/components/payment-gateway-select.tsx @@ -62,7 +62,7 @@ export const PaymentGatewaySelect = (props: { async function onSubmit(data: PaymentGatewaySchemaType) { switch (data.paymentGatewayId) { case "app.saleor.stripe": - case "saleor.app.payment.stripe-v2": { + case "saleor.app.payment.stripe": { toast({ title: "Payment gateway selected", description: "Redirecting to Stripe", @@ -86,7 +86,7 @@ export const PaymentGatewaySelect = (props: { } default: { throw new Error( - "Payment method not supported. Check either app.saleor.stripe or app.saleor.adyen", + "Payment gateway is not supported. Check either app.saleor.stripe or app.saleor.adyen", ); } }