availability

Samsung Pay is currently available to US merchants using our Android v3 SDK or Android v2 SDK.

Creating transactions

Like all Braintree SDK integrations, you will receive a payment method nonce when your user successfully authorizes payment. Pass this nonce to your server, and create a transaction:

Ruby
Copy
Copied
result = gateway.transaction.sale(
  :amount => "10.00",
  :payment_method_nonce => nonce_from_the_client,
  :options => {
    :submit_for_settlement => true
  },
  :billing => {
    :postal_code => postal_code_from_the_client
  }
)
This code snippet now uses gateway instance methods instead of class-level methods. Learn more.

The amount you specify in your client-side payment request object should reflect the actual amount you authorize and submit for settlement; transactions will still process in cases where the amount changes during order fulfillment.

Vaulting Samsung Pay

Samsung Pay cards can only be saved to your Vault for specific use cases; see the support article for details.

If your use case is supported, you can store a customer's Samsung Pay card in your Vault in a few different ways:

Next Page: Testing and Go Live →

Still have questions?

If you can’t find an answer, contact us