Skip to main content

Webhooks for syncing Stripe payment data with your Django database.

Project description

Django Stripe Hooks

TODO

Installing

  1. Add to INSTALLED_APPS:

  2. Add to urls.py:

path('stripe/', include('django_stripe_hooks.urls')),

Contributing

Running Tests

  1. The test environment requires Stripe CLI package to be installed.
curl -L https://github.com/stripe/stripe-cli/releases/download/v1.39.0/stripe_1.39.0_linux_x86_64.tar.gz -o stripe.tar.gz
sudo tar -xvf stripe.tar.gz -C /usr/local/bin
rm stripe.tar.gz

stripe --version

  1. Run test: poetry run pytest -s

To generate coverage report, use poetry run pytest --cov --cov-branch --cov-report=xml

Whenever tests fail, you can check stripe_cli.log for more 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_stripe_hooks-0.0.1.dev1.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

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

django_stripe_hooks-0.0.1.dev1-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file django_stripe_hooks-0.0.1.dev1.tar.gz.

File metadata

  • Download URL: django_stripe_hooks-0.0.1.dev1.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.14.3 Linux/6.17.0-1008-azure

File hashes

Hashes for django_stripe_hooks-0.0.1.dev1.tar.gz
Algorithm Hash digest
SHA256 3715e90b26283fd27afd229b4c5fc482d432c62f43f0bc699362cdce77636d63
MD5 aa39994ecea3712d6e1e2fc0f811445b
BLAKE2b-256 4d91189476c02136c9bd81ab0e1624c3b195b75d93afb9452e4f75e3271ea0ad

See more details on using hashes here.

File details

Details for the file django_stripe_hooks-0.0.1.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_stripe_hooks-0.0.1.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 8849974ff5c087cdab7ae5f3145f150f395800b97a8ae33d53b8dee0c9fcb4b1
MD5 288e23c4f55f341f819989f84221a0ae
BLAKE2b-256 b0cf4cf1c7f356348e74374d4af99343a5efd301193e940f563d4202f62b2955

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