國際驗證不適用於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 联系我们: