v0.0.1-beta.24
·
98 commits
to main
since this release
- iOS and Android native SDKs are upgraded to 4.1.0.
- iOS changelog
- Android changelog
- Official support for React Native v0.76 with the New Architecture.
- Adds support for apps built with targetSdkVersion = 35 targeting Android 15 devices.
- Minimum deployment target updated from iOS 13.0 to iOS 14.0.
Preview
- Affirm support for smart readers is now available in private preview.
- Added a returnUrl parameter to ConfirmConfiguration to specify a desired URL to redirect to upon completion of a redirect payment method such as Affirm.
- If you are interested in joining this preview, please email stripe-terminal-betas@stripe.com.
- collectData will be supported on Smart readers.
- Note: This feature requires reader software version 2.28 or later to be installed on your smart reader.
- If you are interested in joining this preview, please email terminal-collect-data@stripe.com.
- Mail order / telephone order (MOTO) payment support for smart readers.
- Contact Stripe support to enable this feature on your account.
New
- Global card saving after payment support by updating customer consent capture. The following breaking changes are required:
- Removed the customerConsentCollected parameter from collectSetupIntentPaymentMethod and replaced it with allowRedisplay.
- Added a new enum value DISCOVERING to ConnectionStatus to represent when discovery is running.
- Added cancelConfirmPaymentIntent, cancelConfirmSetupIntent, and cancelConfirmRefund methods, which allow you to cancel the operation in certain scenarios, such as QR Code payment presentment.
- Added support for operating offline with simulated mobile readers.
Updates
- [Breaking change] There is now a single connectReader method for all connection types. This replaces the previous methods:
connectBluetoothReader,connectUsbReader,connectInternetReader,connectLocalMobileReader, andconnectHandoffReader. - Auto reconnect on unexpected disconnect is now enabled by default for mobile readers and Tap to Pay readers. When auto-reconnect on unexpected disconnect is enabled, both didDisconnect and didFailReaderReconnect methods will be called if the SDK fails to reconnect to the reader and it becomes disconnected.
- If a new ‘reader discover’ operation is initiated while one is already in progress, the SDK will now cancel the ongoing operation with a CANCELED_DUE_TO_INTEGRATION_ERROR error and start the new operation.
Tap to Pay
- Tap to Pay on Android: SafetyNet Attestation API has been removed and replaced with Play Integrity API.
- The collectPaymentMethod and collectSetupIntentPaymentMethod now time out after 60 seconds for Tap to Pay on Android transactions.
- "Local Mobile" has been renamed to "Tap To Pay" in all function names and error codes to align with Stripe branding.
Fixes
- Fixed an issue where, if the SDK was initialized offline and a user immediately attempts to pair a reader offline, the first attempt fails with "The selected reader requires a software update", despite the reader being up-to-date.
- Calls to collectSetupIntentPaymentMethod now updates the provided SetupIntent with the correct status of REQUIRES_CONFIRMATION, instead of REQUIRES_PAYMENT_METHOD.
What's Changed
- Fix build issues by @nazli-stripe in #859
- Add missing error stringValue in iOS by @tim-lin-bbpos in #851
- Fix tap to pay ux config hanging issue by @tim-lin-bbpos in #864
- Fix tip parsing logic in iOS by @tim-lin-bbpos in #863
- Bump Terminal SDK to 4.0.0 by @tim-lin-bbpos in #847
- Bump nanoid from 3.3.7 to 3.3.8 in /example-app by @dependabot in #862
- Bump nanoid from 3.3.7 to 3.3.8 in /dev-app by @dependabot in #865
- Upgrade RN to 72.9 by @nazli-stripe in #873
- Add cancelConfirm series action by @tim-lin-bbpos in #868
- Bump SDK to 4.1.0 by @tim-lin-bbpos in #871
- Update supported currencies by @rytrose-stripe in #875
- [WIP] Upgrade to rn 0.76.6 by @tim-lin-bbpos in #874
- [4.1.0] Add support for return_url and Affirm by @henryx-stripe in #884
- Support moto parameter by @tim-lin-bbpos in #872
- Make collectData callbacks uniform; bump gradle to 8.7.2 by @mindy-stripe in #896
- [WIP] Change setupIntentScreen check condition by @tim-lin-bbpos in #895
- Upgrade linux to 22.0.4 by @tim-lin-bbpos in #906
- Beta.24 prep by @nazli-stripe in #907
New Contributors
- @rytrose-stripe made their first contribution in #875
Full Changelog: v0.0.1-beta.23...v0.0.1-beta.24