@fluidcoins/vue-fluidcoins-v2

0.1.2 • Public • Published

Fluidcoins Component for Vue

A Vue Plugin for Fluidcoins payment button.

My animated logo

Demo

Demo in CodeSandBox

Installation

    npm install @fluidcoins/vue-fluidcoins-v2 --save 

    # OR
    
    yarn add @fluidcoins/vue-fluidcoins-v2 

Usage

import Fluidcoins from '@fluidcoins/vue-fluidcoins-v2'

    <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-v2

Weekly Downloads

0

Version

0.1.2

License

ISC

Unpacked Size

40 kB

Total Files

5

Last publish

Collaborators

  • adelowo