Giter Site home page Giter Site logo

exohood / exocoin-vendor-payment Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 421 KB

💰Instant Payment Vendor Payment Widget allows you to generate a QR code online; suitable for e-commerce websites.

Home Page: https://exohood.com

License: MIT License

HTML 2.22% JavaScript 97.78%
cryptocurrency exohood widget

exocoin-vendor-payment's Introduction

Exohood Vendor Payment Widget

Our Instant Payment Vendor Payment Widget allows you to generate a QR code online; suitable for e-commerce websites.

You can sign up for an Exohood user account at my.exohood.com/register and apply for a vendor account at my.exohood.com/user/vendor.

Status

This project is currently in BETA phase. During this phase, we accept no responsibility for any false notifications nor affirm the identity of any vendors.

There is a maximum spend limit of €500.00 per transaction; this figure is converted to EXO at a regular interval based on market data. Please do not try to present a QR code to users above this limit as the transaction will fail.

Changelog

2022-05-28

  • First beta release of the Exohood Vendor Payment Widget

Support

Community support is available at community.exohood.com.

Documentation

Further documentation on data structures (useful to create your own integration or to create the QR code yourself) and our Vendor API can be found at community.exohood.com/t/using-the-EXO-instant-payment-api/121.

Requirements

You must have already generated your payment string containing your vendor address, payment id and EXO amount.

The payment string structure, detailed in the link above, is:

{vendor-address}/{payment-id}/{amount}

Download

You can download the latest version of this project from github.com/Exohood/vendor-payment-widget.

Installation

Unpack the minified javascript files from src/ and include it in your HTML. For example:

<script src="src/qrcode.min.js"></script>
<script src="src/EXO.vendor-widget.min.js"></script>

How To Use

Once you have your payment string (see the documentation link above), you simply include this in a data-EXO-vendor attribute of a div. For example:

<div data-EXO-vendor="EXO-it-0abc123def456/7ce25b4dc0/1234.56"></div>

The default rendering language is English. You can provide a second attribute of data-lang to specify one of the supported language codes below. For example:

<div data-EXO-vendor="EXO-it-0abc123def456/7ce25b4dc0/1234.56" data-lang="br-pt"></div>

Supported languages are restricted to the following:

Language Code
English (default) en
Brazilian Portuguese pt-br
Chinese zh
Dutch nl
French fr
Hindi hi
Indonesian id
Italian it
Japanese jp
Korean ko
Portuguese pt
Romanian ro
Russian ru
Spanish es
Thai th
Turkish tr
Urdu ur

On page load, the Javascript file will replace this div with a scannable and clicking QR code.

exocoin-vendor-payment's People

Contributors

elakuromi avatar xpunk7 avatar

Watchers

 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.