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

Uploaded Source

Built Distribution

fiduswriter_payment_paddle-4.0.0-py3-none-any.whl (54.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fiduswriter_payment_paddle-4.0.0.tar.gz
Algorithm Hash digest
SHA256 877f18e29bfe90379ce76267eddf8996a0b8978cb4a8fcb080448a7b47613f8f
MD5 268288da195a96a4dc902c6299b80cfb
BLAKE2b-256 878321504dc0016ae25c6ecdba0f5ae0882a71af960e2e8a02900b24d7fc80f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fiduswriter_payment_paddle-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d044b660d990569bc5e24e5fe314c2d620b7d4aa58d255ffad57835ed92877ad
MD5 f9c387516ed74867e5493cf54c1834b1
BLAKE2b-256 14ec1c59043cb1baa56a5dbf6ab5a974879e63b3d029eb06f19f889fb1d532b9

See more details on using hashes here.

Supported by

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