4.2.0 2024-02-14
- Built with Xcode 16.0 Swift version 6.0.
- New: Added
collectionReason
toSCPSetupIntentConfiguration
.- This field can only be changed for Tap To Pay readers. The default value is saveCard.
- Added a new
Terminal.stringFromError
method to convert anSCPError
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
, andcollectRefund
. This validation was already being enforced byconfirmPaymentIntent
,confirmSetupIntent
, andconfirmRefund
, 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.