Order
Orders track product purchases in Casdoor. When a user buys a product, an order is automatically created to record the purchase details and track its lifecycle.
Order vs Payment
While closely related, orders and payments serve different purposes:
- Order: Tracks what was purchased and its fulfillment state
- Payment: Tracks how the transaction was paid
Both are created when purchasing a product, but subscriptions use a different flow (Pricing → Plan → Payment → Subscription) without orders.
Creating Orders
When a user purchases a product, the system creates an order and shows immediate feedback. A success notification appears when the order is created, before redirecting to the payment page. If order creation fails, an error message explains the issue.