Skip to content

5.5.0

Choose a tag to compare

@goergisn goergisn released this 11 Dec 09:40
99cb084

New

  • When you offer installment payments, you can now show the number of installments and the amount of each installment in the picker. For example, 3x $20.

    • For Sessions flow, when you make a /sessions request, include showInstallmentAmount:
      true and installmentOptions.
      We use these values to show installment options in the picker.
    • For Advanced flow, in the InstallmentConfiguration object, set showInstallmentAmount to true when you initialize it.
  • Support for library evolution

Changed

For cards, the address lookup feature now supports a 2-step lookup process (for example, used by the Google Maps API):

  • First, it allows providing suggested addresses (that might be incomplete)
  • Then, optionally, it allows making another API request to complete the suggestions.

You must change the callback as follows:

5.4.1 or earlier 5.5.0
.lookup(LookupProvider) .lookup(AddressLookupProvider)

Fixed

  • When the shopper's phone number is included in the shopperInformation object, the pre-filled phone number prefix on the payment form automatically updates to match the correct country code.

  • Drop-in now updates the payment method list after the shopper applies a gift card, in case the available payment methods change because of the updated payment amount.

  • When you define custom localizations in your app bundle using Localizable.strings, they are now applied correctly.

  • The Bizum payment method is no longer shown as an available payment method.