github stripe/stripe-terminal-ios 4.2.0

8 days ago

4.2.0 2024-02-14

  • Built with Xcode 16.0 Swift version 6.0.
  • New: Added collectionReason to SCPSetupIntentConfiguration.
    • This field can only be changed for Tap To Pay readers. The default value is saveCard.
  • Added a new Terminal.stringFromError method to convert an SCPError to a non-localized string of the enum values name.
  • Update: updatePaymentIntent is now supported when offline mode is enabled.
  • Update: Validation of location services has been added to Tap to Pay and mobile readers during collectPaymentMethod, collectSetupIntent, and collectRefund. This validation was already being enforced by confirmPaymentIntent, confirmSetupIntent, and confirmRefund, and is now extended to return the error earlier in the payment process.
  • Update: Added support for operating offline with simulated Bluetooth and Internet readers.
  • Fix: Resolved a rare deadlock crash during the Bluetooth scan discovery process.
  • Fix: Prevented a minor memory leak each time the SDK connects to a reader.

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

NewReleases is sending notifications on new releases.