A Fidus Writer plugin to allow payment through Paddle
Project description
fiduswriter-payment-paddle
Installation
-
Sign up with Paddle.com, create plans and register a webhook (the URL is https//YOURWEBSITE.COM/api/payment/webhook/).
-
Enable subscription for the webhook for these events:
-
Subscription Created
-
Subscription Updated
-
Subscription Cancelled
-
In the configuration.py file, add "payment" to "INSTALLED_APPS"
-
Add these settings to configuration.py:
PADDLE_SANDBOX = True # Only needed for testing with paddle sandbox.
PADDLE_VENDOR_ID = 547628
PADDLE_MONTHLY_PLAN_ID = 304958
PADDLE_SIX_MONTHS_PLAN_ID = 328473
PADDLE_ANNUAL_PLAN_ID = 232332
PADDLE_PUBLIC_KEY = '''-----BEGIN PUBLIC KEY-----
...
-----END PUBLIC KEY-----'''
PADDLE_API_KEY = '234234a4b...36'
Additional steps if you don't use the Ubuntu Snap
-
Install
pycryptodome
andphpserialize
:pip install pycryptodome phpserialize
-
Run:
python manage.py migrate
Project details
Release history Release notifications | RSS feed
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 fiduswriter-payment-paddle-3.11.3.tar.gz
.
File metadata
- Download URL: fiduswriter-payment-paddle-3.11.3.tar.gz
- Upload date:
- Size: 34.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.6.1 requests/2.24.0 setuptools/65.6.3 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e8a262cce70cf6fd92a3f814da029d00d5565db90f0fa09cbfdc183dce3427d |
|
MD5 | b0b0ccf67a316b27f65e37b30c40d939 |
|
BLAKE2b-256 | f1b6b451f44e6b2b0d502a9d8e5bc6e14ad81a8b0f983c8edd562e9eaa465420 |
File details
Details for the file fiduswriter_payment_paddle-3.11.3-py3-none-any.whl
.
File metadata
- Download URL: fiduswriter_payment_paddle-3.11.3-py3-none-any.whl
- Upload date:
- Size: 54.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.6.1 requests/2.24.0 setuptools/65.6.3 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1d00e88b2af5dcadf27b9036d8e53a6a5253b3ad152e386af0423852f61f98a |
|
MD5 | 0434a0cf9241763c19c52c6bfe71a11d |
|
BLAKE2b-256 | 28348f5fbd5c8a91d6697d07c40c56f60490f5819b557b7aa1f170954a345980 |