【问题标题】:Check if inputted zip-code match credit-card's zip code检查输入的邮政编码是否与信用卡的邮政编码匹配
【发布时间】:2015-08-06 20:08:20
【问题描述】:

我正在编写一个网络表单,让用户输入他们的邮政编码和信用卡号,然后检查他们输入的邮政编码是否与卡信息中存储的邮政编码匹配。我不认为我可以在 authorize.net api 上推送卡号,他们会让我得到信息。

但是如果我同时推送号码和邮政编码,是否可以让他们告诉我邮政编码是否匹配?

【问题讨论】:

标签: php credit-card authorize.net


【解决方案1】:

这不能手动完成,因为您无法获得银行访问权限。但是this 可能会有所帮助:)

【讨论】:

    【解决方案2】:

    您不能以编程方式执行此操作,因为该信息只能从发卡银行验证。所以要做到这一点,你需要使用Address Verification System (AVS)。

    为此,您必须运行 $0.00 AUTH_ONLY 交易,或者如果处理银行不支持运行 $0.01 AUTH_ONLY 然后 VOID 撤消该交易。然后,您将收到一个 AVS 结果,如果提供的值正确,您可以使用该结果。 (您还可以正常处理您的AUTH_CAPTURE 事务,然后在响应失败时处理VOID 事务。

    这些是可能的响应值:

    B    Address information was not submitted in the transaction information, so AVS check could not be performed
    E    The AVS data provided is invalid, or AVS is not allowed for the card type submitted
    R    AVS was unavailable at the time the transaction was processed. Retry transaction
    G    The credit card issuing bank is of non-U.S. origin and does not support AVS
    U    Address information is not available for the customer's credit card
    S    The U.S. card issuing bank does not support AVS
    N    Neither the street address nor the 5-digit ZIP code matches the address and ZIP code on file for the card
    A    The street address matches, but the 5-digit ZIP code does not
    Z    The first 5 digits of the ZIP code matches, but the street address does not match
    W    The 9-digit ZIP code matches, but the street address does not match
    Y    The street address and the first 5 digits of the ZIP code match perfectly
    

    请注意,AVS 通常仅在美国有效。

    此外,AVS 响应失败意味着信用卡被盗或交易是欺诈性的。这只是意味着用户输入的邮政编码与信用卡账单地址上的邮政编码不同。许多人的家庭地址与帐单地址不同,通常输入他们家的邮编而不是卡的帐单地址。 建议您根据失败的 AVS 响应拒绝交易。它应该是您使用的几个工具之一,其中包括 CVV 和其他工具。

    【讨论】:

      猜你喜欢
      • 2015-01-22
      • 2011-04-11
      • 2014-08-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-01-10
      • 1970-01-01
      相关资源
      最近更新 更多