Skip to content

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

License

Notifications You must be signed in to change notification settings

exohood/exocoin-vendor-payment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks