@webshop/root - v1.0.0
    Preparing search index...

    Controller for checkout endpoints.

    Abdelrahmen Sobhy

    Index

    Constructors

    Properties

    _checkoutRepository: CheckoutRepository

    Methods

    • Confirms the checkout after returning from the PSP payment page.

      Parameters

      • req: Request<{ orderId: string }>
      • res: Response

      Returns Promise<void>

      Abdelrahmen Sobhy

    • Starts the checkout for the logged-in user's pending cart.

      Parameters

      • req: Request<
            Record<string, never>,
            unknown,
            { baseUrl: string; discountCode?: string },
        >
      • res: Response

      Returns Promise<void>

      Abdelrahmen Sobhy