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 = [
        ...
        'subcription',
    ]
  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.1.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for django_enhanced_subscriptions-1.0.1.tar.gz
Algorithm Hash digest
SHA256 d76d769a2f082d0d477ba3eb3c1a56d1895dea66c97a0c38d4f3c3f1e3191c56
MD5 74c33bda8144d0a0259f072e0e06e756
BLAKE2b-256 f9b880122f07790ce5cac6400f5f5dd0b227e73bd1c5558e626550ae6f6422f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_enhanced_subscriptions-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e87e28dd2a523f3f62d51841f9ca68f717eff63a385c620439618c78648f1c5f
MD5 7a5223838093e3065f352a09695a6ab6
BLAKE2b-256 14d1362348ce22abd8030b09d218aa496e8a7b91d514a4a9ec944a7b25fc0259

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