Skip to content

Releases: capacitor-community/stripe

v8.2.1

Choose a tag to compare

@rdlabo rdlabo released this 13 Aug 03:37

What's Changed

  • Migrate demo server to Cloudflare Workers by @rdlabo in #491
  • Fix documentation consistency by @rdlabo in #494
  • Improve generated API documentation by @rdlabo in #495

Full Changelog: v8.2.0...v8.2.1

v8.2.0

Choose a tag to compare

@rdlabo rdlabo released this 12 Aug 13:38

Upgrade notes

After updating the packages, run npx cap sync.

iOS build requirement

The Payment and Identity packages now use Stripe iOS SDK 26.6.x. Build iOS applications with Xcode 26 or newer. The minimum iOS deployment target remains iOS 15.

Register result listeners during application bootstrap

On Android, an Activity and its JavaScript runtime can be recreated while PaymentSheet, PaymentFlow, Google Pay, or Stripe Identity is open. The original Promise cannot be restored. Register the corresponding result listeners once per JavaScript application startup, as early as possible during bootstrap and before presenting Stripe UI.

When Stripe delivers the result to the recreated Activity, the plugin can retain the native result event in memory until the new listener is available. This does not persist results across OS process death. See the Payment and Identity READMEs for examples.

Apple Pay shipping contact handlers

Applications that listen for ApplePayEventsEnum.DidSelectShippingContact should respond by calling Stripe.updateApplePaySheet(...) with the event's updateId and the updated paymentSummaryItems. If no update is supplied, the plugin waits up to 25 seconds and then continues with the original items.

Tap to Pay on iPhone

isTapToPayAccountLinked() is now available on iOS 16.4 and later. Call it after StripeTerminal.initialize() and handle Promise rejection. It is not implemented on Android or Web.

Native SDK and behavior updates

  • Stripe-owned native dependencies were updated across Payment, Identity, and Terminal. This also fixes the Android shared Terminal initialization conflict that could cause reader connection to use a publishable key when Payment and Terminal were installed together; no application code change is required for that fix.
  • PaymentSheet failures on Android now emit a single failure event instead of a duplicate event.
  • A successful PaymentFlow confirmation no longer emits a spurious canceled event.
  • cancelDiscoverReaders() now settles reliably, including when no discovery is active.

What's Changed

  • chore(demo): test update to jsdom by @rdlabo in #476
  • Standardize validation workflow configuration by @rdlabo in #477
  • fix(terminal): wrong annotation for discoverReaders on android by @DoctorMcKay in #478
  • feat(terminal): add isTapToPayAccountLinked for iOS, bump iOS SDK to 5.7.0 by @mthwJsmith in #479
  • feat(apple-pay): add updateApplePaySheet to update payment items on shipping contact selection by @agomezmart in #473
  • fix(payment): ignore completed flow option reset by @rdlabo in #486
  • fix(terminal): settle reader discovery cancellation by @rdlabo in #480
  • fix(payment): modernize Android registration and failure events by @rdlabo in #487
  • fix(android): retain results when saved calls are missing by @rdlabo in #488
  • chore: update Stripe native SDKs by @rdlabo in #489

New Contributors

Commits

  • Merge branch 'main' of github.com:capacitor-community/stripe 6d235e3
  • chore: update Stripe native SDKs (#489) 7c22e93
  • fix(android): recover results without saved calls (#488) 7bbe150
  • fix(payment): modernize Android registration and failure events (#487) c5cf1fb
  • Merge branch 'main' of github.com:capacitor-community/stripe 73169fc
  • fix(terminal): settle reader discovery cancellation (#480) 2c217fb
  • fix(payment): ignore completed flow option reset (#486) edf62fe
  • feat(apple-pay): add updateApplePaySheet to update payment items on shipping contact selection (#473) 2890dd4
  • Merge branch 'main' of github.com:capacitor-community/stripe d74e247
  • chore(ci): update to setup-node@5 a56fcd0
  • feat(terminal): add isTapToPayAccountLinked for iOS, bump iOS SDK to 5.7.0 (#479) dce054c
  • fix(terminal): wrong PluginMethod annotation for discoverReaders on android (#478) 7beb803
  • Standardize validation workflow configuration (#477) 07577f5
  • chore(demo): test update to jsdom (#476) c554649
  • Merge branch 'main' of github.com:capacitor-community/stripe 502bd1c
  • chore(terminal): update readme 41d7634
  • chore: update workspace versions to 8.1.1 c7c5a4c

v8.1.1...v8.2.0

v8.1.1

Choose a tag to compare

@rdlabo rdlabo released this 01 Apr 10:09
  • feat: update sdk version 86361a3
  • chore: update readme badge a804c48
  • Merge branch 'main' of github.com:capacitor-community/stripe 2c2d11d
  • chore(demo): add jks for deploy stripe, and update readme 6122553
  • chore: update workspace versions to 8.1.0 b649479

v8.1.0...v8.1.1

v8.1.0

Choose a tag to compare

@rdlabo rdlabo released this 10 Mar 03:37

Terminal Update

The Terminal SDK has been updated to v5. In addition, App on Devices has been added to our release verification features, allowing you to use it with greater confidence.

Demo Project for App on Devices

Image from Gyazo

Added setTapToPayUxConfiguration API

Thanks to #465,
the setTapToPayUxConfiguration API has been added.

This allows you to configure Tap to Pay colors and dark mode settings on Android.

Thank you @DanThePutzer!


v8.1.0-0...v8.1.0

v8.1.0-0

v8.1.0-0 Pre-release
Pre-release

Choose a tag to compare

@rdlabo rdlabo released this 09 Mar 13:20
  • feat(): terminal update to v5 (#468) 979e434
  • chore(demo): sls change to node22 c5f94e1
  • chore(ci): deploy change to main branch only 59055c5
  • chore(demo): update conditions 7567cc2
  • feat(ci): auto deploy for demo server 900d948
  • chore(demo): update demo server c41dfd6
  • chore: update workspace versions to 8.0.1 1b18aca

v8.0.1...v8.1.0-0

v8.0.1

Choose a tag to compare

@rdlabo rdlabo released this 26 Jan 11:38
  • fix(ci): update is_stable code f629bbf
  • chore: update workspace versions to 8.0.0 90bf23f

v8.0.0...v8.0.1

v8.0.0

Choose a tag to compare

@rdlabo rdlabo released this 24 Dec 02:50

This release is a pre-major update to support Capacitor v8.
If no issues are reported over the next few days, this will be released as v8.0.0.

Please note that this release includes several breaking changes.

Packages

@capacitor-community/stripe

  • Added support for Capacitor v8
  • Updated the dependency stripe-pwa-elements to v3.0.0
    • This upgrades the underlying @stencil/core dependency to v4, which resolves many library dependency issues
  • Updated the dependency @stripe/stripe-js to v8.4.0
    • Please be aware if you are using an older version

@capacitor-community/stripe-identity

  • Added support for Capacitor v8
  • Fully removed deprecated APIs
    • If you are using them, you will encounter compile-time errors

@capacitor-community/stripe-terminal

  • Added support for Capacitor v8
  • In v8.0.0, Stripe Terminal SDK v4 is used
  • Upgrade to SDK v5 is planned starting from v8.1.0
  • From SDK v5 onward, Apps on Devices is planned to be actively supported

Other

  • The demo app has been migrated to Swift Package Manager
    • CocoaPods is still supported for all packages
  • Version constraints have been unified across iOS and Android
    • Minor versions are pinned
    • Patch versions are automatically updated

Full diff:
v7.2.3...v8.0.0

v8.0.0-0

v8.0.0-0 Pre-release
Pre-release

Choose a tag to compare

@rdlabo rdlabo released this 19 Dec 10:20

This release is a pre-major update to support Capacitor v8.
If no issues are reported over the next few days, this will be released as v8.0.0.

Please note that this release includes several breaking changes.

Packages

@capacitor-community/stripe

  • Added support for Capacitor v8
  • Updated the dependency stripe-pwa-elements to v3.0.0
    • This upgrades the underlying @stencil/core dependency to v4, which resolves many library dependency issues
  • Updated the dependency @stripe/stripe-js to v8.4.0
    • Please be aware if you are using an older version

@capacitor-community/stripe-identity

  • Added support for Capacitor v8
  • Fully removed deprecated APIs
    • If you are using them, you will encounter compile-time errors

@capacitor-community/stripe-terminal

  • Added support for Capacitor v8
  • In v8.0.0, Stripe Terminal SDK v4 is used
  • Upgrade to SDK v5 is planned starting from v8.1.0
  • From SDK v5 onward, Apps on Devices is planned to be actively supported

Other

  • The demo app has been migrated to Swift Package Manager
    • CocoaPods is still supported for all packages
  • Version constraints have been unified across iOS and Android
    • Minor versions are pinned
    • Patch versions are automatically updated

Full diff:
v7.2.3...v8.0.0-0

v7.2.3

Choose a tag to compare

@rdlabo rdlabo released this 15 Dec 10:08

Full Changelog: v7.2.2...v7.2.3

v7.2.3-4

v7.2.3-4 Pre-release
Pre-release

Choose a tag to compare

@rdlabo rdlabo released this 15 Dec 10:05
  • chore(ci): update package version 7dbedda

v7.2.3-3...v7.2.3-4