Skip to content

v0.0.1-beta.24

Choose a tag to compare

@nazli-stripe nazli-stripe released this 01 Apr 18:26
· 98 commits to main since this release
9f52d56
  • iOS and Android native SDKs are upgraded to 4.1.0.
  • 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.
  • 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, and connectHandoffReader.
  • 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

New Contributors

Full Changelog: v0.0.1-beta.23...v0.0.1-beta.24