国际验证不适用于smartystreets插件

[英]International Validation is not working with smartystreets plugin


SmartyStreets Plugin

International Validation Woes

I have done everything the walk through requires:

我完成了所需的一切:

  1. Included the Plugin
  2. 包含插件

<script src="//d79i1fxsrar4t.cloudfront.net/jquery.liveaddress/3.1/jquery.liveaddress.min.js"></script>

  1. Configured Plugin Settings
  2. 配置的插件设置

var ss = jQuery.LiveAddress({
    key: '******',
    waitForStreet: true, 
    debug: true,
    target: "US|International",
    addresses: [{
      address1: "#line1",
      address2: "#line2",
      locality: "#city",
      administrative_area: "#state",
      postal_code: "#zip",
      country: "#country"
    }]
});
<form>
    <input type="text" id="country" name="country" placeholder="country"><br>
    <input type="text" id="line1" name="line1" placeholder="line1"><br>
    <input type="text" id="line2" name="line2" placeholder="line2"><br>
    <input type="text" id="city" name="city" placeholder="city"><br>
    <input type="text" id="state" name="state" placeholder="state"><br>
    <input type="text" id="zip" name="ZIP" placeholder="ZIP"><br>
</form>

Still however, validation will not work for other countries outside the US?

但是,验证对美国以外的其他国家不起作用吗?

1 个解决方案

#1


0  

After some time trying alternative configurations and still not having any luck, I contacted the Smartystreets.com support team. It turns out your account must be whitelisted in order for you to test out the International API.

经过一段时间尝试其他配置但仍然没有运气,我联系了Smartystreets.com支持团队。事实证明,您的帐户必须列入白名单才能测试国际API。

Currently, the only way to get permission to test out International API is to contact them directly. I used the chat on their site, but you can also email them at support@smartystreets.com. Once you do, they will send you an email that you have to 'Agree to Terms' and reply back to. Shortly after they will unlock International Validation for your account.

目前,获得测试国际API许可的唯一方法是直接与他们联系。我在他们的网站上使用了聊天,但您也可以发送电子邮件至support@smartystreets.com。完成后,他们会向您发送一封电子邮件,您必须“同意条款”并回复。他们将为您的帐户解锁国际验证后不久。


注意!

本站翻译的文章,版权归属于本站,未经许可禁止转摘,转摘请注明本文地址:https://www.itdaan.com/blog/2016/08/04/c040664a59c792082c159d8f5523505.html



 
  © 2014-2022 ITdaan.com 联系我们: