mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
Add the Commerce Weavers Tpay plugin recipe (#1729)
This commit is contained in:
+2
@@ -0,0 +1,2 @@
|
|||||||
|
imports:
|
||||||
|
- { resource: "@CommerceWeaversSyliusTpayPlugin/config/config.php" }
|
||||||
+8
@@ -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</>
|
||||||
Reference in New Issue
Block a user