Giter VIP home page Giter VIP logo

knet-client's Introduction

KNET Sample Client

This is a fully contained KNET client application that demonstrates how to use the e24PaymentPipe class that I wrote.

Simply run this with any valid resource.cgn file and alias; a SSL server is not required.

It also includes all the database fields that you need to store from KNET and what you need to display in order to pass validation and testing.

It is released under the GNU GPL License. See license.txt for more details.

Notes

It uses a SQLite database for development purposes - which is reset on restarting the system.

Setup

  • Check out the source code and install the requirements as listed in requirements.txt file with pip:

    $ pip install -E myenv -r requirements.txt

  • Place your resource.cgn file in the directory where you checked out the source

  • Modify the settings.cfg file as required for your application.

  • Run the test server python main.py

  • Open a browser and go to http://localhost:5000/1/123.456

  • Your browser should redirect to KNET payment page

knet-client's People

Contributors

burhan avatar mrmmm avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.