Skip to content

hilljh82/capacitor-community-stripe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Stripe

Capacitor community plugin for native Stripe.

packages

package name description path
@capacitor-community/stripe Support for non-personal payments using Stripe /packages/payment
@capacitor-community/stripe-identity Supports identity verification using Stripe /packages/identity
@capacitor-community/stripe-terminal Support for in-person payments using Stripe /packages/terminal

Optional: How to use Stripe Android currently package

Capacitor Android 5's default settings is here:

minSdkVersion = 22
compileSdkVersion = 33
targetSdkVersion = 33

To use the latest Stripe Android, you need to version these up. To use the latest features, follow these steps.

  1. Open android/variables.gradle , and change compileSdkVersion to 24 or higher.
  2. Add stripeAndroidVersion or identityVersion and set required version. Release information is here: https://github.com/stripe/stripe-android/releases
  ext {
    minSdkVersion = 26
-   compileSdkVersion = 33
+   compileSdkVersion = 34
    targetSdkVersion = 33
    androidxActivityVersion = '1.7.0'
    androidxAppCompatVersion = '1.6.1'
    androidxCoordinatorLayoutVersion = '1.2.0'
    androidxCoreVersion = '1.10.0'
    androidxFragmentVersion = '1.5.6'
    coreSplashScreenVersion = '1.0.0'
    androidxWebkitVersion = '1.6.1'
    junitVersion = '4.13.2'
    androidxJunitVersion = '1.1.5'
    androidxEspressoCoreVersion = '3.5.1'
    cordovaAndroidVersion = '10.1.1'

    // If you use @capacitor-community/stripe:
+   stripeAndroidVersion = '20.39.+'

    // If you use @capacitor-community/stripe-identity:
+   identityVersion = '20.39.+'
  }

Note: @capacitor-community/stripe-terminal does not work with the default sdkVersion, so these updates are mandatory. See /packages/terminal for more information.

Maintainers

Maintainer GitHub Social
Hidetaka Okamoto hideokamoto @hide__dev
Ibby Hadeed ihadeed
Masahiko Sakakibara rdlabo @rdlabo

Contributors ✨

Made with contributors-img.

Demo

Screenshots

@capacitor-community/stripe

Android iOS Web
PaymentSheet
PaymentFlow
ApplePay Not supported beta.
GooglePay Not supported

@capacitor-community/stripe-identity

Android iOS Web
Identity Not supported

About

Stripe Mobile SDK wrapper for Capacitor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 40.9%
  • Swift 27.8%
  • TypeScript 24.9%
  • Objective-C 2.0%
  • Ruby 1.8%
  • Kotlin 1.4%
  • JavaScript 1.2%