...you can do this the same way as above, but including a pass to translate "cancelled" to "failed", which is the closest available match.  This is a data-loss scenario, but downgrades always are.