国际验证问题
我已经做了我所需要的一切:
<script src="//d79i1fxsrar4t.cloudfront.net/jquery.liveaddress/3.1/jquery.liveaddress.min.js"></script>
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>
然而,对美国以外的其他国家来说,验证是行不通的吗?
发布于 2016-08-04 22:52:09
经过一段时间的尝试替代配置,但仍然没有任何运气,我联系了Smartystreets.com支持小组。原来您的帐户必须是白色的,以便您测试国际API。
目前,获得测试国际API许可的唯一方法是直接与他们联系。我在他们的网站上使用了聊天,但你也可以在support@smartystreets.com给他们发电子邮件。一旦你这么做了,他们会给你发一封电子邮件,你必须“同意条款”并回复。不久后,他们将解锁国际验证为您的帐户。
https://stackoverflow.com/questions/38778517
复制相似问题