Fix subtracting from global "amount" (a nil value) when paying too much
Merge pull request #3 from arsdragonfly/master

Fix subtracting from global "amount" (a nil value) when paying too much