This plugin enables payments to be processed by Braintree, a popular payment provider which supports card payment, PayPal, Apple Pay and more
Integration type
Category
Repository
Package
Last published
Downloads in past month
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
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,
}),
]
Merchant ID
, Public Key
& Private Key
from your Braintree sandbox account.