Add transaction status transition logic
Update migration for transactions table
Handle undesired status in transaction transitions
Adapt manual payment and API to create_next