Introducing our brand new Rules Engine —
Read the docs
LogoLogo
Core APIOther APIsChangelog
How-tos
How-tos
  • Introduction
  • Product discovery
    • Product listing page
    • Product page
  • Placing orders
    • Shopping cart
      • Creating a shopping cart
      • Adding products to cart
      • Updating cart quantities
      • Removing products from cart
      • Displaying the cart summary
    • Checkout
      • Adding the customer
      • Adding a billing address
      • Adding a shipping address
      • Selecting a shipping method
      • Selecting a payment method
      • Adding a payment source
      • Adding a gift card or coupon
      • Placing the order
    • Subscriptions
      • Configuring a subscription model
      • Selecting the source order
      • Generating the subscriptions
      • Updating the subscriptions
    • Payments
      • Adyen
        • Adding the payment source
        • Sending back the payment details
        • Configuring the notification webhooks
        • Reusing the payment source
      • Axerve
        • Adding the payment source
        • Updating the payment intent
      • Braintree
        • Adding the payment source
        • Sending back the payment method nonce
        • Accepting local payments
        • Reusing the payment source
      • Checkout.com
        • Adding the payment source
        • Getting the payment details
        • Refreshing pending transactions
        • Reusing the payment source
      • Klarna
        • Adding the payment source
        • Sending back the authorization token
        • Reusing the payment source
      • PayPal
        • Adding the payment source
        • Preparing the payment for execution
      • Stripe
        • Adding the payment source
        • Refreshing the payment source
        • Reusing the payment source
      • Manual payments
        • Adding a wire transfer payment source
      • External payments
        • Adding the payment source
        • Reusing the payment source
    • Auto-capture
      • Enabling the auto-capture
      • Limiting the auto-capture amount
  • inventory
    • Inventory strategies
      • No split
      • Split shipments
      • Split by line items
      • Ship from first available (or primary)
      • Ship from primary
  • FAQ
    • Environments and initial setup
    • Authentication and access tokens
On this page
  1. Placing orders
  2. Payments

Braintree

How to pay for an order using Braintree payment gateway

PreviousUpdating the payment intentNextAdding the payment source

Last updated 2 years ago

is a full-stack payments platform that makes it easy to accept payments in your app or website. It is available for merchants in the United States, Canada, Australia, Europe, Singapore, Hong Kong SAR China, Malaysia, and New Zealand. Merchants can use Braintree to accept PayPal, Apple Pay, Google Pay, Venmo, and most credit and debit cards, including Visa, Mastercard, American Express, Discover, JCB, and Diner’s Club.

Commerce Layer provides out-of-the-box server-side integration with Braintree. This section will walk you through the different steps you need to follow in order to let your customers process their payments using the Braintree payment gateway on our platform.

For any additional info about the client-side part of the integration, SDKs, and libraries please refer to .

Braintree
Braintree official developer documentation