vue3-paystack
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.
Dependencies
@babel/core: ^7.14.6@babel/preset-env: ^7.14.7@rollup/plugin-alias: ^3.1.2@rollup/plugin-babel: ^5.3.0@rollup/plugin-commonjs: ^14.0.0@rollup/plugin-node-resolve: ^9.0.0@rollup/plugin-replace: ^2.4.2@vue/cli-plugin-babel: ^4.5.13@vue/cli-service: ^4.5.13@vue/compiler-sfc: ^3.0.11cross-env: ^7.0.3minimist: ^1.2.5postcss: ^8.2.10rimraf: ^3.0.2rollup: ^2.52.8rollup-plugin-postcss: ^4.0.0rollup-plugin-terser: ^7.0.2rollup-plugin-vue: ^6.0.0vue: ^3.0.5