SHOPWARE 6 · INPOST PAY
Instalacja InPost Pay

InPost Pay — instalacja z konsoli

Najszybsza droga, jeżeli masz dostęp do serwera i Composera. Cztery polecenia, po których wtyczka jest zainstalowana i aktywna — po prawej widzisz, co po każdym z nich wypisuje konsola.

Shopware 6.5–6.7 PHP 8.2+

/01 — Instalacja z konsoli

Cztery polecenia i wtyczka działa.

  1. /01

    Zainstaluj wtyczkę przez Composer

    Przejdź do katalogu projektu i dociągnij paczkę. Composer sam dobierze wersję wtyczki do Twojego Shopware.

    composer req crehler/inpost-pay
  2. /02

    Odśwież listę wtyczek

    Shopware skanuje katalog rozszerzeń i dopisuje InPost Pay do swojej listy. Wtyczka jest jeszcze nieaktywna.

    php bin/console plugin:refresh
  3. /03

    Zainstaluj i aktywuj

    Ten krok zakłada metody płatności InPost Pay wraz z regułą ograniczającą je do złotówek oraz pola dodatkowe na zamówieniu.

    php bin/console plugin:install InpostPay --activate
  4. /04

    Wyczyść cache

    Ostatni krok, bez którego panel nie pokaże jeszcze konfiguracji wtyczki.

    php bin/console cache:clear
shopware@serwer:~/shopware
composer req crehler/inpost-pay
./composer.json has been updated
Running composer update crehler/inpost-pay
Loading composer repositories with package information
Updating dependencies
Lock file operations: 2 installs, 0 updates, 0 removals
- Locking crehler/inpost-pay (4.1.2)
- Locking league/oauth2-client (2.9.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 2 installs, 0 updates, 0 removals
- Installing league/oauth2-client (2.9.0): Extracting archive
- Installing crehler/inpost-pay (4.1.2): Extracting archive
Generating optimized autoload files
128 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
- Skipping recipe for nyholm/psr7: all versions of the recipe conflict with your package versions.
Run composer recipes at any time to see the status of your Symfony recipes.
Executing script assets:install [OK]
No security vulnerability advisories found.
Using version ^4.1 for crehler/inpost-pay
php bin/console plugin:refresh
Shopware Plugin Service
=======================
[OK] Plugin list refreshed
Shopware Plugin Service
=======================
----------- ------------ -------------------- --------- ----------------- --------------------- ----------- -------- ------------- ----------------------
Plugin Label Composer name Version Upgrade version Author Installed Active Upgradeable Required by composer
----------- ------------ -------------------- --------- ----------------- --------------------- ----------- -------- ------------- ----------------------
InpostPay InPost Pay crehler/inpost-pay 4.1.2 Crehler Sp. z o. o. No No No Yes
----------- ------------ -------------------- --------- ----------------- --------------------- ----------- -------- ------------- ----------------------
1 plugins, 0 installed, 0 active , 0 upgradeable
php bin/console plugin:install InpostPay --activate
Shopware Plugin Lifecycle Service
=================================
Install 1 plugin(s):
* InPost Pay (v4.1.2)
Plugin "InpostPay" has been installed and activated successfully.
[OK] Installed 1 plugin(s).
! [NOTE] You may want to clear the cache after activating plugin(s). To do so run the cache:clear command
php bin/console cache:clear
// Clearing the cache for the prod environment with debug false
[OK] Cache for the "prod" environment (debug=false) was successfully cleared.
InPost Pay · Shopware 6

Pełna instrukcja wdrożenia.

Wróć do instrukcji, żeby zobaczyć pozostałe kroki wdrożenia InPost Pay.