4.0.0 • Published 9 months ago

@fixers/nuxt-stripe v4.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

nuxt-stripe-social-card

npm version npm downloads License Nuxt

Nuxt Stripe

A Nuxt module for Stripe, with local webhook testing support out of the box.

Features

  •  Use Stripe with Nuxt
  •  Support local webhook testing out of the box.
  •  Nuxt Devtools support to explore webhook events.

Contributing

  • Clone this repository
  • Enable Corepack using corepack enable
  • Install dependencies using pnpm install
  • Run pnpm dev:prepare to generate type stubs.
  • Use pnpm dev to start playground in development mode.

📑 License

The classy MIT License

Version 4 Update Notice

Version 4 is an upcoming major update that will introduces breaking changes.

  • Webhook handler has been refactored.

The helper defineStripeWebhook is now stripeWebhookHandler, the second parameter has been removed, the callback how accept as its first parameter the StripeEvent and as its second parameter the context object.

// The new callback signature
type StripeWebhookHandler = (
  event: Stripe.Event,

  context: {
    $event: H3Event
    stripe: Stripe
  }
)
=> any
4.0.0

9 months ago

3.0.4

1 year ago

3.0.0

2 years ago

2.0.1

2 years ago

1.2.1

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago