stripe
4.11.0, released 3 years ago by an unverified publisher
A simple Stripe API wrapper intended to be used on the server.
What it does
Provides a native Dart wrapper for the Stripe API. It includes support for basic resources like Payment Intents, Checkout Sessions, Subscriptions, Prices, Products, and Customers, meant specifically for server-side usage.
AI-written summary of version 4.11.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to integrate Stripe payments on a Dart backend or server application.
- You want to manage Stripe resources like customers, subscriptions, and payment intents using Dart code.
Skip it when
- You are building a client-side Flutter application to collect card details (use flutter_stripe instead).
- You need complete coverage of every single Stripe API resource and field.
Strengths
- Native Dart library specifically written for server-side applications.
- Uses json_serializable for message parsing.
Weaknesses
- Does not include all Stripe resources, messages, or fields.
- Explicitly not meant for client-side Flutter mobile applications.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- Yes (build_runner)
- Direct dependencies
- 6
Requires running `dart run build_runner build` if modifying models generated with `json_serializable`.
not documentedAlternatives
Packages that do the same job and could replace stripe.
- stripe_android
Android platform implementation of stripe_platform_interface for Flutter.
77Compare
Works with
Packages commonly used together with stripe: ones it builds on, ones built on it, and its own family.
- cryptostripe depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- json_annotationstripe depends on itProvides annotations for json_serializable to generate JSON (de)serialization code.
- loggingstripe depends on itProvides configurable logging with levels and stream listeners for Dart apps.
- diostripe depends on itA powerful HTTP networking package for Dart and Flutter with interceptors and request cancellation.