Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page