FLUTTER ECOSYSTEM

stripe_js

Stripe.js bindings for dart. This package is used by Stripe web so that the Stripe js sdk can be invoked directly.

Latest version
8.2.0
30-day downloads
60.4K
Likes
1
Pub points
130

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

The stripe_js package provides Flutter/Dart bindings for the Stripe.js SDK, enabling direct integration with Stripe's web payment infrastructure. It allows developers to leverage Stripe's client-side JavaScript library within Flutter web applications, facilitating secure payment processing through features like card element rendering and token generation. Designed specifically for web platforms, it ensures seamless interaction with Stripe’s APIs while maintaining Dart's type safety and async capabilities.

Use cases
  • Processing credit card payments on web
  • Creating secure checkout forms
  • Integrating with Stripe Elements
  • Handling payment intents
  • Tokenizing card details
  • Building e-commerce web apps
Key features
  • Direct access to Stripe.js SDK
  • Web-only platform support
  • Secure card element rendering
  • Payment intent handling
  • Dart-friendly API design
  • Type-safe callbacks
Suitable for
  • Flutter web developers
  • E-commerce applications
  • Payment form integrations
  • Stripe-powered web apps
  • Developers using Stripe Elements
  • Client-side payment processing
Considerations
  • Only works on web platform
  • Requires Stripe account setup
  • Depends on external Stripe.js script
  • Limited to browser-based environments
  • Needs proper CORS configuration
  • Not suitable for mobile or desktop
Supported platformsWeb

Install package

flutter pub add stripe_js

Categories

Dependencies

Dependency list 4 items

Source repository

Related projects