Added IsPaid(), and throws error if curl POST request fails.