some modifications are done in payInvoice.html and its controller