vue3-paystack

0.0.5 • Public • Published

Vue3-Paystack

vue3-paystack allows you to accept payments in your vue application created with vue 3. The component is easily customisable.

NPM

npm i vue3-paystack

Usage

<template>
     <paystack
        buttonClass="'button-class btn btn-primary'"
        buttonText="Pay Online"
        :publicKey="publicKey"
        :email="email"
        :amount="amount"
        :reference="reference"
        :onSuccess="onSuccessfulPayment"
        :onCanel="onCancelledPayment">
    </paystack>
</template>

 <script>
import paystack from "vue3-paystack";

export default {
  components: {
    paystack,
  },
}
  </script>
 

Documentation

A more detailed guide can be found here

Want to say thanks?

If this has been helpful, kindly share the link to other and a star on the github repo would be helpful too

License

Licensed under MIT License. Click for details.

Package Sidebar

Install

npm i vue3-paystack

Weekly Downloads

207

Version

0.0.5

License

MIT

Unpacked Size

24 kB

Total Files

7

Last publish

Collaborators

  • somteacodes