Adding script handling on pay view for invoice expiring or being void