Image 1 of 1

Braintree Payments

Product information

By Vendure Open Source

This plugin enables payments to be processed by Braintree, a popular payment provider which supports card payment, PayPal, Apple Pay and more

npm install @vendure/payments-plugin
Support languages
en
Integration type
Core
Category
Payment
Compatible with
^2.0.0
Latest version
2.2.7
Last published
Jun 27, 2024
Downloads in past month
6,617

Requirements

  1. You will need to create a Braintree sandbox account as outlined in https://developers.braintreepayments.com/start/overview.
  2. Then install braintree and @types/braintree from npm. This plugin was written with v3.x of the Braintree lib.
    npm install @vendure/payments-plugin braintree
    npm install -D @types/braintree
    

Setup

  1. Add the plugin to your VendureConfig plugins array:
    import { BraintreePlugin } from '\@vendure/payments-plugin/package/braintree';
    import { Environment } from 'braintree';
    
    // ...
    
    plugins: [
      BraintreePlugin.init({
        environment: Environment.Sandbox,
        // This allows saving customer payment
        // methods with Braintree (see "vaulting"
        // section below for details)
        storeCustomersInBraintree: true,
      }),
    ]
    
  2. Create a new PaymentMethod in the Admin UI, and select “Braintree payments” as the handler.
  3. Fill in the Merchant ID, Public Key & Private Key from your Braintree sandbox account.

Complete documentation

See the BraintreePlugin docs for full documentation

Vendure
Get started

Create your first commerce experience with Vendure in less than 2 minutes

Vendure is a registered trademark. Our trademark policy ensures that our brand and products are protected. Feel free to reach out if you have any questions about our trademarks.

Newsletter

Get the latest product news and announcements delivered directly to your inbox.

© Copyright 2022 - 2024, Vendure GmbH. All rights reserved.