Skip to main content

A simple Django app for Yandex.Money service

Project description

https://travis-ci.org/mp0wer/django-yamoney.svg?branch=master

Yamoney

Django приложение для приема денег на кошелек Yandex.Money

Установка

  1. Установить:

    pip install django-yamoney
  2. Добавить “yamoney” в ваш INSTALLED_APPS:

    INSTALLED_APPS = (
        ...
        'yamoney',
    )
  3. Добавить yamoney URLconf в urls.py вашего проекта:

    url(r'^yamoney/', include('yamoney.urls'))
  4. Создать форму оплаты с помощью yamoney.forms.paymentform_factory:

    payment_form = paymentform_factory(
        'Оплата участия',  # описание платежа
        2000,               # сумма
        event               # объект модели
    )
  5. Слушать yamoney.signals.transaction_success сигнал, где sender - транзакция, related_obj - объект модели.

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-yamoney-1.2.tar.gz (8.7 kB view details)

Uploaded Source

File details

Details for the file django-yamoney-1.2.tar.gz.

File metadata

File hashes

Hashes for django-yamoney-1.2.tar.gz
Algorithm Hash digest
SHA256 4a4e48604db9957c7eb08289f4f520fee2fe8181ef7a83b17466bea797626151
MD5 52f03bc749eba9d02cf9f16ecbd3a76b
BLAKE2b-256 356753f76f057d26e8bca02770d3e88b612d37e8f68a843010da19149f5f9c6c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page