Skip to content

luuduchieu/stripe_payment_flutter

Repository files navigation

pub package

stripe_payment_flutter

Conveniently secure payments methods using Stripe.

Quick Glance

  • This Flutter plugin is a straight port from tipsi-stripe plugin for React Native - we tried to keep the API as close as possible so the documentation applies this this plugin as well.
  • Collect chargable tokens from users' Card Input and Apple & Google Pay
  • For SCA compliant apps, setup payment intents for later confirmation.

Supported features:

Native Pay -  & G

  • canMakeNativePayPayments()
  • deviceSupportsNativePay()
  • potentiallyAvailableNativePayNetworks()
  • completeNativePayRequest()
  • cancelNativePayRequest()

Card Form

  • paymentRequestWithCardForm()

Card Params Object

  • createTokenWithCard()

Bank Account Params Object

  • createTokenWithBankAccount()

Create Source Object With Params

  • createSourceWithParams()

Apple Pay

Dependencies

Android & iOS

  • Create a Stripe account and project
  • Retrieve a publishable key from the Stripe dashboard

Stripe Dashboard

Android

  • Requires AndroidX

Include support in android/gradle.properties

android.useAndroidX=true
android.enableJetifier=true

For proper setup also have a look at: https://github.com/jonasbark/stripe_payment_flutter/issues/88#issuecomment-553798157

Documentation

As this plugin is a port from tipsi-stripe for React Native you may consult their documentation: https://github.com/tipsi/tipsi-stripe/tree/experimental-connect/website/docs-md It includes:

  • how to setup Google / Apple Pay
  • method documentations

React Native version conflict

  • This package is an alternative version for developers that have conflict with react native package

Blog Posts

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages