Skip to main content

YooKassa payment provider for django-payments

Project description

Django Payments YooKassa

A YooKassa payment provider for django-payments.

Installation

pip install django-payments-yookassa

Or with uv:

uv pip install django-payments-yookassa

Configuration

Add YooKassa to your payment variants in settings.py:

PAYMENT_VARIANTS = {
    'yookassa': ('django_payments_yookassa.YooKassaProvider', {
        'shop_id': 'your-shop-id',
        'secret_key': 'your-secret-key',
        'capture': True,  # Whether to capture the payment automatically
        'use_webhook': True,  # Whether to use webhooks for payment status updates
        'test_mode': True,  # Set to False for production
    }),
}

Features

  • Automatic payment capture
  • Webhook support for payment status updates
  • Support for all payment methods available in YooKassa
  • Compatible with django-payments 3.0+

License

MIT License

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_payments_yookassa-0.1.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

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

django_payments_yookassa-0.1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file django_payments_yookassa-0.1.0.tar.gz.

File metadata

File hashes

Hashes for django_payments_yookassa-0.1.0.tar.gz
Algorithm Hash digest
SHA256 daf514838195d6244b932bffcea85ba82666f3c3c53a603e0cb951610dacf504
MD5 0afbd3933e7c62b2c90fbfb1f4ab8f71
BLAKE2b-256 9f7a2a5c1e9541072f5fc0ff5cdef9bafaa66e9e0500c85608c9c25f5d84f881

See more details on using hashes here.

File details

Details for the file django_payments_yookassa-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_payments_yookassa-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eba266adbe4e50c5708250e52afbe8f1b198c18091f24d5743bdf28756acc295
MD5 7239803c26648a9f1e9777c11ae92fa6
BLAKE2b-256 230159004091a7ae29fd81f31b47c9698e58aeec308b640eeafecffab02992f4

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