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.

Libraries

address
card
card_number_formatter
card_utils
customer
customer_source
ephemeral_key_manager
flutter_stripe
model_utils
shipping_information
source
source_card_data
source_code_verification
source_owner
source_receiver
source_redirect
stripe_api_handler
stripe_error
stripe_json_model
stripe_json_utils
stripe_network_utils
stripe_payment_source
stripe_source_type_model
stripe_text_utils
text_utils
token

Dart

dart:ui
Built-in types and core primitives for a Flutter application. [...]

Core

dart:async
Support for asynchronous programming, with classes such as Future and Stream. [...]
dart:collection
Classes and utilities that supplement the collection support in dart:core. [...]
dart:convert
Encoders and decoders for converting between different data representations, including JSON and UTF-8. [...]
dart:core
Built-in types, collections, and other core functionality for every Dart program. [...]
dart:developer
Interact with developer tools such as the debugger and inspector. [...]
dart:math
Mathematical constants and functions, plus a random number generator. [...]
dart:typed_data
Lists that efficiently handle fixed sized data (for example, unsigned 8 byte integers) and SIMD numeric types. [...]

VM

dart:io
File, socket, HTTP, and other I/O support for non-web applications. [...]
dart:isolate
Concurrent programming using isolates: independent workers that are similar to threads but don't share memory, communicating only via messages. [...]