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.1.tar.gz (55.6 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.1-py3-none-any.whl (95.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fiduswriter_payment_paddle-4.1.1.tar.gz
Algorithm Hash digest
SHA256 52c49336b0f2e7aa20e47d3f8f82e7aadaedbe924af4b8aca095fd1f897d14a0
MD5 f39b045d26730aa296a51223f3a0e1da
BLAKE2b-256 b159e51924bf67c22614b57445f4de2df410073066988f9c0f905e0d30777d6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fiduswriter_payment_paddle-4.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5ccae9223ca085688b3408b5782bae00f1f06a4e05bda4dfeae959b9a6d2714e
MD5 f7904c5464b7cebfc9561449d86c0e88
BLAKE2b-256 76fa37f0edad82da418a35b8e85b2446e0058e1374b854f996d9a53851f10062

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