diff --git a/commerce-weavers/sylius-tpay-plugin/2.0/config/packages/commerce_weavers_tpay_plugin.yaml b/commerce-weavers/sylius-tpay-plugin/2.0/config/packages/commerce_weavers_tpay_plugin.yaml new file mode 100644 index 000000000..5defcc58c --- /dev/null +++ b/commerce-weavers/sylius-tpay-plugin/2.0/config/packages/commerce_weavers_tpay_plugin.yaml @@ -0,0 +1,2 @@ +imports: + - { resource: "@CommerceWeaversSyliusTpayPlugin/config/config.php" } diff --git a/commerce-weavers/sylius-tpay-plugin/2.0/config/routes/commerce_weavers_tpay_plugin.yaml b/commerce-weavers/sylius-tpay-plugin/2.0/config/routes/commerce_weavers_tpay_plugin.yaml new file mode 100644 index 000000000..8b91ee299 --- /dev/null +++ b/commerce-weavers/sylius-tpay-plugin/2.0/config/routes/commerce_weavers_tpay_plugin.yaml @@ -0,0 +1,8 @@ +commerce_weavers_sylius_tpay_webhook: + resource: "@CommerceWeaversSyliusTpayPlugin/config/routes_webhook.php" + +commerce_weavers_sylius_tpay_shop: + resource: "@CommerceWeaversSyliusTpayPlugin/config/routes_shop.php" + prefix: /{_locale} + requirements: + _locale: ^[A-Za-z]{2,4}(_([A-Za-z]{4}|[0-9]{3}))?(_([A-Za-z]{2}|[0-9]{3}))?$ diff --git a/commerce-weavers/sylius-tpay-plugin/2.0/manifest.json b/commerce-weavers/sylius-tpay-plugin/2.0/manifest.json new file mode 100644 index 000000000..241507f29 --- /dev/null +++ b/commerce-weavers/sylius-tpay-plugin/2.0/manifest.json @@ -0,0 +1,12 @@ +{ + "bundles": { + "CommerceWeavers\\SyliusTpayPlugin\\CommerceWeaversSyliusTpayPlugin": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "#1": "IMPORTANT! Replace the `` with a value generated using the `vendor/bin/generate-defuse-key` command", + "PAYUM_CYPHER_KEY": "" + } +} diff --git a/commerce-weavers/sylius-tpay-plugin/2.0/post-install.txt b/commerce-weavers/sylius-tpay-plugin/2.0/post-install.txt new file mode 100644 index 000000000..47b6b6d54 --- /dev/null +++ b/commerce-weavers/sylius-tpay-plugin/2.0/post-install.txt @@ -0,0 +1,5 @@ +@@ -0,0 +1,4 @@ + * IMPORTANT! Remember to generate Payum's cypher key with the vendor/bin/generate-defuse-key + and add it to your environment variables as PAYUM_CYPHER_KEY + + * Read the Sylius Payum Plugin documentation at https://github.com/CommerceWeavers/SyliusTpayPlugin/wiki