I'm using the Example Payment module to test payments for free stuff in Drupal 7 Commerce. It works, but after the last step in the checkout process, the order status is always set to Checkout: Complete and its workflow order state set to Checkout, even though I have rules in place that set the order status and state to Completed (when an order is first paid in full).
When I look at the order revisions, I notice the order status is first set to Completed and then to Checkout: Payment. The log contains a Customer continued to the next checkout page via a submit button. message.
I created dblog messages to show what is happening, but I can't find any message that reverts the shopping cart state.