Giter Club home page Giter Club logo

moolre_project's Introduction

Setting up


Step 1


  • clone the project, there should be 4 folders namely:
  • moolrepaybe --> this is the backend for the plugin and merchant
  • moolregateway --> this is the mock payment gateway
  • moolrepay --> this is the angular app
  • demo ---> this is a demo of the plugin

Alt text

Step 2


A server is needed to run preferrably XAMPP but any server will do php artisan serve will not work

  • copy the folder moolregateway into the XAMP webroot directory eg: htdocs
  • copy the folder moolrepaybe into the XAMP webroot directory eg: htdocs
  • create a database in MySQL server using: </> create schema moolre;
  • open only moolrepaybe in your terminal, git bash or cmd
  • run the command: to create database table </> php artisan migrate;
  • I will send .env files to your email

Step 3


Alt text

  • Provide valid email address and phone number so as to receive messages
  • generate an API key.

Alt text

  • use localhost and the website domain
  • Login and complate the form.

step 4


  • open the demo folder and open index.html in your browser
  • That's it, you may test now.

Alt text

About the plugin

  • add to anywhere in your html to use the plugin
  • include the style and js files
  • asset_path ---> this is the location of the project assets
  • api_key ---> this is the api_key generated
  • amount ---> the amount to be paid
  • unique_id ---> a unique string to associate with the transaction
  • it expects the backend url to be http://localhost/moolrepaybe else it will fail

Alt text

About the backend

  • public and private key are genrated for each registered merchant
  • also the merchants domain are whitelist. Only whitelisted domains can access the API
  • it expects the payemnt gateway url to be http://localhost/moolregateway else it will fail

About the gateway

  • it only a mock payment gateway
  • sms and emails are sent after successful payment
  • otp is sent via sms during Mobile money transaction

moolre_project's People

Contributors

awuahdarko 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.