我想根据用户区域设置显示贝宝登录页面。我怎样才能做到这一点?我添加了 localeCode 属性,但它不起作用。请仔细阅读我的代码,如果我错了,请纠正我
<form:form commandName="paymentForm" id="paymentForm" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" name="paypal">
<form:input path="cmd" id="cmd" name="cmd" type="hidden" />
<form:input path="business" id="business" name="business" type="hidden" />
<form:input path="password" id="password" name="password" type="hidden" />
<form:input path="custom" id="custom" name="custom" type="hidden" />
<form:input path="item_name" id="item_name" name="item_name" type="hidden" />
<form:input path="amount" id="amount" name="amount" type="hidden" />
<form:input path="currency_code" id="currency_code" type="hidden"/>
<form:input path="rm" id="rm" name="rm" type="hidden" />
<%-- <form:input path="returnUrl" id="return" name="return" type="hidden" /> --%>
<input type="hidden" name="return" value="${paymentForm.returnUrl}" />
<form:input type="hidden" name="paymentaction" path="paymentaction"/>
<form:input type="hidden" name="cancel_return" path="cancel_return" />
<form:input type="hidden" name="cert_id" path="certId" />
<input type="hidden" name="LOCALECODE" value="en_US" />
</form:form>