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.

Files for django-yamoney, version 1.2
Filename, size File type Python version Upload date Hashes
Filename, size django-yamoney-1.2.tar.gz (8.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page