@fluidcoins/vue-fluidcoins

0.1.0 • Public • Published

Fluidcoins Component for Vue

A Vue Plugin for Fluidcoins payment button.

Installation

    npm install @fluidcoins/vue-fluidcoins --save 

    # OR
    
    yarn add @fluidcoins/vue-fluidcoins 

Usage

import Fluidcoins from '@fluidcoins/vue-fluidcoins'

    <fluidcoins 
        type="secondary"
        rounded
        publicKey="PUBLIC_KEY"
        :amount="90000"
        email="myemail.com"
        :on-success="onSuccess"
    />

API

Prop Required Type Default
publicKey true string undefined . Public key from Fluidcoins' Dashboard.
amount true number undefined
email true string undefined
on-success true function undefined
type false string 'primary'
rounded false boolean true
on-load false function () => {}
on-close false function () => {}
on-error false function () => {}
name false string undefined
phone false string undefined
metadata false Object {}
callback_url false string undefined
currency false string Defaults to default currency set on Fluidcoins' Dashboard

Please checkout Fluidcoins' Documentation for other options to help you accept crypto payments online easily.

Package Sidebar

Install

npm i @fluidcoins/vue-fluidcoins

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

36 kB

Total Files

6

Last publish

Collaborators

  • adelowo