Skip to main content

A Fidus Writer plugin to allow payment through Paddle

Project description

fiduswriter-payment-paddle

Installation

  1. Sign up with Paddle.com, create plans and register a webhook (the URL is https//YOURWEBSITE.COM/api/payment/webhook/).

  2. Enable subscription for the webhook for these events:

  • Subscription Created

  • Subscription Updated

  • Subscription Cancelled

  1. In the configuration.py file, add "payment" to "INSTALLED_APPS"

  2. 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

  1. Install pycryptodome and phpserialize:

    pip install pycryptodome phpserialize

  2. Run:

    python manage.py migrate

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

fiduswriter-payment-paddle-3.11.3.tar.gz (34.6 kB view details)

Uploaded Source

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

Hashes for fiduswriter-payment-paddle-3.11.3.tar.gz
Algorithm Hash digest
SHA256 0e8a262cce70cf6fd92a3f814da029d00d5565db90f0fa09cbfdc183dce3427d
MD5 b0b0ccf67a316b27f65e37b30c40d939
BLAKE2b-256 f1b6b451f44e6b2b0d502a9d8e5bc6e14ad81a8b0f983c8edd562e9eaa465420

See more details on using hashes here.

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

Hashes for fiduswriter_payment_paddle-3.11.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e1d00e88b2af5dcadf27b9036d8e53a6a5253b3ad152e386af0423852f61f98a
MD5 0434a0cf9241763c19c52c6bfe71a11d
BLAKE2b-256 28348f5fbd5c8a91d6697d07c40c56f60490f5819b557b7aa1f170954a345980

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page