Installation
1. Install the Plugin via Composer
composer require sylius/paypal-plugin2. Run Doctrine Migrations
Update your database schema:
bin/console doctrine:migrations:migrate3. Clear the Symfony Cache
php bin/console cache:clearUsage
To make PayPal integration working, your local Sylius URL should be accessible for the PayPal servers. Therefore, you can add the proper directive to your /etc/hosts (something like 127.0.0.1 sylius.local) or use a service as ngrok.
Next steps
Your plugin is now installed and ready for configuration.
To start accepting payments, you need to connect your PayPal Business account. Follow the step-by-step guide in the Onboarding page.
Last updated
Was this helpful?
