布伦特里的 1 美元信用卡验证

$1 credit card verification for Braintree

伙计们。
我正在使用 Braintree 进行网站付款。
正在尝试提供 1 美元的信用卡验证。
我在指南中找到了这段代码。

result = Braintree::Customer.create(
  :first_name => "Fred",
  :last_name => "Jones",
  :credit_card => {
    :payment_method_nonce => nonce_from_the_client,
    :options => {
      :verify_card => true
    }
  }
)

这个 $1 美元验证是否带有 verify_card 参数?

非常感谢。
最好的问候。

完全披露:我在 Braintree 工作。如果您有任何其他问题,请随时联系 support.

您可以在控制面板中为所有交易启用卡验证,或者通过传递 "verify_card" 选项在特定操作中启用它,就像您在此处所做的那样。使用任一方法 the process for verifying a card is the same 并在需要时包括 $1 验证:

The gateway will first attempt a [=10=] verification, regardless of bank or processor. In the event that a bank doesn't accept a [=10=] verification, they'll normally respond with a message prompting Braintree to attempt a verification instead, which Braintree will do automatically upon receiving the message. Even if the bank does not send this message, Braintree gives you the option to retry all failed [=10=] verifications, which you can enable in the control panel.