Add bundlechange App that takes care of customers upgrades and
downgrades.
Changes:
limitmonitor.common module:
* Add billing_period to parse_subscription
* Add order_paid, cancel_subscription, get_user_external_credit,
get_available_bundles and get_user_upgrade_choices
limitmonitor.task_resources.subscription:
* Process pending_regs in reverse order
* Add upgrade_user_subscription and process_bundle_changes
limitmonitor.views:
* Add can_upgrade control
middleware.settings:
* Add BundleChange app
* Add new config variable for BundleChange
purist:
* Rename DeleteAcccountForm for reuse
* Add display names to AccountType
* Move spinner animation into a single template in purist module for
reuse
3 new config options:
* WOO_PARENT_PROD_ID
* WOO_UPGRADE_PAY_URL
* WOO_BUNDLES_INFO_FILE
Signed-off-by:
Birin Sanchez <birin.sanchez@puri.sm>
bundlechange/__init__.py
0 → 100644
bundlechange/admin.py
0 → 100644
bundlechange/apps.py
0 → 100644
bundlechange/forms.py
0 → 100644
bundlechange/models.py
0 → 100644
bundlechange/tests.py
0 → 100644
bundlechange/views.py
0 → 100644
Please register or sign in to comment