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
-
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)
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