{"id":21008738,"url":"https://github.com/ecj222/vue-paystack2","last_synced_at":"2025-05-15T02:32:43.173Z","repository":{"id":46596565,"uuid":"413061345","full_name":"ECJ222/vue-paystack2","owner":"ECJ222","description":"Paystack module for Vue that supports Vue 2 \u0026 3.","archived":false,"fork":false,"pushed_at":"2021-12-09T07:26:43.000Z","size":429,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-07T05:47:31.111Z","etag":null,"topics":["composition-api","module","paystack","vue","vue-demi"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/vue-paystack2","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ECJ222.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-03T11:44:06.000Z","updated_at":"2023-08-22T14:44:29.000Z","dependencies_parsed_at":"2022-08-12T13:00:37.803Z","dependency_job_id":null,"html_url":"https://github.com/ECJ222/vue-paystack2","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ECJ222%2Fvue-paystack2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ECJ222%2Fvue-paystack2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ECJ222%2Fvue-paystack2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ECJ222%2Fvue-paystack2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ECJ222","download_url":"https://codeload.github.com/ECJ222/vue-paystack2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225324118,"owners_count":17456460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["composition-api","module","paystack","vue","vue-demi"],"created_at":"2024-11-19T09:13:23.651Z","updated_at":"2024-11-19T09:13:24.220Z","avatar_url":"https://github.com/ECJ222.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg src=\"./src/assets/vue-paystack.png\" width=\"600\"/\u003e\n\u003cbr\u003e\n\u003cp align=\"center\"\u003e\n\u003cb\u003eVue-Paystack2\u003c/b\u003e is a Paystack payment gateway integration for Vue which \u003cbr\u003e provides \u003cb\u003eUniversal support\u003c/b\u003e for Vue 2 \u0026 3\u003cbr\u003e\n\u003c/p\u003e\n\n## Table of Contents\n\n- [✨ \u0026nbsp;Install](#install)\n- [✨ \u0026nbsp;Usage](#usage)\n- [📖 \u0026nbsp;License](#license)\n\n## Install\n\nInstall this as your plugin's dependency:\n\n```bash\nnpm i vue-paystack2\n# or\nyarn add vue-paystack2\n```\n\nIf you are using Vue2 you would need to install Vue's Composition API:\n\n```bash\nnpm i @vue/composition-api\n# or\nyarn add @vue/composition-api\n```\n\n## Usage\n\n```bash\n\u003ctemplate\u003e\n    \u003cVuePaystack :paystack-key=\"paystackKey\" :firstname=\"firstname\" :lastname=\"lastname\" :email=\"email\" :amount=\"amount\"  :reference=\"reference\" :callback=\"onSuccess\" :close=\"onClose\"\u003e\n      Button\n    \u003c/VuePaystack\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\nimport VuePaystack from \"vue-paystack2\"\n\nexport default {\n  name: 'App',\n  components: {\n    VuePaystack\n  },\n  data () {\n    return {\n      paystackKey: '...',\n      email: '...',\n      firstname: '...',\n      lastname: '...',\n      amount: 0,\n      reference: '...'\n    }\n  },\n  methods: {\n    onSuccess (event) {\n      // ...\n    },\n    onClose () {\n      // ...\n    }\n  }\n}\n\u003c/script\u003e\n```\n\n## License\n\nInspired by [vue-paystack](https://github.com/iamraphson/vue-paystack)\n\nMIT License © 2021 [Enoch Chejieh](https://github.com/ECJ222)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecj222%2Fvue-paystack2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecj222%2Fvue-paystack2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecj222%2Fvue-paystack2/lists"}