github Adyen/adyen-web v4.0.0
4.0.0

latest releases: v6.5.1, v6.5.0, v6.4.0...
3 years ago

Breaking changes

  • The origin key is no longer supported. If you haven't already, switch to using the client key for client-side authentication.
  • Drop-in now only accepts props related to itself.
  • Configuration at the component level overrides all other configuration.
  • We removed some deprecated props.
  • You must now configure aria labels using translation fields.

Have a look at the Adyen Web 4.0.0 migration guide for more detailed explanations of the breaking changes.

New

  • For NPM installations, we now also release ES and CJS format bundles. This is in addition to the UMD format bundle released with previous versions.
  • You can now configure action components by action type inside paymentMethodsConfiguration.

Improvements

  • The onChange event now also returns error and validation information. The state.valid object returns a boolean for each field, and state.errors can be used to log the state of your form. You should only use the onError event for non-validaton errors, for example network errors.
  • Drop-down menus now have search functionality which filters results as you type. This applies, for example, for the list of issuers for iDEAL payments, or the lists of countries, states, or provinces for payment methods that require these.
  • If an issuing bank is offline, it appears greyed out to the shopper and they cannot select it from the dropdown menu. This applies, for example, to Dotpay.

Required API version

Adyen Web 4.0.0 requires API v67 or later.

Full release notes: https://docs.adyen.com/online-payments/release-notes#web-components-4-0-0

Don't miss a new adyen-web release

NewReleases is sending notifications on new releases.