CloudSketch AI Logo
FeaturesTemplatesPricingEnterpriseAboutContactLog in
πŸŒ™β˜€οΈ
Log inStart free
Home/Templates/Student Projects (College Reports)

πŸŽ“ Student Projects (College Reports) Β· Sequence

Online Shopping System Sequence Diagram (Place an Order)

Checkout on a shopping website: stock check, payment and order confirmation.

More Student Projects (College Reports) templates

Drawing diagram…

What this diagram shows

  • Stock reserved before payment
  • Alt branch for failed payment
  • Seller notified to pack the order

Prompt used

Sequence diagram for placing an order on a shopping website: the customer clicks checkout; the order service checks and reserves stock with the inventory service; the payment gateway charges the customer; on success the order is confirmed, the seller is notified to pack it and the customer gets an SMS; on failure the stock reservation is released.

Mermaid code
sequenceDiagram
  actor C as Customer
  participant W as Website
  participant O as Order Service
  participant I as Inventory Service
  participant P as Payment Gateway
  participant N as Notification Service
  C->>W: Checkout
  W->>O: Create order
  O->>I: Reserve stock
  I-->>O: Reserved
  O->>P: Charge customer
  alt Payment successful
    P-->>O: Success
    O->>O: Confirm order
    O->>N: Notify seller to pack
    O->>N: Send order SMS to customer
    O-->>W: Order confirmed
  else Payment failed
    P-->>O: Failed
    O->>I: Release stock
    O-->>W: Payment failed, try again
  end

Related templates

Use CaseStudent Projects (College Reports)

Library Management System Use Case Diagram

Who uses a college library system and what each of them can do: members, the librarian and the system administrator.

Database ERDStudent Projects (College Reports)

Library Management System ER Diagram

The database of a library system: books and their copies, authors, members, loans, reservations and fines, with keys and cardinality.

Data FlowStudent Projects (College Reports)

Library Management System Data Flow Diagram (Level 1)

How data moves through a library system: members and the librarian, the main processes, and the data stores they read and write.

Class UMLStudent Projects (College Reports)

Library Management System Class Diagram

The main classes of a library system with attributes, methods and UML relationships.

SequenceStudent Projects (College Reports)

Library Management System Sequence Diagram (Issue a Book)

The steps when a member borrows a book: checks, loan record and the copy status update.

Use CaseStudent Projects (College Reports)

Online Examination System Use Case Diagram

What students, examiners and the administrator do in an online examination system.