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

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_payments_yookassa-0.1.1.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for django_payments_yookassa-0.1.1.tar.gz
Algorithm Hash digest
SHA256 be43779ecfaa4a6d722e81fec71bc6b2b1aabfa35f9cae220c2669edd73ddd31
MD5 af19b7ae05a6fb77746e2eeb677f6053
BLAKE2b-256 e1c87909732ad46ec0fb08de4de2c8d63520a41f2b89f5521d3c2e9dc84e9b88

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_payments_yookassa-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9e9caadf707ebdfa14197eecf0ab962d147b886e81c443730b6e91997eac7920
MD5 f33c15371971b95877225768a64d4f7c
BLAKE2b-256 d28326330cf6f876d4ed515633eff1920c9362f89cf870d903829ca42a7ba8af

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