New
-
For Apple Pay:
- You can now validate payment details, such as the billing address, before the payment is submitted. To do this, set the
authorizationDelegateproperty on yourApplePayComponentinstance, and implement thedidAuthorize(payment:completion:)method in the newApplePayAuthorizationDelegateprotocol. - You can now choose to have the Apple Pay sheet dismiss automatically after the payment flow finishes. Set the new
dismissesAutomaticallyconfiguration property to true to enable this.
- You can now validate payment details, such as the billing address, before the payment is submitted. To do this, set the
-
The
sdkDataproperty in thePaymentMethodDetailsprotocol. For Advanced flow: it is highly recommended you include it in your/paymentsrequest, located underpaymentComponentData.paymentMethod.sdkData
Changed
- Updated 3D Secure 2 SDK to version 2.4.4
Deprecated
- In the
PaymentComponentDataobject:checkoutAttemptIdsupportNativeRedirect
- In the
CardDetailsobject:threeDS2SDKVersion
Use the new sdkData property instead, located under paymentComponentData.paymentMethod.sdkData.