stripe_api 1.1.0

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 83

Flutter Stripe API

A flutter plugin to integrate stripe into flutter app. There are other pluging available but I tried a different approach. (This plugin not dependent on any other native stripe library) I start to follow the official Android stripe SDK and replicate it's code into Dart. So far I completed the basic functions which includes:

  • Start Customer Session
  • End Customer Session
  • Get Customer
  • Create Card Token
  • Add Customer Source
  • Remove Customer Source
  • Update Default Source
  • Update Customer Shipping Information (not tested)

This plugin is in very initial stage, I am using it in my personal app. Future plan is to complete all the remaining API. And completing the Example Project with proper UI. And also having a TextInputFormatter for card auto complete and validation.

1.1.0

  • Updated 'http' package version

1.0.3

  • CardNumberFormatter code refactored

1.0.2

  • Fixed minor issue

1.0.1

  • Completed CardNumberFormatter class

1.0.0

  • Fixed publish --dry-run issues/warnings

0.0.1

  • Initial release

example/README.md

example

Stripe API usage example

Getting Started

For help getting started with Flutter, view our online documentation.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  stripe_api: ^1.1.0

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter packages get

Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:stripe_api/stripe_api.dart';
  
Version Uploaded Documentation Archive
1.1.0 Oct 27, 2018 Go to the documentation of stripe_api 1.1.0 Download stripe_api 1.1.0 archive
1.0.3 Aug 24, 2018 Go to the documentation of stripe_api 1.0.3 Download stripe_api 1.0.3 archive
1.0.2 Aug 18, 2018 Go to the documentation of stripe_api 1.0.2 Download stripe_api 1.0.2 archive
1.0.1 Aug 18, 2018 Go to the documentation of stripe_api 1.0.1 Download stripe_api 1.0.1 archive
1.0.0 Aug 12, 2018 Go to the documentation of stripe_api 1.0.0 Download stripe_api 1.0.0 archive
0.0.2 Aug 5, 2018 Go to the documentation of stripe_api 0.0.2 Download stripe_api 0.0.2 archive
0.0.1 Aug 5, 2018 Go to the documentation of stripe_api 0.0.1 Download stripe_api 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
81
Health:
Code health derived from static analysis. [more]
90
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
80
Overall:
Weighted score of the above. [more]
83
Learn more about scoring.

We analyzed this package on Dec 5, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.7
  • Flutter: 1.0.0

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health issues and suggestions

Document public APIs (-9.52 points)

550 out of 578 API elements (library, class, field or method) have no adequate dartdoc content. Good documentation improves code readability and discoverability through search.

Fix lib/card_number_formatter.dart. (-0.50 points)

Analysis of lib/card_number_formatter.dart reported 1 hint:

line 1 col 8: Unused import: 'dart:math'.

Maintenance suggestions

The description is too short. (-20 points)

Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.61.0 <3.0.0
flutter 0.0.0
http ^0.12.0 0.12.0
Transitive dependencies
async 2.0.8
charcode 1.1.2
collection 1.14.11
http_parser 3.1.3
meta 1.1.6
path 1.6.2
sky_engine 0.0.99
source_span 1.4.1
string_scanner 1.0.4
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test