Skip to content
PlantUML templates

Checkout Sequence (PlantUML)

Cart, payment gateway and order service interactions.

Template previewPlantUML
Rendering…

Make it your own.

@startuml
actor Shopper
participant Cart
participant "Payment Gateway" as PG
participant "Order Service" as OS
database DB
Shopper -> Cart : checkout
Cart -> PG : charge(card, amount)
PG --> Cart : payment id
Cart -> OS : createOrder()
OS -> DB : insert order
DB --> OS : ok
OS --> Cart : order id
Cart --> Shopper : confirmation
@enduml