Introduction
Agreement
Authentication
Gateway
Hosted Checkout
Session
Standalone Risk Assessment
Tokenization
Transaction
Wallet
RESOURCES
Changelog
Session
setLocale()
setLocale()
Allows you to set the language for the payment page in a hosted session. When you change the language from the dropdown it will update the locale and call POI if the card number is present.
Usage
PaymentSession.setLocale('en_US', [scope])
Example
PaymentSession.setLocale('en_US', [scope]);
Arguments
language
String
Specifies the configuration for the Hosted Session interaction.
scope
String
The optional named instance of a card payment data set within a session. See Multiple Hosted Sessions for more information.
Return Value
None