{"id":18472564,"url":"https://github.com/wangdicoder/react-afterpay-checkout","last_synced_at":"2025-05-12T18:53:02.220Z","repository":{"id":85821008,"uuid":"305706534","full_name":"wangdicoder/react-afterpay-checkout","owner":"wangdicoder","description":"React Afterpay Checkout Button","archived":false,"fork":false,"pushed_at":"2020-11-05T13:00:36.000Z","size":6724,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-16T19:17:13.836Z","etag":null,"topics":["afterpay","checkout"],"latest_commit_sha":null,"homepage":"https://wangdicoder.github.io/react-afterpay-checkout/","language":"TypeScript","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/wangdicoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-10-20T12:50:54.000Z","updated_at":"2020-11-05T13:00:39.000Z","dependencies_parsed_at":"2023-03-22T11:49:52.186Z","dependency_job_id":null,"html_url":"https://github.com/wangdicoder/react-afterpay-checkout","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangdicoder%2Freact-afterpay-checkout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangdicoder%2Freact-afterpay-checkout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangdicoder%2Freact-afterpay-checkout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangdicoder%2Freact-afterpay-checkout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wangdicoder","download_url":"https://codeload.github.com/wangdicoder/react-afterpay-checkout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253804214,"owners_count":21967046,"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":["afterpay","checkout"],"created_at":"2024-11-06T10:20:54.781Z","updated_at":"2025-05-12T18:53:02.201Z","avatar_url":"https://github.com/wangdicoder.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Afterpay Checkout\n\n[![npm](https://img.shields.io/npm/v/react-afterpay-checkout.svg?style=flat-square)](https://www.npmjs.com/package/react-afterpay-checkout)\n[![npm](https://img.shields.io/npm/dm/react-afterpay-checkout.svg?style=flat-square)](https://www.npmjs.com/package/react-afterpay-checkout)\n[![GitHub](https://img.shields.io/github/license/wangdicoder/react-afterpay-checkout?style=flat-square)](https://github.com/wangdicoder/react-afterpay-checkout/blob/master/LICENSE)\n\nA React button component wrapping [Afterpay.js](https://developers.afterpay.com/afterpay-online/reference#javascript-afterpayjs) to provide a checkout utility.\n\n## 📦 Install\n\n```bash\nnpm install react-afterpay-checkout\n```\n\nor\n\n```bash\nyarn add react-afterpay-checkout\n```\n\n## 🔨 Usage\n\n```jsx\nimport CheckoutButton from 'react-afterpay-checkout';\n\nconst App = () =\u003e (\n  \u003c\u003e\n    \u003cCheckoutButton token=\"123\" countryCode=\"AU\"\u003eShop now with\u003c/CheckoutButton\u003e\n  \u003c/\u003e\n);\n```\n\n## ⌨️ Development\n\nClone it locally\n\n```bash\n$ git clone git@github.com:wangdicoder/react-afterpay-checkout.git\n$ cd react-afterpay-checkout\n$ npm install\n$ npm run dev\n```\n\n## 📄 License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangdicoder%2Freact-afterpay-checkout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwangdicoder%2Freact-afterpay-checkout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangdicoder%2Freact-afterpay-checkout/lists"}