Fixed consuming credits

If in the app you redefine your checkout flow the `after_transition …
:consume credits` won’t be triggered as the redefining the checkout
flow with `checkout_flow do` will clear the state_machine