How to: Implement an automated Commerce Order state transition