Skip to content

This plugin allows you to integrate Przelewy24 payments in your Sylius instance.

Notifications You must be signed in to change notification settings

mozan/SyliusPrzelewy24Plugin

 
 

Repository files navigation

Overview

This plugin allows you to integrate Przelewy24 payments in your Sylius instance.

Support

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/przelewy24-plugin

Add plugin dependencies to your AppKernel.php file:

public function registerBundles()
{
    return array_merge(parent::registerBundles(), [
        ...
        
        new \BitBag\SyliusPrzelewy24Plugin\SyliusPrzelewy24Plugin(),
    ]);
}

Usage

Running plugin tests

  • PHPSpec

    $ bin/phpspec run
  • Behat (non-JS scenarios)

    $ bin/behat --tags="~@javascript"
  • Behat (JS scenarios)

    1. Download Chromedriver

    2. Run Selenium server with previously downloaded Chromedriver:

      $ bin/selenium-server-standalone -Dwebdriver.chrome.driver=chromedriver
    3. Run test application's webserver on localhost:8080:

      $ (cd tests/Application && bin/console server:run 127.0.0.1:8080 -d web -e test)
    4. Run Behat:

      $ bin/behat --tags="@javascript"

Opening Sylius with your plugin

  • Using test environment:

    $ (cd tests/Application && bin/console sylius:fixtures:load -e test)
    $ (cd tests/Application && bin/console server:run -d web -e test)
  • Using dev environment:

    $ (cd tests/Application && bin/console sylius:fixtures:load -e dev)
    $ (cd tests/Application && bin/console server:run -d web -e dev)

About

This plugin allows you to integrate Przelewy24 payments in your Sylius instance.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 94.1%
  • Gherkin 4.8%
  • JavaScript 1.1%