Django models for Omise
Project description
django-omise Django + Omise
Django models for Omise
Quick start
- Add "django_omise" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [
...
"django_omise",
]
- Include the django_omise URLconf in your project urls.py like this:
path("payments/", include("django_omise.urls")),
- 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
-
Run
python manage.py migrate
to create the Omise models. -
Add Omise endpoint webhook url
https://host.com/payments/webhook/
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for django_omise-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92fe3e2ebe109242297135c8494191c55b55642b4ce84a6d871d1d1862104f5d |
|
MD5 | 16caf7db438b60a5bfae76721ac2aaed |
|
BLAKE2b-256 | ad1bddb3e9c2bf27d62e4cf8a73b0c7e20d26bb1e8d75d7aabf096008ecf47db |