diff --git a/src/app/success/page.tsx b/src/app/success/page.tsx index 1d4fabd..c92bcff 100644 --- a/src/app/success/page.tsx +++ b/src/app/success/page.tsx @@ -1,6 +1,6 @@ import OrderSummaries from "@/features/Shop/components/OrderSummaries"; import CheckoutService from "@/features/Shop/services/checkout.service"; -import { StripeService } from "@/features/Shop/services/stripe.service"; +import { StripeService } from "@/modules/payments/stripe/service/stripe.service"; export default async function SuccessPage({ searchParams, diff --git a/src/errors/index.ts b/src/errors/index.ts deleted file mode 100644 index 9051b84..0000000 --- a/src/errors/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -export class UndefinedSessionMedataError extends Error { - constructor() { - super("session metadata is not defined"); - } -}