- Square Version:
2021-09-15
2021-09-15 Changelog
The Web Payments SDK has been updated for performance, bug fixes, and support for locales.
payments.setLocale()
now supports these locale/languages:- 'en-IE'
- 'en-CA'
- 'en-GB'
- 'en-AU'
- 'fr-CA'
- 'es-US'
UI prompts now render in a language/region appropriate way. For example, an English language postal code prompt would render as "Enter a valid postal code", "Enter a valid postcode", or "Enter a valid zip code" depending on the region set.
GiftCard payment method - input event types and descriptions: There are now GiftCard payment method-specific input events
Fixed card payment entry display issues on older versions of Firefox and Safari.
Add
fr-FR
andes-ES
as supported languages. Added support for the French language in France and the Spanish language in Spain.Memoized
Square.payments
: Calling window.Square.payments() multiple times results in better performance by insuring that the samePayments
instance is always returned for subsequent calls.