Skip to main content

Django models for Omise

Project description

django-omise Django + Omise

Django models for Omise

Quick start


  1. Add "django_omise" to your INSTALLED_APPS setting like this:
    INSTALLED_APPS = [
        ...
        "django_omise",
    ]
  1. Include the django_omise URLconf in your project urls.py like this:
    path("payments/", include("django_omise.urls")),
  1. Add Omise keys and operating mode in settings.py:
OMISE_PUBLIC_KEY = xxxx
OMISE_SECRET_KEY = xxxx
OMISE_LIVE_MODE = True | False
OMISE_CHARGE_RETURN_HOST = localhost:8000
  1. Run python manage.py migrate to create the Omise models.

  2. Add Omise endpoint webhook url https://host.com/payments/webhook/

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-omise-0.0.1.tar.gz (65.6 kB view hashes)

Uploaded Source

Built Distribution

django_omise-0.0.1-py3-none-any.whl (71.0 kB view hashes)

Uploaded Python 3

Supported by

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