mahocommerce / module-braintree
Braintree payment integration for Maho Commerce
Package info
github.com/MahoCommerce/module-braintree
Type:maho-module
pkg:composer/mahocommerce/module-braintree
Requires
README
A comprehensive Braintree payment integration for Maho Commerce, supporting multiple payment methods including Credit Card, PayPal, Apple Pay, and Google Pay.
Requirements
- Maho Commerce 25.11+
- PHP 8.3+
- Braintree merchant account
Installation
composer require mahocommerce/module-braintree
Features
Payment Methods
- Credit Card - Direct credit card payments with hosted fields integration
- PayPal - PayPal checkout via Braintree
- Apple Pay - Apple Pay for supported devices
- Google Pay - Google Pay integration
Additional Features
- 3D Secure - Support for 3D Secure authentication
- Vault - Save payment methods for returning customers
- Express Checkout - PayPal and Apple Pay buttons on product and cart pages
- Multi-currency - Support for multiple currencies with merchant account mapping
- Kount Integration - Advanced fraud protection via Kount
- Admin Orders - Create orders with Braintree payments from the admin panel
- Multishipping - Support for multishipping checkout
Configuration
-
Navigate to System > Configuration > Payment Methods
-
Configure Braintree Settings with your API credentials:
- Environment (Sandbox/Production)
- Merchant ID
- Public Key
- Private Key
- Merchant Account ID
-
Enable and configure individual payment methods:
- Credit Card (Braintree)
- PayPal (Braintree)
- Apple Pay (Braintree)
- Google Pay (Braintree)
Checkout Compatibility
All frontend JavaScript has been converted from Prototype.js to vanilla JS for full Maho Commerce compatibility. Integration templates exist for several third-party checkout modules (Aheadworks, Magestore, iDev OneStepCheckout, FancyCheckout, FireCheckout, IWD, Unicode, Oye, FME, AwesomeCheckout), however only Maho's default checkout (multistep and onestep) is officially supported going forward.
Supported Card Types
- Visa
- MasterCard
- American Express
- Discover
- JCB
- Maestro
Credits
Originally developed by Gene Commerce, then maintained by Justin Beaty, then by SportPursuit, now adapted for Maho.