A django-payments backend for Talo, an Argentine payment platform for bank transfers.
Project description
django-payments-talo
A django-payments backend for Talo, an Argentine payment platform for bank transfers.
Features
- Bank transfer payments via Talo
- Webhook handling for async status updates
- Full and partial refunds
- Sandbox environment support
Requirements
- Python >= 3.12
- Django < 5.3
- django-payments >= 3.1.0, < 4.0.0
Installation
pip install django-payments-talo
Or with Poetry:
poetry add django-payments-talo
Configuration
Add Talo to your PAYMENT_VARIANTS setting:
PAYMENT_VARIANTS = {
"talo": (
"payments_talo.TaloProvider",
{
"client_id": "your-client-id",
"client_secret": "your-client-secret",
"user_id": "your-user-id",
"sandbox": True, # Set to False for production
},
),
}
| Parameter | Description |
|---|---|
client_id |
Talo API client ID |
client_secret |
Talo API client secret |
user_id |
Talo user ID |
sandbox |
True for sandbox, False (default) for production |
Status Mapping
Talo payment statuses are mapped to django-payments statuses as follows:
| Talo Status | django-payments Status |
|---|---|
PENDING |
waiting |
SUCCESS |
confirmed |
REJECTED |
rejected |
CANCELLED |
rejected |
EXPIRED |
rejected |
UNDER_REVIEW |
waiting |
OVERPAID |
confirmed |
UNDERPAID |
waiting |
Unsupported Operations
capture and release raise NotImplementedError — bank transfers do not have an authorization/capture flow.
Development
poetry install
poetry run pytest
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_payments_talo-0.1.0.tar.gz.
File metadata
- Download URL: django_payments_talo-0.1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.11 Darwin/25.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5815e5585770bc18de6caca6295ff723332e827a906b8832b593ca9cde7b7949
|
|
| MD5 |
e68e3b063e906fe2c3051fcfc14af382
|
|
| BLAKE2b-256 |
385f8fcc0f860597678ce538b6bb4e8c75b348a4e9f9919a6a7ed2d091072932
|
File details
Details for the file django_payments_talo-0.1.0-py3-none-any.whl.
File metadata
- Download URL: django_payments_talo-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.11 Darwin/25.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
678538e33fb5ca05980dacb3b0ffcfe56e4e1783c4ee9c573795c9e4a1bdfd57
|
|
| MD5 |
67f0ce7b5ad63dda9bc1ac5aac1ca1d9
|
|
| BLAKE2b-256 |
a764a27cabaa28342c10b715890ccd1d50973af65c9511a72060315d30c1ad41
|