Giter Site home page Giter Site logo

tarmo888 / bbfm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bytefan/bbfm

0.0 2.0 0.0 2.37 MB

Obyte for web merchant back office and public website

Home Page: https://obyte-for-merchants.com/

PHP 23.01% CSS 7.88% JavaScript 63.21% HTML 5.90%

bbfm's Introduction

This is the repo for the "Obyte for web merchant payment gateway" back office and public website.

Requires php 7+, Mysql 5+ and any web server (apache, nginx...)

Run composer install to install dependencies.

Run cp .env-example .env to copy configuration file.

Run nano .env to edit the configuration variables.

included files

bbfm_xfiles/bbfm_conf.php : configuration file

bbfm_xfiles/bbfm_function.php : common functions

bbfm_xfiles/mysqli_connect.php : connects to mysqli database and setup global $mysqli var

public website and api

bbfm_www: website

bbfm_www/api/ask_payment.php :

  • generates and registers new (pending) payment in bbfm database (ajax called by payment-button.js)
  • (ajax) tells to payment button (payment-button.js) current status of an existing payment

bbfm_www/api/payment-button.css : payment button css style sheet

bbfm_www/api/payment-button.js : payment button javascript (called from merchant payment page)

bbfm_www/api/icon/ : self-explanatory

bbfm_www/api/img/ : self-explanatory

scheduled tasks

cron/bbfm_payer.php : watches incoming transactions and send payment (or error notifications), minus fees, to merchant.

cron/Get_rates.php : fetches FIAT/Gbytes rates.

cron/update_ip.php : script to update allowed IPs on Woocommerce instnaces.

sql folder

Mysql schemas

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.