Skip to main content

A Fidus Writer plugin to connect with Paddle.com as payment system

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-4.1.0.tar.gz (52.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fiduswriter_payment_paddle-4.1.0-py3-none-any.whl (92.2 kB view details)

Uploaded Python 3

File details

Details for the file fiduswriter_payment_paddle-4.1.0.tar.gz.

File metadata

File hashes

Hashes for fiduswriter_payment_paddle-4.1.0.tar.gz
Algorithm Hash digest
SHA256 244163e36cf38e74c2fd0903a0705de75042fe8920b8e377b72a0b800d548da8
MD5 889731a86c1c8a1ee5d7a09ba012514e
BLAKE2b-256 0cf65434229628b4f52b370d62316046b2ed2922fa179be826ede37c22c497a1

See more details on using hashes here.

File details

Details for the file fiduswriter_payment_paddle-4.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fiduswriter_payment_paddle-4.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9366629f6f11a40d2436f33748494c2a269d1d5dbbad4e708af7f77ff10a18ce
MD5 15e66fc9604bcfc2d02dbb5dc2eacd0a
BLAKE2b-256 03d2ce3a8cebcd57223aeb2e115f60aae350a3a156f3403add72a200f55ed9ee

See more details on using hashes here.

Supported by

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