0

I am trying to add locale to the Braintree hosted fields so that I get the challenge window on spanish. I tried adding it to the hostedFields as shown below.

window.braintree.hostedFields.create({
      authorization: clientToken,
      locale: 'es_ES',
})

But I am still getting the challenge window in english.

enter image description here

Roopak Puthenveettil
  • 1,387
  • 2
  • 13
  • 27

1 Answers1

1

The challenge window is in an iframe that's hosted by the cardholder's issuing bank, their bank determines the language to be displayed. It's entirely out of the Drop-In SDK's control.

In sandbox, test card challenge windows are owned by Braintree's MPI provider, CardinalCommerce, and also cannot be altered.

hollabaq
  • 597
  • 3
  • 13