问题描述
我正在尝试将语言环境添加到 Braintree 托管字段,以便我获得西班牙语的挑战窗口。 我尝试将其添加到托管字段中,如下所示。
window.braintree.hostedFields.create({
authorization: clientToken,locale: 'es_ES',})
但我仍然收到英文挑战窗口。
解决方法
质询窗口位于持卡人发卡行 hosted 的 iframe 中,他们的银行决定了要显示的语言。这完全不受 Drop-In SDK 的控制。
在沙盒中,测试卡挑战窗口归 Braintree 的 MPI 提供商 CardinalCommerce 所有,并且也不能更改。