payable-subscriptions
This builds upon the subscription and recurrent billing from django-flexible-subscriptions with supported payment vendors, such as Venmo.
- Integrates out-of-the-box payment processing for django-flexible-subscriptions.
- NOTE: Currently, only Venmo is supported.
- Automatically update Google Contact Group based on subscription status (new or expired)
Quick start
- Add
payablesubs(andsubscriptions) to yourINSTALLED_APPSsetting like this:
INSTALLED_APPS = [
...
'subscriptions',
'payablesubs',
]
- Inject
payablesubscustom manager class by adding this in settings file:
DFS_MANAGER_CLASS = "payablesubs.management.commands._payable_manager.PayableManager"
- Include the polls URLconf in your project
urls.pylike this:
path('subscriptions/', include('subscriptions.urls')),
-
Run
python manage.py migrateto create the models. -
Start the development server and visit http://127.0.0.1:8000/subscriptions/dfs/subscriptions to view the subscriptions dashboard. NOTE: You need to create and login with a superuser account.
See django-flexible-subscription documentation for more details.
-
Create your Venmo access token following these instructions. Save the token to a file:
.credentials/venmo.token -
Automate sending and processing payments by calling
$> python manage.py process_subscriptions
Optional Settings
The following can be set either directly in your settings file, or via environment properties
PAYABLESUBS_BILLING_ENABLED: if disabled, payment requests will not be sent. Helpful for testing.PAYABLESUBS_DRY_RUN: processes subscriptions, but doesn't persistBills or send payment requests. Helpful for testing.PAYABLESUBS_GOOGLE_CONTACT_LABEL: The Google contact group label associated with active subscriptions. If not set, Google integration is disabled.- if enabled, ensure
.credentials/credentials.jsonexists. See Google People Python Quickstart
- if enabled, ensure
Libraries Used
Metadata
Release files for payable-subscriptions 1.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| payable-subscriptions-1.0.8.zip | 38.8 kB | Without provenance | Details for payable-subscriptions-1.0.8.zip |
Release files / payable-subscriptions-1.0.8.zip
| Download URL | payable-subscriptions-1.0.8.zip |
|---|---|
| Size | 38.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a7708b9a9edb948bd30eab1e296287c35a4a6d989c6c91a54cd13addc907c3f
|
|
BLAKE2b-256 checksum How to use checksums |
a5353621ddaa464b604931e7061bc4ec09a2bdb79d1cb6272b034e01bda21a8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Security for payable-subscriptions 1.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.