Changes
- CustomerSession is now generally available. The
customerSessionClientSecretparameter is no longer experimental. - ConfirmationTokens are now generally available. The
confirmationTokenConfirmHandlerparameter andConfirmationToken.Resulttype are no longer experimental. - [Added] Added support for
CustomerSessionto CustomerSheet. The CustomerSession object grants the SDK temporary access to the Customer and provides additional configuration options. These configuration options allow you to customize the behavior of CustomerSheet. A complete list of features exposed on the CustomerSession are in our API docs.
- [Added] Added support for
onBehalfOfto CustomerSheet.IntentConfiguration. This parameter makes CustomerSheet use a connected account to determine the payment method that users see and whether CardBrandChoice is enabled. For more information, see the SetupIntent docs.
Fixes
- Fixed Android crash
IllegalStateException: State must be at least CREATED to move to DESTROYEDwhen removing payment methods in EmbeddedPaymentElement. The crash occurred when views were destroyed before completing the lifecycle initialization.
Please see the changelog for additional details.