Skip to content

mangoweb-sylius/SyliusBraintreePlugin

 
 

Repository files navigation

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 [email protected] 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/.

About

Sylius Braintree payment gateway integration.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 88.2%
  • HTML 4.8%
  • Gherkin 4.8%
  • JavaScript 2.2%