Please note that this documentation is for the most recent version of this extension. It may not be relevant for older versions. Related documentation can be found in the documentation directory of the extension.
Basket order canceling (storno)
An order was successfully placed, and an order number and invoice number were assigned. However, the goods have neither been shipped nor paid for.
In this case, the original order is not deleted but rather canceled by a cancellation order.
The cancellation order references the original order (via tx_shop_domain_model_basketorder.parent), contains all items and the full amount (including shipping costs, etc.) in negative form, and serves solely to neutralize the original invoice for accounting purposes.
stateDiagram-v2
%% Starting point: original order exists (ordered),
%% but no payment and no shipping
[*] --> prepared : Cancellation is being prepared\n(reference to original invoice)
prepared --> refunded : Cancellation invoice created\n(new invoice number,\nnegative line items)
refunded --> processed : Cancellation completed\nno money flow
%% End state
processed --> [*]
%% Notes
note right of refunded
- No shipping
- No payment
- Pure reversal document
end note
TypoScript configuration
plugin.tx_shop.settings.basketOrder {
orderOptions {
storno {
status {
prepared {
allowed {
refunded =
}
}
refunded {
allowed {
processed =
}
}
processed {
# End, but "allowed" must be defined!
allowed =
}
}
}
}
}
