If you click on the link to pay online and get the following error:

Invalid parameter invoiceId: <INVOICE ID> Please check if record exists.
List has no rows for assignment to SObject

It is possible that your Account’s sharing setting is set to Private. This setting is normally done as part of setting up Salesforce Communities. To allow online payments in this case, follow the steps as described here.