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.
PaymentSession.setLocale('en_US', [scope])
Specifies the configuration for the Hosted Session interaction.
The optional named instance of a card payment data set within a session. See Multiple Hosted Sessions for more information.
None