availability

Visa Checkout is currently in a limited release to eligible merchants, and the API is subject to change. It is only available for Android v2, iOS v4, and JavaScript v3.

Contact our Accounts team to request access to the release.

Vaulting Visa Checkout

Your customer's Visa Checkout card selection can be saved to your Vault and reused for future transactions, just like a credit card:

Ruby
Copy
Copied
result = gateway.payment_method.create(
  :customer_id => "131866",
  :payment_method_nonce => nonce_from_the_client
)
This code snippet now uses gateway instance methods instead of class-level methods. Learn more.

You can also save the customer's Visa Checkout card to your Vault at the same time as your transaction by using Transaction.sale() with options.store_in_vault or options.store_in_vault_on_success.

Creating transactions

Creating a Visa Checkout transaction is the same as creating any other transaction with a nonce:

Ruby
Copy
Copied
result = gateway.transaction.sale(
  :amount => "10.00",
  :payment_method_nonce => nonce_from_the_client,
  :options => {
    :submit_for_settlement => true
  }
)

if result.success?
  # See result.transaction for details
else
  # Handle errors
end
This code snippet now uses gateway instance methods instead of class-level methods. Learn more.

Next Page: Testing and Go Live →

Still have questions?

If you can’t find an answer, contact our Support team