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.

Files for django-globee, version 1.5.0
Filename, size File type Python version Upload date Hashes
Filename, size django_globee-1.5.0-py3-none-any.whl (12.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size django-globee-1.5.0.tar.gz (9.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page