GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - charle-k/django-paynow-example: An example of how to intergrate a django payment system with Paynow API (http://www.paynow.co.zw/)

BranchesTags
Open more actions menu

Latest commit

 

History

21 Commits
21 Commits

Folders and files

NameName
Last commit message
Last commit date
payments
payments
 
 
paysys
paysys
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
Procfile
Procfile
 
 
Procfile.windows
Procfile.windows
 
 
README.md
README.md
 
 
app.json
app.json
 
 
manage.py
manage.py
 
 
requirements.txt
requirements.txt
 
 
runtime.txt
runtime.txt
 
 

Repository files navigation

# django-paynow-exampe

This is an example of how to intergrate a django payment system with Paynow API (http://www.paynow.co.zw/)

I used the information found on the Paynow site in this document

This application was implemented to run on Heroku.com using the Getting Started with Python on Heroku article - check it out.

Running Locally

Make sure you have Python installed properly.

$ git clone https://github.com/charle-k/django-paynow-example.git
$ cd django-paynow-example

$ pip install -r requirements.txt

$ python manage.py migrate

$ python manage.py runserver 

For you to start processing payments add your Paynow Id and Key to settings.py in paysys folder. Once you are done create a new user to login with.

$ python manage.py createsuperuser

You can now run the test server and login with hte details of the user u created.

$ python manage.py runserver 

You can now start processing payments by entering amount, celllphone number and ref in the form. Click "Make Payment" to start the process.

Your app should now be running on 127.0.0.1:8000.

Deploying to Heroku

Ensure you have installe the Heroku Command Line Interface (CLI) To store information you have to provision a database. The Heroku Postgres Addon is a good option

Documentation

For more information about using Python on Heroku, see these Dev Center articles:

  • Python on Heroku

For more information about using Paynow you can visit the Developers page on their site

  • Paynow Developer Documentation

About

An example of how to intergrate a django payment system with Paynow API (http://www.paynow.co.zw/)

Topics

django-paynowpaynowpaynow-api

Resources

Readme
MIT license
Activity

Stars

10 stars

Watchers

3 watching

Forks

8 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.