From the PyPI django-recurly-1.0.3 package originally by adamcharnock