Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.03 KB

development.md

File metadata and controls

38 lines (28 loc) · 1.03 KB

Development

git clone [email protected]:CommerceWeavers/SyliusSaferpayPlugin.git
composer install
(cd tests/Application && yarn install)
(cd tests/Application && yarn build)
(cd tests/Application && bin/console assets:install)
(cd tests/Application && bin/console doctrine:database:create)
(cd tests/Application && bin/console doctrine:migrations:migrate -n)
composer link-templates

Opening Sylius with your plugin

  • Using dev environment:

    (cd tests/Application && bin/console sylius:fixtures:load)
    (cd tests/Application && symfony serve)
  • Using test environment:

    (cd tests/Application && APP_ENV=test bin/console sylius:fixtures:load)
    (cd tests/Application && APP_ENV=test symfony serve)

Sharing localhost for Saferpay access

You need to be sure that Saferpay can access your localhost to ensure proper webhooks handling. To achieve that, you can use a tool like ngrok.


Prev: Configuration Next: Testing