{"id":15486046,"url":"https://github.com/ecj222/nuxt-paystack","last_synced_at":"2025-06-17T03:03:52.089Z","repository":{"id":49438145,"uuid":"382894536","full_name":"ECJ222/nuxt-paystack","owner":"ECJ222","description":"Paystack module for Nuxt.js","archived":false,"fork":false,"pushed_at":"2021-07-12T21:33:36.000Z","size":1691,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-25T19:07:21.462Z","etag":null,"topics":["nuxt","nuxt-module","payment-gateway","paystack"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/nuxt-paystack","language":"JavaScript","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-07-04T16:09:21.000Z","updated_at":"2023-05-06T14:09:19.000Z","dependencies_parsed_at":"2022-09-15T07:22:42.378Z","dependency_job_id":null,"html_url":"https://github.com/ECJ222/nuxt-paystack","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/ECJ222/nuxt-paystack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ECJ222%2Fnuxt-paystack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ECJ222%2Fnuxt-paystack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ECJ222%2Fnuxt-paystack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ECJ222%2Fnuxt-paystack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ECJ222","download_url":"https://codeload.github.com/ECJ222/nuxt-paystack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ECJ222%2Fnuxt-paystack/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260281566,"owners_count":22985626,"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":["nuxt","nuxt-module","payment-gateway","paystack"],"created_at":"2024-10-02T06:05:55.099Z","updated_at":"2025-06-17T03:03:52.054Z","avatar_url":"https://github.com/ECJ222.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\" \u003e💳 Nuxt-Paystack\u003c/h1\u003e\n\u003cp align=\"center\"\u003ePaystack payment gateway integration for Nuxt.js\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/prettier/prettier\"\u003e\n    \u003cimg alt=\"\" src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://npmjs.com/package/nuxt-paystack\"\u003e\n    \u003cimg alt=\"\" src=\"https://img.shields.io/npm/v/nuxt-paystack/latest.svg\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://npmjs.com/package/nuxt-paystack\"\u003e\n    \u003cimg alt=\"\" src=\"https://img.shields.io/npm/dt/nuxt-paystack.svg\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://npmjs.com/package/nuxt-paystack\"\u003e\n    \u003cimg alt=\"\" src=\"https://img.shields.io/npm/l/nuxt-paystack.svg\"\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\n## Table of Contents\n\n- [✨ \u0026nbsp;Requirements](#requirements)\n- [✨ \u0026nbsp;Install](#install)\n- [✨ \u0026nbsp;Usage](#usage)\n- [📖 \u0026nbsp;License](#license)\n\n## Requirements\n\n- npm\n- NuxtJS\n- NodeJS\n\n## Install\n\n```bash\n# npm\n$ npm install nuxt-paystack\n\n# yarn\n$ yarn add nuxt-paystack\n```\n\n## Usage\n\nAdd `'nuxt-paystack'` to the `modules` section of your `nuxt.config.js` file.\n\n```js\n{\n  modules: ['nuxt-paystack']\n}\n```\n\n`this.$paystack` is now available and can be used in your components.\n\n```js\n{\n  ...\n  methods: {\n    initializePaystack() {\n      this.$paystack({\n        key: '', // Replace with your public key.\n        email: '',\n        amount: 0,\n        ref: '',\n        currency: '',\n        callback: () =\u003e {\n          // Do something.\n        },\n        onClose: () =\u003e {\n          // Do something.\n        }\n      })\n    }\n  }\n  ...\n}\n```\n\n**Note:** that `$paystack` is a `function` which takes in an `object` as its argument with your paystack details in it, for more information on this you can check [here](https://paystack.com/docs/payments/accept-payments/#collect-customer-information).\n\n## License\n\nThis project is licensed under [MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecj222%2Fnuxt-paystack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecj222%2Fnuxt-paystack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecj222%2Fnuxt-paystack/lists"}