0.2.29 • Published 1 year ago

vfd-widget v0.2.29

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

V Payment Widget

JS library for implementing the VFD payment widget - This library provides a front-end web SDK for account authentication and payment for each bank that it supports.

Landing Screen

Installing

Using npm:

npm i vfd-widget

Using yarn:

 yarn add vfd-widget

Usuage

For JS frameworks import it and use

import VPayment from 'vfd-widget';

const widget = new VPayment({
  token: '', // Your token
  merchantId: '', // Merchant Id
  environment: '', // Environment at which the app is running development/production,
});

async function payNow(amount) {
  widget.pay({
    amount, // amount to pay
  });
}

VPaymentWidget Options

NameTypeRequiredDefault ValueDescription
payFunctiontrueAction to perform to pay an amount of money

Other information

For enquires and questions, contact

0.2.29

1 year ago

0.2.28

1 year ago

0.2.27

1 year ago

0.2.26

1 year ago

0.2.25

1 year ago

0.2.24

1 year ago

0.2.22

1 year ago

0.2.21

1 year ago

0.2.20

1 year ago

0.2.19

1 year ago

0.2.18

1 year ago

0.2.17

1 year ago

0.2.16

1 year ago

0.2.15

1 year ago

0.2.13

1 year ago

0.2.12

1 year ago

0.2.11

1 year ago

0.2.10

1 year ago