Skip to main content
=====
Dajngo paymecash
=====

Приложения для приема платежей через систему http://tf.org/


=====
Quick start
=====

1. Добавить 'paymecash' INSTALLED_APPS::

INSTALLED_APPS = (
# ...
'paymecash',
)


2. Добавить ``url(r'^paymecash/', include('paymecash.urls')),`` в urls.py

3. Обязательные параметры settings.py::

# Номер кошелька и ключь, полученые после регистрации
PAYMECASH_WALLET_ID = '000000001111'
PAYMECASH_SECRET_KEY = 'qCck7SpoSdrtfsqCmm7SNTSe'

4. Добавить логер с именем ``paymecash``::

LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'formatters': {
'verbose': {
'format': '%(levelname)s %(asctime)s %(module)s %(funcName)s %(message)s'
}
},
'handlers': {
'paymecash': {
'level': 'DEBUG',
'class': 'logging.handlers.WatchedFileHandler',
'filename': os.path.join(ROOT, 'paymecash.log'),
'formatter': 'verbose'
}
},
'loggers': {
'paymecash': {
'handlers': ['paymecash'],
'level': 'ERROR',
'propagate': True
}
}
}

5. Выполните ``python manage.py syncdb`` для создание таблицы с платежами или выполните мограцию, если вы используете south: ``python manage.py migrate paymecash``

6. Задайте в личном кабинете ( https://tf.org/app/#/integration ) callback URL http://example.com/paymecash/confirm/

Release files for django-paymecash 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-paymecash 0.0.4
File Size Uploaded
django-paymecash-0.0.4.tar.gz 17.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-paymecash 0.0.4
File Interpreter ABI Platform
django-paymecash-0.0.4.macosx-10.8-intel.exe Details

Total release size: 98.8 kB

Release files / django-paymecash-0.0.4.tar.gz

Download URL django-paymecash-0.0.4.tar.gz
Size 17.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c1fcfcdc730fd0c646d3ddb41b55968d115290eaef77699d1c6c55f576bf8a3a
BLAKE2b-256 checksum
How to use checksums
8353c25edae742cda3bb586d08620bc07eb35fbc131ae6f5bcffe8275fe84818
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django-paymecash-0.0.4.macosx-10.8-intel.exe

Download URL django-paymecash-0.0.4.macosx-10.8-intel.exe
Size 81.5 kB
Tags Source
SHA-256 checksum
How to use checksums
be4986ddd61b40939cd2a2036d493da8303bbdf3ef6c2c3f87bab58e2753a588
BLAKE2b-256 checksum
How to use checksums
c22256c1369ed5394f4bd4e946a16976f968ac27c442e12da5fa857ce5006a75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page