2.21.1 | 2024-04-19
🪲 Bug Fixes
iOS:
Previously on iOS, the SDK was sending an unexpected type for the paymentMethodType
in the IPrimerCheckoutPaymentMethodData
interface. To rectify this, we have added a new paymentMethod
field of type String
which should be used going forward. The paymentMethodType
field has been deprecated.
Android:
The paymentMethodType
field of the IPrimerCheckoutPaymentMethodData
interface has been deprecated in favour of paymentMethod
.
2.21.0 | 2024-04-12
🚀 New Features
- Recapture the CVV of Saved Cards: In compliance with PCI standards, we've introduced a feature to recapture the CVV for saved cards to potentially increase the success rate of card-on-file transactions. This feature is particularly beneficial as some processors or issuers may have lower authorization rates for transactions without a CVV.
- Android - Google Pay: By default, Google Pay is presented to the user regardless of whether they have a supported card in their wallet. You can now automatically hide Google Pay if the user’s wallet does not contain a supported card by settingÂ
existingPaymentMethodRequired
 to true. Check our guide on how to enable this feature.
- Android - PayPal: We have improved the PayPal payment method token by providing additional data, including the payer’s first name, last name, and external payer ID.
✨ Improvements
- Checkout Experience Enhancements:
- Enhanced immediacy of the loading spinner in the drop-in checkout process for a smoother user experience.
- Local card network identification has been made faster and more efficient.
- Client Session API: TheÂ
orderedAllowedCardNetworks
 option has been introduced, allowing for the specification of supported card networks. This feature enhances network detection and validation for card payments and Apple Pay.
- iOS - 3DS SDK Upgrade: Compatibility has been extended to version 2.3.0 or higher of the Primer 3DS SDK.
- iOS - Version Requirement: The minimum supported iOS version has been raised to 13.0, ensuring our SDK aligns with the latest iOS standards for improved app performance.
- iOS - Validation Error Handling: For card payments, the SDK now intelligently handles validation errors by only sending events when there's a change in a field's validation state. This optimization is specifically for card payments via headless checkout.
- iOS - Primer3DS SDK Version 2.2.0: The SDK has been upgraded to the latest version, ensuring access to state-of-the-art security features and an enhanced user experience.