Skip to main content
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 - объект модели.

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

  • Download URL: django-yamoney-1.2.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

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.

Release history Release notifications | RSS feed

This release

1.2 This release

1 file

1.1

1 file

1.0

1 file

0.2

1 file

0.1

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