Skip to content
Simple and Secure Crypto Payments Gateway
PHP JavaScript HTML CSS TSQL
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
img
HubApi.standalone.umd.js
LICENSE
README.md
favicon.ico
index.html
meekrodb.2.3.class.php
nimipay.css
nimipay.js
nimipay.php
nimipay.sql
nimipay_auth.php
np.0.1.min.css
np.0.1.min.js
reef.min.js

README.md

Nimipay - Simple and Flexible Payments Gateway

Demo: https://nimipay.com

Nimipay creates an overlayed UI for the interaction with the user's NIM wallet, shopping cart, and items.

It also creates a new record in the database, using the user's wallet address as the unique identifier for the user's data.

With the help of the new Nimiq Hub API, the UI allows the user to pay for invoices. Then the transaction hash is returned for the backend validation. After the transaction is confirmed, the user receives a new item. It can then be seen under the Items tab.

Being a modal window, Nimipay is shown on top of any website, and without the need to re-design the website in order to integrate a webshop.

Nimipay is all-in-one, but lightweight (~30 kb). To make it possible, some rough simplifications were made. The code is vanilla JavaScript/PHP, you can extend and customize it.

The app is experimental. Use it at your own risk.

Front-end nimipay.js

  • Reef.js (4kb) anti-framework for reactive UI components
  • Nimiq Hub API for simple payments processing

The total Nimipay javascript bundle is ~30 kb and a few kb of CSS.

Back-end nimipay.php

  • MeekroDB PHP library for simple and secure MySQL queries

For the database structure, use nimipay.sql

Quickstart and examples

See https://nimipay.com

Issues

Report issues in issue tracker.

Contribution

Feel free to make a pull request or suggest ideas.

You can’t perform that action at this time.