Releases: capacitor-community/stripe
Release list
v8.2.1
v8.2.0
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
- @mthwJsmith made their first contribution in #479
- @agomezmart made their first contribution in #473
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.1.0
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
- You can see how to use App on Devices with
@capacitor-community/stripe-terminalat
https://github.com/capacitor-community/stripe/tree/main/demo/app-on-devices - The UI design is based on
https://github.com/stripe-samples/terminal-apps-on-devices - For a bit of fun, we implemented a 15-second challenge — if you succeed, the payment amount becomes half price
- Simply clone the repository and build locally to run it (Stripe Terminal DevKit required)
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
- 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.0.0
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-elementsto v3.0.0- This upgrades the underlying
@stencil/coredependency to v4, which resolves many library dependency issues
- This upgrades the underlying
- Updated the dependency
@stripe/stripe-jsto 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
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-elementsto v3.0.0- This upgrades the underlying
@stencil/coredependency to v4, which resolves many library dependency issues
- This upgrades the underlying
- Updated the dependency
@stripe/stripe-jsto 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
