Recurring payments solution Askell integration for Django and Wagtail (optional)
Project description
django-askell
Áskell integration for Django and Wagtail (optional)
Installation
pip install django-askell
Add the app to your INSTALLED_APPS
INSTALLED_APPS = [
# ... other apps
'askell',
# ... other apps
]
Add the app urls to your project urls.py
:
from django.urls import path, include
from askell.urls import urls as askell_urls
urlpatterns = [
# ... your other urls
path('askell/', include(askell_urls)),
# ... more urls
]
To complete your setup, it is recommended to set up a webhook in Áskell's dashboard pointing to your website's URL. If your website has the domain https://example.com
and you have added the app urls to your project, then the view that receives the webhooks is located at https://example.com/askell/webhook/
.
Create your webhook, and then obtain your webhook secret and put it in your settings file or environment in your project:
ASKELL_WEBHOOK_SECRET = 'my-secret'
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
Built Distribution
File details
Details for the file django-askell-0.1.tar.gz
.
File metadata
- Download URL: django-askell-0.1.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00b4d28ecab7c8c6523b619fb90de723157286a3893ddb562d33bb6a68a24089 |
|
MD5 | 15732fdd2984d45b0a8283ab089c530c |
|
BLAKE2b-256 | e49699ac614ba9689cf696b45178dc62b3160bfa8bb1ccb2a1c0b204efad4a25 |
File details
Details for the file django_askell-0.1-py3-none-any.whl
.
File metadata
- Download URL: django_askell-0.1-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bf38d9f52d48972b63c8f249ca9350f7996a7281c1119e1a9c94777aea5c917 |
|
MD5 | 4dbd0069b191545cfe56595c6b8d636d |
|
BLAKE2b-256 | b7a94f0f335536edde77d5c234002f6c87d9d04097161fe6e30d557030688413 |