PHPackages                             gene/module-braintree - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. gene/module-braintree

ActiveMagento2-module[Payment Processing](/categories/payments)

gene/module-braintree
=====================

Fork from the Magento Braintree 2.2.0 module by Gene Commerce for PayPal.

4.0.10(1y ago)35322.3k67[17 PRs](https://github.com/genecommerce/module-braintree-magento2/pulls)1proprietaryPHPPHP &gt;=7.3.0

Since Feb 9Pushed 1y ago12 watchersCompare

[ Source](https://github.com/genecommerce/module-braintree-magento2)[ Packagist](https://packagist.org/packages/gene/module-braintree)[ RSS](/packages/gene-module-braintree/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (16)Versions (182)Used By (1)

Braintree Payments
==================

[](#braintree-payments)

Module Magento\\Braintree implements integration with the Braintree payment system.

Overview
--------

[](#overview)

This module overwrites the original Magento Braintree module, to provide additional features and bug fixes.

Available Payment Methods
-------------------------

[](#available-payment-methods)

- Credit Card
    - Visa
    - Mastercard
    - Amex
    - Discover
    - JCB
    - Diners
    - Maestro
    - Restrictions apply.
- PayPal
- PayPal Credit
    - US and UK only. Restrictions apply.
- Google Pay
- Apple Pay
- Venmo (US only)
- ACH Direct Debit (US only)

Additional Features
-------------------

[](#additional-features)

### M1 to M2 Stored Card migration tool

[](#m1-to-m2-stored-card-migration-tool)

If you are looking to migrate to M2 and want to offer the best experience for existing customers by migrating their stored credit cards, this is now possible with the new console command.

To use the new command, ensure that

- Your M1 database is online and accessible
- Your M2 store is in Braintree Production mode
- You have already migrated the customers from M1 to M2

Run the following command on your M2 server

`bin/magento braintree:migrate --host= --dbname=`

You will be prompted for the DB Username and Password and after that, the tool will query your M1 DB, find any stored cards and locate them in your Braintree account (this is why you must run it with Braintree in Production mode). Any matching records that are found are then queried in your M2 database, and the card details\* are stored for that customer.

\* Credit Card information is stored by way of a token that matches a Vault record in Braintree. No sensitive card data is ever exposed. ### Custom Fields

[](#custom-fields)

If you would like to add [Custom Fields](https://articles.braintreepayments.com/control-panel/custom-fields) to your Braintree transactions, we provide an example module [here](https://github.com/genecommerce/module-braintree-customfields-example)that can be used to create a custom module for your store to add these fields.

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance42

Moderate activity, may be stable

Popularity44

Moderate usage in the ecosystem

Community31

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 69.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~63 days

Recently: every ~366 days

Total

41

Last Release

469d ago

Major Versions

3.4.1 → 4.0.02019-11-20

3.4.2 → 4.0.22019-12-13

3.5.0 → 4.0.52020-11-10

PHP version history (3 changes)3.2.0PHP ^7.0

4.0.0PHP &gt;=7.2.0

4.0.9PHP &gt;=7.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/112fb744acca7c0c63cf0282b4f447d8f1c1703ea1330c115eb1a135435d17ff?d=identicon)[genecommerce](/maintainers/genecommerce)

---

Top Contributors

[![kartikmaniyar](https://avatars.githubusercontent.com/u/6169097?v=4)](https://github.com/kartikmaniyar "kartikmaniyar (209 commits)")[![ladonenko](https://avatars.githubusercontent.com/u/1914626?v=4)](https://github.com/ladonenko "ladonenko (68 commits)")[![speedupmate](https://avatars.githubusercontent.com/u/623004?v=4)](https://github.com/speedupmate "speedupmate (5 commits)")[![scottnbb](https://avatars.githubusercontent.com/u/143133439?v=4)](https://github.com/scottnbb "scottnbb (3 commits)")[![nicenikoforever](https://avatars.githubusercontent.com/u/46710116?v=4)](https://github.com/nicenikoforever "nicenikoforever (2 commits)")[![igor-imaginemage](https://avatars.githubusercontent.com/u/25936073?v=4)](https://github.com/igor-imaginemage "igor-imaginemage (1 commits)")[![ihor-sviziev](https://avatars.githubusercontent.com/u/1873745?v=4)](https://github.com/ihor-sviziev "ihor-sviziev (1 commits)")[![JosephMaxwell](https://avatars.githubusercontent.com/u/1151186?v=4)](https://github.com/JosephMaxwell "JosephMaxwell (1 commits)")[![khoimm92](https://avatars.githubusercontent.com/u/6015437?v=4)](https://github.com/khoimm92 "khoimm92 (1 commits)")[![mark-gene](https://avatars.githubusercontent.com/u/44020481?v=4)](https://github.com/mark-gene "mark-gene (1 commits)")[![NathanDayFE](https://avatars.githubusercontent.com/u/68845089?v=4)](https://github.com/NathanDayFE "NathanDayFE (1 commits)")[![NathMorgan](https://avatars.githubusercontent.com/u/2357923?v=4)](https://github.com/NathMorgan "NathMorgan (1 commits)")[![pykettk](https://avatars.githubusercontent.com/u/40261741?v=4)](https://github.com/pykettk "pykettk (1 commits)")[![shilpsauce](https://avatars.githubusercontent.com/u/5776197?v=4)](https://github.com/shilpsauce "shilpsauce (1 commits)")[![brandonifi](https://avatars.githubusercontent.com/u/214878408?v=4)](https://github.com/brandonifi "brandonifi (1 commits)")[![Thundar](https://avatars.githubusercontent.com/u/2631899?v=4)](https://github.com/Thundar "Thundar (1 commits)")[![brightonmike](https://avatars.githubusercontent.com/u/2071150?v=4)](https://github.com/brightonmike "brightonmike (1 commits)")[![diazwatson](https://avatars.githubusercontent.com/u/1080386?v=4)](https://github.com/diazwatson "diazwatson (1 commits)")[![edward-simpson](https://avatars.githubusercontent.com/u/26060776?v=4)](https://github.com/edward-simpson "edward-simpson (1 commits)")[![HenKun](https://avatars.githubusercontent.com/u/18382633?v=4)](https://github.com/HenKun "HenKun (1 commits)")

---

Tags

braintreebraintree-payments-plugincomposer-packagemagentomagento2magento2-extensionmagento2-extension-freemagento2-modulephp7

### Embed Badge

![Health badge](/badges/gene-module-braintree/health.svg)

```
[![Health](https://phpackages.com/badges/gene-module-braintree/health.svg)](https://phpackages.com/packages/gene-module-braintree)
```

###  Alternatives

[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50374.2k18](/packages/dotdigital-dotdigital-magento2-extension)[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[pagbank/payment-magento

PagBank - Payment for Magento and Adobe

2128.3k7](/packages/pagbank-payment-magento)[amzn/amazon-pay-magento-2-module

Official Magento2 Plugin to integrate with Amazon Pay

109501.7k1](/packages/amzn-amazon-pay-magento-2-module)[buckaroo/magento2

Buckaroo Magento 2 extension

32404.0k6](/packages/buckaroo-magento2)[o2ti/sigep-web-carrier

O2TI - Sigep Web Carrier

141.5k](/packages/o2ti-sigep-web-carrier)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
