mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
Add MVola bundle configuration, manifest, and routes (#1671)
This commit is contained in:
committed by
GitHub
parent
334aa88ca4
commit
53358673a8
10
dahromy/mvola-bundle/1.0/config/packages/mvola.yaml
Normal file
10
dahromy/mvola-bundle/1.0/config/packages/mvola.yaml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
mvola:
|
||||||
|
environment: '%env(MVOLA_ENVIRONMENT)%'
|
||||||
|
merchant_number: '%env(MVOLA_MERCHANT_NUMBER)%'
|
||||||
|
company_name: '%env(MVOLA_COMPANY_NAME)%'
|
||||||
|
consumer_key: '%env(MVOLA_CONSUMER_KEY)%'
|
||||||
|
consumer_secret: '%env(MVOLA_CONSUMER_SECRET)%'
|
||||||
|
auth_url: '%env(MVOLA_AUTH_URL)%'
|
||||||
|
max_retries: 3
|
||||||
|
retry_delay: 1000
|
||||||
|
cache_ttl: 3600
|
||||||
2
dahromy/mvola-bundle/1.0/config/routes/mvola.yaml
Normal file
2
dahromy/mvola-bundle/1.0/config/routes/mvola.yaml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
mvola:
|
||||||
|
resource: '@DahRomyMVolaBundle/Resources/config/routes.yaml'
|
||||||
16
dahromy/mvola-bundle/1.0/manifest.json
Normal file
16
dahromy/mvola-bundle/1.0/manifest.json
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"bundles": {
|
||||||
|
"DahRomy\\MVola\\DahRomyMVolaBundle": ["all"]
|
||||||
|
},
|
||||||
|
"copy-from-recipe": {
|
||||||
|
"config/": "%CONFIG_DIR%"
|
||||||
|
},
|
||||||
|
"env": {
|
||||||
|
"MVOLA_ENVIRONMENT": "sandbox",
|
||||||
|
"MVOLA_CONSUMER_KEY": "your_consumer_key_here",
|
||||||
|
"MVOLA_CONSUMER_SECRET": "your_consumer_secret_here",
|
||||||
|
"MVOLA_MERCHANT_NUMBER": "your_merchant_number_here",
|
||||||
|
"MVOLA_COMPANY_NAME": "your_company_name_here",
|
||||||
|
"MVOLA_AUTH_URL": "https://sandbox.mvola.mg/token"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user