Skip to content
Sylius Coinbase integration
PHP Gherkin JavaScript
Branch: master
Clone or download
Latest commit e6a397d Oct 15, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github first commit May 29, 2019
doc Add logo Jun 4, 2019
etc/build first commit May 29, 2019
features [WIP] May 31, 2019
spec/Action [WIP] May 31, 2019
src [WIP] May 31, 2019
tests [WIP] May 31, 2019
.gitignore first commit May 29, 2019
.travis.yml Fix tests Jun 4, 2019
LICENSE Create LICENSE Jun 4, 2019
README.md Fix README.md Jun 4, 2019
UPGRADE-1.3.md first commit May 29, 2019
UPGRADE-1.4.md first commit May 29, 2019
behat.yml.dist first commit May 29, 2019
composer.json Update composer.json Oct 15, 2019
composer.lock Add composer.lock Jun 3, 2019
easy-coding-standard.yml first commit May 29, 2019
node_modules first commit May 29, 2019
phpspec.yml.dist first commit May 29, 2019
phpstan.neon first commit May 29, 2019
phpunit.xml.dist first commit May 29, 2019
yarn-error.log first commit May 29, 2019

README.md


Overview

This plugin allows you to integrate Coinbase payment with Sylius platform app.

Installation

  1. Require plugin with composer:

    composer require bitbag/coinbase-plugin
  2. Import routing on top of your config/routes.yaml file:

    bitbag_sylius_coinbase_plugin:
        resource: "@BitBagSyliusCoinbasePlugin/Resources/config/routing.yml"
  3. Add plugin class to your config/bundles.php file:

    $bundles = [
        BitBag\SyliusCoinbasePlugin\BitBagSyliusCoinbasePlugin::class => ['all' => true],
    ];
  4. Clear cache:

    bin/console cache:clear

Webhook subscriptions

For proper operation of the plugin, it is necessary to add a URL to notifications about the status of the payment. The URL can be set in the settings and should be in a similar format as https://{your_domain}/payment/coinbase/notify

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_coinbase_plugin

Testing

$ composer install
$ cd tests/Application
$ yarn install
$ yarn run gulp
$ bin/console assets:install web -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 -d web -e test
$ open http://localhost:8080
$ bin/behat
$ bin/phpspec run

Contribution

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

You can’t perform that action at this time.