I don't have any advice on how to do it the other way because I wouldn't do it like that. I think you are risking too much doing it that way. What if your pay for the month got held up for some reason? Wouldn't you have to leave the country?
Why go through the hassle? Won't it really mess up your life if you don't stay on top of it all the time? Put the money in an account and you won't have to do any of that other stuff
we didn't have cash once going thru the train station. They said to go get cash and go to the land border. We went straight to the land border and they let us thru so we caught the train on the Thailand side