Lesha Pipiev
Lesha Pipiev

Reputation: 3333

$1 credit card verification for Braintree

guys.
I'm using Braintree for site payments.
Trying to provide $1 credit card verification.
I have found in guide the piece of code.

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

Is this $1 dollar verification with verify_card parameter?

Thanks a lot.
Best regards.

Upvotes: 1

Views: 679

Answers (1)

cooljake
cooljake

Reputation: 696

Full disclosure: I work at Braintree. If you have any further questions, feel free to contact support.

You can enable card verification for all transactions in your control panel, or enable it on a specific operation, like you're doing here, by passing the "verify_card" option. With either method the process for verifying a card is the same and includes $1 verifications where needed:

The gateway will first attempt a $0 verification, regardless of bank or processor. In the event that a bank doesn't accept a $0 verification, they'll normally respond with a message prompting Braintree to attempt a $1 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 $0 verifications, which you can enable in the control panel.

Upvotes: 2

Related Questions