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
Hashes for django_askell-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bf38d9f52d48972b63c8f249ca9350f7996a7281c1119e1a9c94777aea5c917 |
|
MD5 | 4dbd0069b191545cfe56595c6b8d636d |
|
BLAKE2b-256 | b7a94f0f335536edde77d5c234002f6c87d9d04097161fe6e30d557030688413 |