i explained this just before and i will say it once more, the only Actual fix for this is to code in the main a FIFO sort predicament for tx's.. this Total payment thing is a failure.. it will by no means perform as "supposed" as someone will usually established their fee higher and larger and greater.