Slide 15
Slide 15 text
[
'transitions' => [
'create' => [
'from' => ['new'],
'to' => 'pending',
],
'cancel' => [
'from' => ['new', 'pending'],
'to' => 'canceled',
],
'complete' => [
'from' => ['pending'],
'to' => 'completed',
],
'refund' => [
'from' => ['completed'],
'to' => 'refunded',
],
],
];