Update concept documentation and add a graph on order states

This commit is contained in:
Raphael Michel
2016-08-14 20:39:16 +02:00
parent ff3c5dc6a4
commit e90fd57ca3
3 changed files with 63 additions and 38 deletions

View File

@@ -0,0 +1,18 @@
@startuml
Pending: Order is expecting payment\nOrder reduces quotas
Expired: Payment period is over\nOrder does not affect quotas
Paid: Order was successful\nOrder reduces quotas
Cancelled: Order has been cancelled\nOrder does not affect quotas
Refunded: Order has been refunded\nOrder does not affect quotas
[*] --> Pending: customer\nplaces order
Pending --> Paid: successful payment
Pending --> Expired: automatically\nor manually\non admin action
Expired --> Paid: if payment is received\nonly if quota left
Expired --> Cancelled
Paid --> Refunded: manually on\nadmin action\nor if an external\npayment provider\nnotifies about a\npayment refund
Pending --> Cancelled: on admin or\ncustomer action
Paid -> Pending: manually on admin action
@enduml