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.2.tar.gz (55.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.2-py3-none-any.whl (95.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for fiduswriter_payment_paddle-4.1.2.tar.gz
Algorithm Hash digest
SHA256 527924e7fd0612a695d6b13b60d872871e778d379b2a133ae86ab1cacec158ae
MD5 2f482f6e9caf0b9a92a137dec2f5db9c
BLAKE2b-256 3bc2b1ab39470f9fdf7a855ba74a8f195cd70b3f94f8c1208994fb5fc010bfd1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fiduswriter_payment_paddle-4.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 da8f20cdbc931d00eeaaf7a6db13edf68cbb120ba6b6f2b20d2a3bf32b0bcc00
MD5 da85d3d145f28315f99bb560d6ce7103
BLAKE2b-256 d0a4091db475bb70e2c7241261dd07b3ac3a0debb8e6a076d03048dfc124d17b

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