Add MVola bundle configuration, manifest, and routes (#1671)

This commit is contained in:
Roméo RAZAFINDRAKOTO
2024-09-21 11:48:20 +03:00
committed by GitHub
parent 334aa88ca4
commit 53358673a8
3 changed files with 28 additions and 0 deletions

View 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

View File

@@ -0,0 +1,2 @@
mvola:
resource: '@DahRomyMVolaBundle/Resources/config/routes.yaml'

View 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"
}
}