Skip to main content

Django + Paddle Billing Integration

Project description

Django Paddle Billing

This package provides an integration between Django, a high-level Python Web framework, and Paddle Billing, a platform for selling digital products and services.

Features

  • Easy setup and configuration
  • Seamless integration with Django projects
  • Comprehensive handling of Paddle Billing features, including webhooks

Installation

To install the package, use pip:

pip install django-paddle-billing

Usage

After installing the package, add it to your INSTALLED_APPS in your Django settings:

INSTALLED_APPS = [
    ...
    'django_paddle_billing',
    ...
]

Then, run migrations:

python manage.py migrate

You can now use the package in your Django project.

Local webhook testing

In order to test webhooks locally, you can user cloudflared tunnel: Cloudflared

Temporary URL

cloudflared tunnel --url http://localhost:8000/

Permanent URL

Then, you can create a tunnel for your webhook:

cloudflared tunnel login
cloudflared tunnel create sandbox.paddle
# Create config file
# ...
cloudflared tunnel route dns sandbox.paddle sandbox-paddle.example.com
cloudflared tunnel run sandbox.paddle

Note: The deep level of DNS requires to be paid Advanced DNS (10$/month), so sandbox.paddle.example.com is not free

Testing

This package uses pytest for testing. To run the tests, use the following command:

pytest

Contributing

Contributions are welcome! Please read our contributing guidelines for details.

License

This project is licensed under the MIT License. See the LICENSE file for details.

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

django_paddle_billing-0.1.14.tar.gz (27.8 kB view details)

Uploaded Source

Built Distribution

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

django_paddle_billing-0.1.14-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file django_paddle_billing-0.1.14.tar.gz.

File metadata

  • Download URL: django_paddle_billing-0.1.14.tar.gz
  • Upload date:
  • Size: 27.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for django_paddle_billing-0.1.14.tar.gz
Algorithm Hash digest
SHA256 8e7b0aa953cbca7d35133e88a16660c27a24cefcdbffbabf00d36b4dcbba8f84
MD5 edaae7eb7b86af149907ca0341cf4f3c
BLAKE2b-256 55acd28d6a27119d57d44dbad8ea021062bcef0180be5fd85464d2c29f52e5de

See more details on using hashes here.

File details

Details for the file django_paddle_billing-0.1.14-py3-none-any.whl.

File metadata

File hashes

Hashes for django_paddle_billing-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 1aea8c929c2e904e109e2a617a913bea1407c348ed47745f352c1db2d9d0c3fc
MD5 c689750b2cf5a32dd351fff81d1f3475
BLAKE2b-256 0d6d146e5204d24b07969776ed4586095d428da0e784f75a75d88f27f9f469d6

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