Skip to main content

A Django app for integrating Globee Payments

Project description

django-globee

GitHub license PyPI version Build Status Coverage Status Downloads

django-globee is a Django app to integrate GloBee Payments.

You can find the GloBee API docs here.

Quick start

  1. Add globee to your INSTALLED_APPS setting like this:
    INSTALLED_APPS = [
        ...
        'globee',
    ]
  1. Include the globee URLconf in your project urls.py like this:
    path('globee/', include('globee.urls')),
  1. Include your globee key and test or live env in your project settings.py
    GLOBEE_AUTH_KEY = "YOUR GLOBEE X-AUTH-KEY"
    GLOBEE_TESTNET = True # set this to False in production mode

    # False: IPN view will respond with status code "400" if an "KeyError", "ValueError" or "ValidationError" occurs
    # True: IPN view will always respond with status code "200"
    GLOBEE_PARANOID_MODE = False # optional (default: False)

    # False: saves the IPN response in the database without further verify checks. see docs on how to verify the payment yourself.
    # True: fetches the payment information directly from GloBee after the IPN view was called
    GLOBEE_AUTO_VERIFY = False # optional (default: False)
  1. Run python manage.py migrate to create the globee models.

examples

see Docs

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-globee-1.5.0.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

django_globee-1.5.0-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file django-globee-1.5.0.tar.gz.

File metadata

  • Download URL: django-globee-1.5.0.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

File hashes

Hashes for django-globee-1.5.0.tar.gz
Algorithm Hash digest
SHA256 c1e1e0b336874d1c9dffd8152f6615531f69f1ded528182a27817f0b58701cd5
MD5 ebeae139cbbe4e7cd5a49f89fdddd1b2
BLAKE2b-256 4bd5652c5cc109d4410c46c761ff0da253ffa480cf6c0561b0248209bd941288

See more details on using hashes here.

Provenance

File details

Details for the file django_globee-1.5.0-py3-none-any.whl.

File metadata

  • Download URL: django_globee-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6

File hashes

Hashes for django_globee-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f9173fe7bda51382612db4b4728be776c57f2701d9c9988a33f6288c167ec5fd
MD5 5558c6f7a479a498ba98b7a55db49044
BLAKE2b-256 8132527767462eaffa7050df50657af2ebb6d0a7d4bd4799dcba448d6f3418ef

See more details on using hashes here.

Provenance

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