Skip to content

Commit

Permalink
Add MVola bundle configuration, manifest, and routes
Browse files Browse the repository at this point in the history
  • Loading branch information
dahromy committed Sep 12, 2024
1 parent be6c378 commit 14492bb
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dahromy/mvola-bundle/1.0/config/packages/mvola.yaml
Original file line number Diff line number Diff line change
@@ -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 changes: 2 additions & 0 deletions dahromy/mvola-bundle/1.0/config/routes/mvola.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
mvola:
resource: '@DahRomyMVolaBundle/Resources/config/routes.yaml'
16 changes: 16 additions & 0 deletions dahromy/mvola-bundle/1.0/manifest.json
Original file line number Diff line number Diff line change
@@ -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"
}
}

0 comments on commit 14492bb

Please sign in to comment.