Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 944 Bytes

installation.md

File metadata and controls

33 lines (21 loc) · 944 Bytes

Installation

BEWARE!

This installation instruction assumes that you're using Symfony Flex. If you don't, take a look at the legacy installation instruction. However, we strongly encourage you to use Symfony Flex.

  1. Require plugin with composer:

    composer require sylius/paypal-plugin

    Remember to allow community recipes with composer config extra.symfony.allow-contrib true or during plugin installation process

  2. Apply migrations:

    bin/console doctrine:migrations:migrate -n
    
  3. Clear cache:

    bin/console cache:clear

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: PayPal environment