-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/OP-369-upgrade-plugin-to-sylius-1.…
…13-support
- Loading branch information
Showing
3 changed files
with
148 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,67 +5,80 @@ | |
|
||
[![](https://img.shields.io/packagist/l/bitbag/braintree-plugin.svg) ](https://packagist.org/packages/bitbag/braintree-plugin "License") [ ![](https://img.shields.io/packagist/v/bitbag/braintree-plugin.svg) ](https://packagist.org/packages/bitbag/braintree-plugin "Version") [ ![](https://img.shields.io/github/actions/workflow/status/BitBagCommerce/SyliusBraintreePlugin/build.yml?branch=master) ](https://github.com/BitBagCommerce/SyliusBraintreePlugin/actions "Build status") [ ![](https://img.shields.io/scrutinizer/g/BitBagCommerce/SyliusBraintreePlugin.svg) ](https://scrutinizer-ci.com/g/BitBagCommerce/SyliusBraintreePlugin "Scrutinizer") [![](https://poser.pugx.org/bitbag/braintree-plugin/downloads)](https://packagist.org/packages/bitbag/braintree-plugin "Total Downloads") [![Slack](https://img.shields.io/badge/community%20chat-slack-FF1493.svg)](http://sylius-devs.slack.com) [![Support](https://img.shields.io/badge/support-contact%20author-blue])](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_braintree) | ||
|
||
At BitBag we do believe in open source. However, we are able to do it just because of our awesome clients, who are kind enough to share some parts of our work with the community. Therefore, if you feel like there is a possibility for us to work together, feel free to reach out. You will find out more about our professional services, technologies, and contact details at [https://bitbag.io/](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_braintree). | ||
We want to impact many unique eCommerce projects and build our brand recognition worldwide, so we are heavily involved in creating open-source solutions, especially for Sylius. We have already created over **35 extensions, which have been downloaded almost 2 million times.** | ||
|
||
You can find more information about our eCommerce services and technologies on our website: https://bitbag.io/. We have also created a unique service dedicated to creating plugins: https://bitbag.io/services/sylius-plugin-development. | ||
|
||
Do you like our work? Would you like to join us? Check out the **“Career” tab:** https://bitbag.io/pl/kariera. | ||
|
||
# About Us | ||
--- | ||
|
||
BitBag is a software house that implements tailor-made eCommerce platforms with the entire infrastructure—from creating eCommerce platforms to implementing PIM and CMS systems to developing custom eCommerce applications, specialist B2B solutions, and migrations from other platforms. | ||
|
||
We actively participate in Sylius's development. We have already completed **over 150 projects**, cooperating with clients worldwide, including smaller enterprises and large international companies. We have completed projects for such important brands as **Mytheresa, Foodspring, Planeta Huerto (Carrefour Group), Albeco, Mollie, and ArtNight.** | ||
|
||
We have a 70-person team of experts: business analysts and consultants, eCommerce developers, project managers, and QA testers. | ||
|
||
**Our services:** | ||
* B2B and B2C eCommerce platform implementations | ||
* Multi-vendor marketplace platform implementations | ||
* eCommerce migrations | ||
* Sylius plugin development | ||
* Sylius consulting | ||
* Project maintenance and long-term support | ||
* PIM and CMS implementations | ||
|
||
**Some numbers from BitBag regarding Sylius:** | ||
* 70 experts on board | ||
* +150 projects delivered on top of Sylius | ||
* 30 countries of BitBag’s customers | ||
* 7 years in the Sylius ecosystem | ||
* +35 plugins created for Sylius | ||
|
||
--- | ||
[![](https://bitbag.io/wp-content/uploads/2024/09/badges-sylius.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_elasticsearch) | ||
|
||
--- | ||
|
||
Like what we do? Want to join us? Check out our job listings on our [career page](https://bitbag.io/career/?utm_source=github&utm_medium=referral&utm_campaign=career). Not familiar with Symfony & Sylius yet, but still want to start with us? Join our [academy](https://bitbag.io/pl/akademia?utm_source=github&utm_medium=url&utm_campaign=akademia)! | ||
|
||
## Table of Content | ||
--- | ||
* [Overview](#overview) | ||
* [Support](#we-are-here-to-help) | ||
* [Installation](#installation) | ||
* [Customization](#customization) | ||
* [Testing](#testing) | ||
* [About us](#about-us) | ||
* [Community](#community) | ||
* [Demo](#demo-sylius-shop) | ||
* [Customization](#customization) | ||
* [Testing](#testing) | ||
* [Functionalities](#functionalities) | ||
* [Demo](#demo) | ||
* [Additional resources for developers](#additional-resources-for-developers) | ||
* [License](#license) | ||
* [Contact](#contact) | ||
* [Contact and support](#contact-and-support) | ||
* [Community](#community) | ||
|
||
|
||
|
||
# Overview | ||
--- | ||
This plugin allows you to integrate Braintree payment with Sylius platform app. It includes all Sylius and Braintree payment features, including refunding orders. | ||
|
||
## We are here to help | ||
This **open-source plugin was developed to help the Sylius community**. If you have any additional questions, would like help with installing or configuring the plugin, or need any assistance with your Sylius project - let us know! | ||
The Braintree Plugin seamlessly integrates the Braintree payment gateway into your Sylius eCommerce platform, enabling a straightforward and secure shopping experience for your customers. As an open-source addition to the Sylius ecosystem, this plugin brings together the comprehensive features of both Sylius and Braintree, facilitating not only payment processing but also order refunds. | ||
|
||
[![](https://bitbag.io/wp-content/uploads/2020/10/button-contact.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_braintree) | ||
|
||
# Installation | ||
## Installation | ||
---- | ||
|
||
### Requirements | ||
|
||
We work on stable, supported and up-to-date versions of packages. We recommend you to do the same. | ||
|
||
| Package | Version | | ||
| --- |--------------------| | ||
| PHP | ^8.0 or ^8.1 | | ||
| sylius/sylius | ^1.12.0 or ^1.13.0 | | ||
|
||
| Package | Version | | ||
| ------------- | ------------------------- | | ||
| PHP | ^8.0 or ^8.1 | | ||
| sylius/sylius | ^1.12.0 or ^1.13.0 | | ||
| MySQL | \>= 5.7 | | ||
| NodeJS | \>= 18.x | | ||
---- | ||
|
||
```bash | ||
$ composer require bitbag/braintree-plugin | ||
``` | ||
|
||
Add plugin dependencies to your config/bundles.php file: | ||
|
||
```php | ||
return [ | ||
BitBag\SyliusBraintreePlugin\BitBagSyliusBraintreePlugin::class => ['all' => true] | ||
]; | ||
``` | ||
|
||
Import configuration: | ||
|
||
```yaml | ||
imports: | ||
... | ||
|
||
- { resource: "@BitBagSyliusBraintreePlugin/Resources/config/config.yml" } | ||
``` | ||
### Full installation guide | ||
- [See the full installation guide](doc/installation.md) | ||
|
||
## Customization | ||
---- | ||
|
@@ -92,92 +105,51 @@ $ open http://localhost:8080 | |
$ vendor/bin/behat | ||
$ vendor/bin/phpspec run | ||
``` | ||
|
||
# About us | ||
|
||
--- | ||
|
||
BitBag is a company of people who **love what they do** and do it right. We fulfill the eCommerce technology stack with **Sylius**, Shopware, Akeneo, and Pimcore for PIM, eZ Platform for CMS, and VueStorefront for PWA. Our goal is to provide real digital transformation with an agile solution that scales with the **clients’ needs**. Our main area of expertise includes eCommerce consulting and development for B2C, B2B, and Multi-vendor Marketplaces.</br> | ||
We are advisers in the first place. We start each project with a diagnosis of problems, and an analysis of the needs and **goals** that the client wants to achieve.</br> | ||
We build **unforgettable**, consistent digital customer journeys on top of the **best technologies**. Based on a detailed analysis of the goals and needs of a given organization, we create dedicated systems and applications that let businesses grow.<br> | ||
Our team is fluent in **Polish, English, German and, French**. That is why our cooperation with clients from all over the world is smooth. | ||
|
||
**Some numbers from BitBag regarding Sylius:** | ||
- 50+ **experts** including consultants, UI/UX designers, Sylius trained front-end and back-end developers, | ||
- 120+ projects **delivered** on top of Sylius, | ||
- 25+ **countries** of BitBag’s customers, | ||
- 4+ **years** in the Sylius ecosystem. | ||
|
||
**Our services:** | ||
- Business audit/Consulting in the field of **strategy** development, | ||
- Data/shop **migration**, | ||
- Headless **eCommerce**, | ||
- Personalized **software** development, | ||
- **Project** maintenance and long term support, | ||
- Technical **support**. | ||
|
||
**Key clients:** Mollie, Guave, P24, Folkstar, i-LUNCH, Elvi Project, WestCoast Gifts. | ||
**If you need some help with Sylius development, don't be hesitated to contact us directly. You can fill the form on [this site](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_braintree) or send us an e-mail at [email protected]!** | ||
|
||
--- | ||
|
||
If you need some help with Sylius development, don't be hesitated to contact us directly. You can fill the form on [this site](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_braintree) or send us an e-mail at [email protected]! | ||
|
||
# Functionalities | ||
--- | ||
|
||
[![](https://bitbag.io/wp-content/uploads/2021/08/sylius-badges-transparent-wide.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_braintree) | ||
|
||
## Community | ||
|
||
---- | ||
|
||
For online communication, we invite you to chat with us & other users on [Sylius Slack](https://sylius-devs.slack.com/). | ||
|
||
# Demo Sylius Shop | ||
All main functionalities of the plugin are described [here.](https://github.com/BitBagCommerce/SyliusBraintreePlugin/blob/master/doc/functionalities.md) | ||
|
||
# Demo | ||
--- | ||
|
||
We created a demo app with some useful use-cases of plugins! | ||
Visit [sylius-demo.bitbag.io](https://sylius-demo.bitbag.io/) to take a look at it. The admin can be accessed under | ||
[sylius-demo.bitbag.io/admin/login](https://sylius-demo.bitbag.io/admin/login) link and `bitbag: bitbag` credentials. | ||
Plugins that we have used in the demo: | ||
|
||
| BitBag's Plugin | GitHub | Sylius' Store| | ||
| ------ | ------ | ------| | ||
| ACL Plugin | *Private. Available after the purchasing.*| https://plugins.sylius.com/plugin/access-control-layer-plugin/| | ||
| Braintree Plugin | https://github.com/BitBagCommerce/SyliusBraintreePlugin |https://plugins.sylius.com/plugin/braintree-plugin/| | ||
| CMS Plugin | https://github.com/BitBagCommerce/SyliusCmsPlugin | https://plugins.sylius.com/plugin/cmsplugin/| | ||
| Elasticsearch Plugin | https://github.com/BitBagCommerce/SyliusElasticsearchPlugin | https://plugins.sylius.com/plugin/2004/| | ||
| Mailchimp Plugin | https://github.com/BitBagCommerce/SyliusMailChimpPlugin | https://plugins.sylius.com/plugin/mailchimp/ | | ||
| Multisafepay Plugin | https://github.com/BitBagCommerce/SyliusMultiSafepayPlugin | | ||
| Wishlist Plugin | https://github.com/BitBagCommerce/SyliusWishlistPlugin | https://plugins.sylius.com/plugin/wishlist-plugin/| | ||
| **Sylius' Plugin** | **GitHub** | **Sylius' Store** | | ||
| Admin Order Creation Plugin | https://github.com/Sylius/AdminOrderCreationPlugin | https://plugins.sylius.com/plugin/admin-order-creation-plugin/ | | ||
| Invoicing Plugin | https://github.com/Sylius/InvoicingPlugin | https://plugins.sylius.com/plugin/invoicing-plugin/ | | ||
| Refund Plugin | https://github.com/Sylius/RefundPlugin | https://plugins.sylius.com/plugin/refund-plugin/ | | ||
We created a demo app with some useful use-cases of plugins! Visit http://demo.sylius.com/ to take a look at it. | ||
|
||
**If you need an overview of Sylius' capabilities, schedule a consultation with our expert.** | ||
|
||
[![](https://bitbag.io/wp-content/uploads/2020/10/button_free_consulatation-1.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_braintree) | ||
|
||
## Additional resources for developers | ||
|
||
# Additional resources for developers | ||
--- | ||
To learn more about our contribution workflow and more, we encourage you to use the following resources: | ||
* [Sylius Documentation](https://docs.sylius.com/en/latest/) | ||
* [Sylius Contribution Guide](https://docs.sylius.com/en/latest/contributing/) | ||
* [Sylius Online Course](https://sylius.com/online-course/) | ||
* [Sylius Plugins Blogs](https://bitbag.io/blog/category/plugins) | ||
|
||
## License | ||
|
||
# License | ||
--- | ||
|
||
This plugin's source code is completely free and released under the terms of the MIT license. | ||
|
||
[//]: # (These are reference links used in the body of this note and get stripped out when the markdown processor does its job. There is no need to format nicely because it shouldn't be seen.) | ||
|
||
## Contact | ||
|
||
# Contact and support | ||
--- | ||
If you want to contact us, the best way is to fill the form on [our website](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_braintree) or send us an e-mail to [email protected] with your question(s). We guarantee that we answer as soon as we can! | ||
This open-source plugin was developed to help the Sylius community. If you have any additional questions, would like help with installing or configuring the plugin, or need any assistance with your Sylius project - let us know! **Contact us** or send us an **e-mail to [email protected]** with your question(s). | ||
|
||
[![](https://bitbag.io/wp-content/uploads/2020/10/button-contact.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_braintree) | ||
|
||
|
||
# Community | ||
---- | ||
|
||
For online communication, we invite you to chat with us & other users on **[Sylius Slack](https://sylius-devs.slack.com/).** | ||
|
||
[![](https://bitbag.io/wp-content/uploRads/2021/08/badges-bitbag.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_braintree) | ||
[![](https://bitbag.io/wp-content/uploads/2024/09/badges-partners.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_braintree) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Functionalities | ||
|
||
--- | ||
|
||
The plugin integrates Braintree payments with Sylius based applications. | ||
>[Braintree Payments](https://www.braintreepayments.com/pl/features/payment-methods) is an online payment services company that is part of PayPal. | ||
Braintree offers a one-stop payment platform that enables businesses around the world to accept online and mobile payments. | ||
|
||
- After an installation, user should be able to create new Braintree payment method in the "Payment methods" section in the admin panel. | ||
|
||
<div align="center"> | ||
<img src="./images/braintree_methods.png"/> | ||
</div> | ||
|
||
- Once there, user can fill out the configuartion form with all the needed info like configuration keys, id, type of the environment, code, name etc.. | ||
|
||
<div align="center"> | ||
<img src="./images/braintree_create.png"/> | ||
</div> | ||
|
||
- After this, created payment method should be visible in the checkout. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Installation | ||
|
||
## Overview: | ||
GENERAL | ||
- [Requirements](#requirements) | ||
- [Composer](#composer) | ||
- [Basic configuration](#basic-configuration) | ||
--- | ||
ADDITIONAL | ||
- [Known Issues](#known-issues) | ||
--- | ||
|
||
## Requirements: | ||
We work on stable, supported and up-to-date versions of packages. We recommend you to do the same. | ||
|
||
| Package | Version | | ||
|---------------|-----------------| | ||
| PHP | \>8.0 | | ||
| sylius/sylius | 1.12.x - 1.13.x | | ||
| MySQL | \>= 5.7 | | ||
| NodeJS | \>= 18.x | | ||
|
||
## Composer: | ||
```bash | ||
composer require bitbag/braintree-plugin | ||
``` | ||
|
||
## Basic configuration: | ||
Add plugin dependencies to your `config/bundles.php` file: | ||
|
||
```php | ||
# config/bundles.php | ||
|
||
return [ | ||
//... | ||
BitBag\SyliusBraintreePlugin\BitBagSyliusBraintreePlugin::class => ['all' => true] | ||
]; | ||
``` | ||
|
||
Import required config in your `config/packages/_sylius.yaml` file: | ||
|
||
```yaml | ||
# config/packages/_sylius.yaml | ||
|
||
imports: | ||
#... | ||
- { resource: "@BitBagSyliusBraintreePlugin/Resources/config/config.yml" } | ||
``` | ||
## Known issues | ||
### Translations not displaying correctly | ||
For incorrectly displayed translations, execute the command: | ||
```bash | ||
bin/console cache:clear | ||
``` |