Skip to content

Releases: capacitor-community/stripe

v6.4.2

08 Dec 23:08
Compare
Choose a tag to compare

@capacitor-community/stripe

Bug Fix

  • fix initial error value for apple pay bd93416

v6.4.1...v6.4.2

v6.4.1

05 Dec 07:53
Compare
Choose a tag to compare

This Android plugin has been made with Kotlin.

For a long time, this plugin has been developed in Java.

However, with 2025 just around the corner, and with the Stripe SDK being developed in Kotlin, new feature development required us to revisit the code in Java. Additionally, with the release of Kotlin 2.0 this year, the language has become faster and safer to use.

As a result, this plugin has been reborn in Kotlin. Instead of using Kotlin in just some parts of the code, we have unified everything under Kotlin 🎉

Trouble Shooting

Error: Unable to get provider androidx.startup.InitializationProvider

Unable to get provider androidx.startup.InitializationProvider: androidx.startup.StartupException: androidx.startup.StartupException: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/lifecycle/ReportFragment$ActivityInitializationListener;

If you got this error message at Android Studio, you should add next block to android/app/build.gradle like https://github.com/capacitor-community/stripe/blob/main/demo/angular/android/app/build.gradle#L61-L74

+ buildscript {
+   ext.kotlin_version = '2.0.+'
+   repositories {
+       google()
+       mavenCentral()
+   }
+   dependencies {
+     classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
+   }
+ }
+ apply plugin: 'kotlin-android'

Commit

v6.4.0...v6.4.1

v6.4.1-0

05 Dec 07:17
Compare
Choose a tag to compare
v6.4.1-0 Pre-release
Pre-release

v6.4.0...v6.4.1-0

v6.4.0

05 Dec 02:04
Compare
Choose a tag to compare

@stripe-community/stripe update

There are no large changes, but the Stripe SDK used has been updated so that the latest UI can be used on Android.

Changes

  • Update SDK. I also upgraded Android this time, which I skipped last time due to bcprov-jdk15to18 conflicts. eb94e48
  • Support Swift Package Manager

@stripe-community/stripe-identity update

There are no large changes.

Changes

  • Update SDK
  • Support Swift Package Manager

@stripe-community/stripe-terminal update

There are breaking changes. Please understand that this is currently an rc version.

Breaking Changes

Changed SDK from v3 to v4( #406 ) . Thanks @simPRO-Software ! simPRO-Software@e49f34b simPRO-Software@a000f7e
This has resulted in some disruptive changes.

  • Change version name stripeterminalLocalmobileVersion to stripeterminalTapToPayVersion
  • Unsupport stripeterminalLocalmobileVersion: 3.x. This plugin will require 4.x.
  • Require ios >= 14. Podfile will be rewrite to platform :ios, '14.0'

Changes

  • Support multiple calls to fetchConnectionToken from SDK #407
  • Support Swift Package Manager

Trouble Shooting

Unable to get provider androidx.startup.InitializationProvider: androidx.startup.StartupException: androidx.startup.StartupException: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/lifecycle/ReportFragment$ActivityInitializationListener;

If you got this error message at Android Studio, you should add next block to android/app/build.gradle.

+ buildscript {
+   ext.kotlin_version = '2.0.+'
+   repositories {
+       google()
+       mavenCentral()
+   }
+   dependencies {
+     classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
+   }
+ }
+ apply plugin: 'kotlin-android'

Commit

There are breaking changes , so skipped 6.3.0 and versioned to 6.4.0.

v6.2.2...v6.4.0

v6.4.0-0

04 Dec 08:27
Compare
Choose a tag to compare
v6.4.0-0 Pre-release
Pre-release

Commit

v6.2.2...v6.3.0-0

v6.2.2...v6.4.0-0

v6.3.0-0

04 Dec 08:26
Compare
Choose a tag to compare
v6.3.0-0 Pre-release
Pre-release

v6.2.2...v6.3.0-0

v6.2.2

31 Oct 07:34
Compare
Choose a tag to compare

Terminal Update

Changes

  • Send stripe error and decline code in the reject response (Thanks @shiv19 ) #399 #404
  • Update every package and dependencies

Commit

  • fix(android): update emoji f64228f
  • chore d2cce07
  • fix(android): sdk '20.52.+' occurred error "Unable to get provider androidx.startup.InitializationProvider: androidx.startup.StartupException: androidx.startup.StartupException: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/lifecycle/ReportFragment$ActivityInitializationListener;" 676e6c7
  • chore a93dda7
  • chore(readme): update 38b8907
  • Merge pull request #404 from capacitor-community/feat/fix_terminal-error-and-decline-code 4c05121
  • Merge branch 'main' into feat/fix_terminal-error-and-decline-code ba392dd
  • chore 989e40d
  • feat(terminal): error code and declineCode added to ios, type 4bedf95
  • fix(terminal): fixed incorrect version designation 11b5cf2
  • feat(sdk): update every sdk version fe531c5
  • chore(demo): ng update fa2db02
  • chore 611c7bd
  • feat(demo): update use package 317caff
  • chore(ci): update use action version b4b51ec
  • chore(ci): actions/upload-artifact v2 to v4 ec59051
  • Merge pull request #399 from simPRO-Software/feat/terminal-error-and-decline-code dbafa1f
  • feat(terminal): send stripe error and decline code in the reject response 0263a93
  • chore 7b3a81e
  • chore(payment): fix type 04253d9
  • released 1481940

v6.2.1...v6.2.2

v6.2.1

13 Aug 22:19
Compare
Choose a tag to compare

v6.2.0...v6.2.1

v6.2.0

13 Aug 09:35
Compare
Choose a tag to compare

Terminal Update

Terminal has exited beta and is now in the RC (release candidate) phase🎉

Description

In this version, we have more extended the Terminal's functionality. Please read the README carefully.

New function:

  • the web implement.
  • autoReconnectOnUnexpectedDisconnect( connectReader method's option. default is false )
  • installAvailableUpdate
  • cancelInstallUpdate
  • setReaderDisplay
  • clearReaderDisplay
  • rebootReader

More information is here: v6.0.2...v6.2.0#diff-79cae2b77ba5fa93a1ff52e76ec78a5586d71ef4e95fcfb1ace7f0c20a4e74c4

Breaking changes

Change ReaderSoftwareUpdateInterface to:

export type ReaderSoftwareUpdateInterface = {
  deviceSoftwareVersion: string;
  estimatedUpdateTime: UpdateTimeEstimate;
  requiredAt: number;
};

Changes

  • ReaderInterface has been extended. Also, the index property is now deprecated.

Commit

  • feat(terminal): add function setReaderDisplay at web dff3b96
  • feat(terminal): implement web platform 1e389f9
  • Merge branch 'main' of github.com:capacitor-community/stripe 309845d
  • chore(identity): web screenshot is added dc7de58
  • Merge pull request #377 from capacitor-community/feat/remove_beta_tasks 5562978
  • chore(demo): update that select device is arable only 4680e31
  • chore(terminal): add enum group by device image 11b47ca
  • fix(demo): cancelCollectPaymentMethod set at during collectPaymentMethod 60a0c8c
  • fmt c48845a
  • update readme d467777
  • feat(terminal): add merhantDisplayName and behalfOf for localMobile 9aed853
  • feat(terminal): organize cancelable 6c28b80
  • feat(terminal): implement cancelReaderConnection acedb40
  • feat(teminal): set device type adca78f
  • chore 1b294e0
  • feat(terminal): set ReaderInterface 331e99c
  • refactor(terminal): separate terminalMapper at android e7674ea
  • chore d6b6028
  • feat(terminal): follow ReaderSoftwareUpdateInterface to reader 09d00bd
  • feat(terminal): set reader interface 3f59da8
  • fmt 4e37307
  • chore 7d83465
  • feat(terminal): added demo 48b3263
  • fix(terminal): fix type Cart b63ef5e
  • chore(terminal): autoReconnectOnUnexpectedDisconnect be option 44728aa
  • feat(terminal): add reconnection functions 4d9f0c5
  • chore(terminal): update docs de2457b
  • feat(terminal): create method of listed 4c617e5
  • released 196e7d2

v6.1.0...v6.2.0

v6.1.0

12 Aug 06:02
Compare
Choose a tag to compare

Terminal Update

Description

In this version, we have extended the Terminal's functionality. This version adds many missing event listeners (especially battery and device updates!) ), and a simulator setting that is useful for testing.

Thanks @DoctorMcKay for the Android implementation. #359

Commit

  • fmt 39921b7
  • Merge pull request #375 from capacitor-community/feat/terminal_device 6a634ac
  • chore 40c8283
  • feat(terminal/ios): add setSimulatorConfiguration demo b77a934
  • fix(terminal/ios): key is be follow android 8bd4422
  • refactor: demo 4fd1a17
  • feat(terminal): create demo for BatteryLevel, RequestDisplayMessage, ReaderEvent 24f943c
  • chore 4bf9410
  • feat(terminal): add ReportAvailableUpdate listener 88edd8b
  • chore e296578
  • feat(terminal/ios): separate mappers f491b94
  • feat(terminal): follow android event value 01e4ee4
  • fix(terminal): messageType follow Android Type 422948f
  • chore 0146969
  • chore f6a4a5a
  • chore b3e188e
  • fmt 65eb3f6
  • feat(terminal): add type of simulateReaderUpdate a9c6144
  • feat(terminal/ios): follow android function d681992
  • chore d25d310
  • fix(android): follow ios error 6db8444
  • bump 30afdec
  • chore b7183ef
  • Merge pull request #359 from DoctorMcKay/feat/reader-status-events e3409e1
  • Merge pull request #358 from DoctorMcKay/fix/bluetooth-permission-for-discovery 4b63ca4
  • released f3b75b8
  • docs(terminal): rebuild docs 1296545
  • feat(terminal): implement ConnectionStatusChange and UnexpectedReaderDisconnect 8860263
  • docs(terminal): add jsdoc explaining some events 30545cc
  • feat(terminal): handle ReaderListener's onDisconnect e8e7196
  • feat(terminal): add 4 more reader events 115fdfc
  • feat(terminal): event binding for onBatteryLevelUpdate aa4d4ab
  • feat(terminal): binding for setSimulatorConfiguration e528fa3
  • feat(terminal): add events for reader software update status b65356c
  • fix(terminal): request bluetooth permission for discoverReaders 4d99339

Common Commit

  • chore(demo): update angular packages 506ac9a
  • feat(): update every stripe packages 0ee710c

v6.0.2...v6.1.0