transaction model, moved functions to respective models, check for payment request