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.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-yamoney-1.2.tar.gz (8.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page