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 by
Support languages
en
Integration type
Core
Category
Payment & Tax
Repository
Package
Compatible with
^3.0.0
Latest version
3.1.1
Last published
Dec 17, 2024
Downloads in past month
5,253
Requirements
- You will need to create a Braintree sandbox account as outlined in https://developers.braintreepayments.com/start/overview.
- Then install
braintree
and@types/braintree
from npm. This plugin was written withv3.x
of the Braintree lib.npm install @vendure/payments-plugin braintree npm install -D @types/braintree
Setup
- 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, }), ]
- Create a new PaymentMethod in the Admin UI, and select “Braintree payments” as the handler.
- Fill in the
Merchant ID
,Public Key
&Private Key
from your Braintree sandbox account.
Complete documentation
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.
Documentation
Newsletter
Get the latest product news and announcements delivered directly to your inbox.