Fixed duplicate payments

Issue #44
Merge pull request #48 from intramedium/master

Fixed duplicate payments - Issue #44