Metadata-Version: 2.4
Name: django-payments-yookassa
Version: 0.1.1
Summary: YooKassa payment provider for django-payments
Author-email: Ilia Bukin <your.email@example.com>
License: MIT
Project-URL: Homepage, https://github.com/iliab1/django-payments-yookassa
Project-URL: Issues, https://github.com/iliab1/django-payments-yookassa/issues
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: yookassa>=3.5.0
Requires-Dist: django-payments>=3.0.1
Dynamic: license-file

# Django Payments YooKassa

A YooKassa payment provider for [django-payments](https://github.com/django-payments/django-payments).

## Installation

```bash
pip install django-payments-yookassa
```

Or with uv:

```bash
uv pip install django-payments-yookassa
```

## Configuration

Add YooKassa to your payment variants in settings.py:

```python
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 
