This might take care of the issue of double paying
Merge pull request #47 from JoshuaEstes/possibleBugFix

This takes care of applying a payment twice