Add the Commerce Weavers Tpay plugin recipe (#1729)

This commit is contained in:
Łukasz Chruściel
2024-12-16 09:18:03 +01:00
committed by GitHub
parent e95e19bc0e
commit 415145459d
4 changed files with 27 additions and 0 deletions
@@ -0,0 +1,2 @@
imports:
- { resource: "@CommerceWeaversSyliusTpayPlugin/config/config.php" }
@@ -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}))?$
@@ -0,0 +1,12 @@
{
"bundles": {
"CommerceWeavers\\SyliusTpayPlugin\\CommerceWeaversSyliusTpayPlugin": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"#1": "IMPORTANT! Replace the `<replace_me>` with a value generated using the `vendor/bin/generate-defuse-key` command",
"PAYUM_CYPHER_KEY": "<replace_me>"
}
}
@@ -0,0 +1,5 @@
@@ -0,0 +1,4 @@
* <fg=blue>IMPORTANT!</> Remember to generate Payum's cypher key with the <comment>vendor/bin/generate-defuse-key</comment>
and add it to your environment variables as <comment>PAYUM_CYPHER_KEY</comment>
* <fg=blue>Read</> the Sylius Payum Plugin documentation at <comment>https://github.com/CommerceWeavers/SyliusTpayPlugin/wiki</>