modifications to fix "invoice paid" message from PayPal