elepay-js-sdk
v2.0.0
Published
ELEPAY HTML5 SDK
Downloads
1,692
Readme
elepay.js ES Module
Use elepay.js as an ES module.
Installation
Use npm
to install the elepay.js module:
npm install elepay-js-sdk
Usage
loadElepay
This function returns a Promise
that resolves with a newly created Elepay
object once elepay.js has loaded.
import { loadElepay } from 'elepay-js-sdk';
const elepay = await loadElepay('pk_live_xxxxxxxxxxxxxxxxxxxx');
For more information on how to use elepay.js once it loads, please refer to the JavaScript SDK Reference.