github stripe/stripe-terminal-ios 5.2.0

8 hours ago

New

  • Added support for tip-eligibility on WisePad 3 devices, allowing configuration of the portion of a transaction amount on which tips are calculated.

  • Added SCPErrorConfirmInvalidSetupIntent error code to properly identify invalid SetupIntent confirmation attempts.

  • Added support for collecting surcharges on M2 devices.

  • Added Tap to Pay support for QR-based non‑card payments. TapToPayReaderDelegate has two new callbacks you must implement to enable this:

    • tapToPayReader:didRequestPaymentMethodSelection:availablePaymentOptions:completion to allow your application to choose the payment method type the customer wants.
    • tapToPayReader:didRequestQrCodeDisplay:qrData:completion: to display the QR code.
    • To request access to this feature, please contact Stripe Support.

Updates

  • When connecting to a Tap to Pay on iPhone reader, the SDK now validates device compatibility before making any API calls. Incompatible devices will return an error consistent with supportsReadersOfType.
  • Improved Tap to Pay error handling on the connectReader function. If the app is backgrounded during an Apple proximity reader update, the connection failure is now returned when the app returns to the foreground, rather than being returned immediately.

Fixes

  • Fixes an issue where the Tap to Pay reader reconnection fails when the app comes to the foreground, caused by an internal race condition.

Don't miss a new stripe-terminal-ios release

NewReleases is sending notifications on new releases.