Skip to content

Commit

Permalink
Add initial configuration and setup for MVola bundle
Browse files Browse the repository at this point in the history
Add initial configuration and setup for MVola bundle

Add initial configuration and setup for MVola bundle

Reorganize MVola bundle files for version 1.0

Correct bundle namespace in manifest for MVola version 1.0
  • Loading branch information
dahromy committed Sep 12, 2024
1 parent 1bec9e9 commit 5e56c25
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 5e56c25

Please sign in to comment.