diff --git a/cyllene-digital/sylius-axepta-plugin/1.0/config/routes/cyllene_digital_sylius_axepta.yaml b/cyllene-digital/sylius-axepta-plugin/1.0/config/routes/cyllene_digital_sylius_axepta.yaml new file mode 100644 index 00000000..e78aa8b3 --- /dev/null +++ b/cyllene-digital/sylius-axepta-plugin/1.0/config/routes/cyllene_digital_sylius_axepta.yaml @@ -0,0 +1,2 @@ +cyllene_digital_sylius_axepta_shop: + resource: "@CylleneDigitalSyliusAxeptaPlugin/config/routes/shop.yaml" diff --git a/cyllene-digital/sylius-axepta-plugin/1.0/manifest.json b/cyllene-digital/sylius-axepta-plugin/1.0/manifest.json new file mode 100644 index 00000000..5f954405 --- /dev/null +++ b/cyllene-digital/sylius-axepta-plugin/1.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "CylleneDigital\\SyliusAxeptaPlugin\\CylleneDigitalSyliusAxeptaPlugin": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/cyllene-digital/sylius-axepta-plugin/1.0/post-install.txt b/cyllene-digital/sylius-axepta-plugin/1.0/post-install.txt new file mode 100644 index 00000000..8da88828 --- /dev/null +++ b/cyllene-digital/sylius-axepta-plugin/1.0/post-install.txt @@ -0,0 +1,20 @@ + Sylius Axepta BNP Paribas Plugin is installed. + + Two steps are left, and skipping either breaks payments without an error message: + + 1. Generate the payment encryption key, unless your project already has one: + + bin/console sylius:payment:generate-key + + Back that key up separately from the database: together they protect nothing, and losing it + makes the configuration of your payment methods unrecoverable. + + 2. Declare your trusted proxies in %CONFIG_DIR%/packages/framework.yaml, including + x-forwarded-host. Symfony does not trust that header by default, and it is the + only one carrying the public domain. Without it you hand the bank URLs it cannot reach, the + notification never arrives, and the order stays unpaid although the customer has paid. + + Then create the payment method: Configuration > Payment methods > Create, gateway + "Axepta - BNP Paribas". + + Documentation: https://github.com/CylleneDigital/SyliusAxeptaPlugin/blob/main/docs/installation.md