Skip to content
Sylius Braintree payment gateway integration.
PHP HTML Gherkin JavaScript
Branch: master
Clone or download
Latest commit 8840261 Aug 10, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github [WIP] Nov 4, 2018
doc Add logo Dec 20, 2018
etc/build
features [WIP] Nov 4, 2018
spec/PaymentProcessing [WIP] Nov 4, 2018
src Fix Nov 4, 2018
tests
.gitignore
.scrutinizer.yml Add scrutinizer Dec 20, 2018
.travis.yml [WIP] Nov 4, 2018
LICENSE Create LICENSE Feb 7, 2019
README.md Update README.md Jun 25, 2019
UPGRADE-1.3.md first commit Nov 1, 2018
behat.yml.dist first commit Nov 1, 2018
composer.json Update composer.json Aug 10, 2019
easy-coding-standard.yml
node_modules first commit Nov 1, 2018
phpspec.yml.dist first commit Nov 1, 2018
phpstan.neon first commit Nov 1, 2018
phpunit.xml.dist [WIP] Nov 4, 2018

README.md


Overview

This plugin allows you to integrate Braintree payment with Sylius platform app. It includes all Sylius and Braintree payment features, including refunding orders.

Support

You can order our support on this page.

We work on amazing eCommerce projects on top of Sylius and Pimcore. Need some help or additional resources for a project? Write us an email on mikolaj.krol@bitbag.pl or visit our website! 🚀

Demo

We created a demo app with some useful use-cases of the plugin! Visit demo.bitbag.shop to take a look at it. The admin can be accessed under demo.bitbag.shop/admin link and sylius: sylius credentials.

Installation

$ composer require bitbag/braintree-plugin 

Add plugin dependencies to your AppKernel.php file:

$bundles = [
   new \BitBag\SyliusBraintreePlugin\BitBagSyliusBraintreePlugin(),
];

Import configuration:

imports:
    ...
    
    - { resource: "@BitBagSyliusBraintreePlugin/Resources/config/config.yml" }

Customization

Available services you can decorate and forms you can extend

Run the below command to see what Symfony services are shared with this plugin:

$ bin/console debug:container bitbag_sylius_braintree_plugin

Testing

$ composer install
$ cd tests/Application
$ yarn install
$ yarn build
$ bin/console assets:install public -e test
$ bin/console doctrine:database:create -e test
$ bin/console doctrine:schema:create -e test
$ bin/console server:run 127.0.0.1:8080 -e test
$ open http://localhost:8080
$ vendor/bin/behat
$ vendor/bin/phpspec run
$ vendor/bin/phpunit

Contribution

Learn more about our contribution workflow on http://docs.sylius.org/en/latest/contributing/.

You can’t perform that action at this time.