Skip to content

5.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 25 Jul 23:17
· 282 commits to refs/heads/master since this release
708d120

What's Changed

🚀 Features

  • Localisation for EU (France, Italy, Spain) as well as fr-CA (#207)

Breaking Changes

The following table displays the device languages that Afterpay will display for depending on merchant region.

Merchant Country Client languages that Afterpay is available for
Australia English
Canada English, French
France French, English
Italy Italian, English
New Zealand English
Spain Spanish, English
United Kingdom English
United States English

This is to ensure that the consumer understands the terms of use.

If the device language is not one of the available languages, then the visibility of any views (button, price breakdown etc) will be hidden using view.isHidden = true and the checkout will not launch. Since using isHidden can result in extra white-space, a property has been made available (Afterpay.enabled). This can be used to add or remove the applicable views from the app. See the note under views for more information.

Views and functionality where the device language matches an approved language for the merchant account are unaffected by this change.