Fixed the download of payments thanks to AlessandroPappalardo. Issue #241