fixing generate-invoice & payment process
Merge pull request #30 from simoendem/generate-invoice

fixing generate-invoice & payment process