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
OPTIONAL
Specifies the configuration for the Hosted Session interaction.
scope
String
OPTIONAL
The optional named instance of a card payment data set within a session. See Multiple Hosted Sessions for more information.
Return Value
None