Skip to main content

This Django library provides a comprehensive solution for managing subscriptions, feature access and wallet functionality

Project description

About

This Django library provides a comprehensive solution for managing subscriptions, feature access and wallet functionality

Features

  • Associates features with subscription plans and define limits

  • Manage a user wallet for managing subscription payments, refunds and credits

  • Records all wallet transactions including subscription payments, cancellation and refunds

  • Capture details for a subscription plan

  • Define cost and frequency of billing for a plan

  • Associates user’s to specific subscriptions

  • Define feature that can be included in subscription plans

  • Define pricing tiers for features with tiered pricing

  • Tracks usage of features by subscribed users

Installation

  1. Install package

pip install django-enhanced-subcriptions
  1. Add “django-enhanced-subcriptions” to your INSTALLED_APPS setting:

    INSTALLED_APPS = [
        ...
        'django-enhanced-subcriptions',
    ]
  2. Run migrations:

    python manage.py migrate
  3. Override the below config in settings.py

    SUBSCRIPTION = {
      "CACHE_TIMEOUT_SECONDS":  60,
      "BASE_RETRY_DELAY_SECONDS": 300,
      "FIXED_INTERVAL_DELAY": 3600,
      "MAX_RETRY_ATTEMPTS": 3,
      "CACHE_TIMEOUT_MINUTES": 5,
      "GRACE_PERIOD_DAYS": 1,
      "ENABLE_ADMIN": True,
    }

Documentation

https://django-enhanced-subscriptions.readthedocs.io/en/latest/index.html

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_enhanced_subscriptions-1.0.0.tar.gz (244.6 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file django_enhanced_subscriptions-1.0.0.tar.gz.

File metadata

File hashes

Hashes for django_enhanced_subscriptions-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8852888b3582cae92ffc764009460454c36945ba23b73e4316d1e27631bb50ea
MD5 3c1f93f0557546a9c1639c755c5431a4
BLAKE2b-256 08912fe3ee7adf0305dd79ac8b408c9c4e2b3d577f6eba969d019b862e255801

See more details on using hashes here.

File details

Details for the file django_enhanced_subscriptions-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_enhanced_subscriptions-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8116acd68bb07dab5863cc2cf9606da79facf95e06f7c7a51cc0e64de2967ec
MD5 3bed8edb2b2f7347cb34d0ceecd22c8a
BLAKE2b-256 b4b594612ff39b6f8e7894c58dc1cdf7db0d20bf3f86a027e0db0326421c6b3f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page