{"id":13781383,"url":"https://github.com/mezielabs/adonis-stripe","last_synced_at":"2025-05-11T14:35:00.989Z","repository":{"id":43769475,"uuid":"267666356","full_name":"mezielabs/adonis-stripe","owner":"mezielabs","description":"This package makes it seamless to work with Stripe in AdonisJS 5 applications.","archived":false,"fork":false,"pushed_at":"2023-04-24T17:41:51.000Z","size":867,"stargazers_count":39,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-25T01:53:38.248Z","etag":null,"topics":["adonis-stripe","typescript"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/mezielabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-05-28T18:30:43.000Z","updated_at":"2024-12-27T14:24:20.000Z","dependencies_parsed_at":"2024-01-15T05:09:53.598Z","dependency_job_id":"f2687cd5-df32-487b-85e0-e7ec50cae88a","html_url":"https://github.com/mezielabs/adonis-stripe","commit_stats":{"total_commits":19,"total_committers":1,"mean_commits":19.0,"dds":0.0,"last_synced_commit":"764d214a957f57b093a266b8d83d13423f9b05da"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mezielabs%2Fadonis-stripe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mezielabs%2Fadonis-stripe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mezielabs%2Fadonis-stripe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mezielabs%2Fadonis-stripe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mezielabs","download_url":"https://codeload.github.com/mezielabs/adonis-stripe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253580381,"owners_count":21930933,"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":["adonis-stripe","typescript"],"created_at":"2024-08-03T18:01:25.428Z","updated_at":"2025-05-11T14:35:00.584Z","avatar_url":"https://github.com/mezielabs.png","language":"HTML","funding_links":[],"categories":["Packages"],"sub_categories":[],"readme":"\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n## Table of contents\n\n- [Adonis Stripe](#adonis-stripe)\n\t- [Installation](#installation)\n\t- [Usage](#usage)\n\t- [Learn AdonisJS](#learn-adonisjs)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n# Adonis Stripe\n\n\u003e Stripe provider for AdonisJS 5\n\n[![typescript-image]][typescript-url] [![npm-image]][npm-url] [![license-image]][license-url]\n\nThis packages makes it seamless to work with Stripe in AdonisJS 5 applications.\n\n## Installation\n\nInstall the package using either npm or yarn:\n\n```bash\nnpm i @mezielabs/adonis-stripe\n# or\nyarn add @mezielabs/adonis-stripe\n```\n\nThen, configure the package using the `configure` command:\n\n```bash\nnode ace configure @mezielabs/adonis-stripe\n```\n\nThis package needs to be configured with your Stripe account's API keys, which you can get from your [Stripe Dashboard](https://dashboard.stripe.com/account/apikeys). Also, you can specify the API version as well as your webhook secret.\n\n```txt\n// .env\n\nSTRIPE_SECRET_KEY=YOUR_STRIPE_SECRET_KEY\nSTRIPE_PUBLIC_KEY=YOUR_STRIPE_PUBLISHABLE_KEY\nSTRIPE_API_VERSION=STRIPE_API_VERSION // defaults to Stripe account's API version\nSTRIPE_WEBHOOK_SECRET=YOUR_STRIPE_WEBHOOK_SECRET\n```\n\n## Usage\n\n```ts\nimport Stripe from '@ioc:Mezielabs/Stripe'\n\nasync checkout ({ view }) {\n  paymentIntent = await Stripe.paymentIntents.create({\n    amount: 1900,\n    currency: 'usd'\n  })\n}\n```\n\nThis package is built top of [`stripe-node`](https://github.com/stripe/stripe-node). For usage, see the [stripe-node API docs](https://stripe.com/docs/api?lang=node) for Node.js.\n\n\n## Learn AdonisJS\n\nWant to learn how to build projects like this with AdonisJS? Check out [Adonis Mastery](https://adonismastery.com), where you get to learn AdonisJS through practical screencasts.\n\n\n[typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge\u0026logo=typescript\n[typescript-url]:  \"typescript\"\n\n[npm-image]: https://img.shields.io/npm/v/@mezielabs/adonis-stripe.svg?style=for-the-badge\u0026logo=npm\n[npm-url]: https://npmjs.org/package/@mezielabs/adonis-stripe \"npm\"\n\n[license-image]: https://img.shields.io/npm/l/@mezielabs/adonis-stripe?color=blueviolet\u0026style=for-the-badge\n[license-url]: LICENSE.md \"license\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmezielabs%2Fadonis-stripe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmezielabs%2Fadonis-stripe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmezielabs%2Fadonis-stripe/lists"}