diff --git a/lolautruche/payline-bundle/2.0/config/packages/payline.yaml b/lolautruche/payline-bundle/2.0/config/packages/payline.yaml index 31ec2ca5..c3e274bb 100644 --- a/lolautruche/payline-bundle/2.0/config/packages/payline.yaml +++ b/lolautruche/payline-bundle/2.0/config/packages/payline.yaml @@ -1,15 +1,8 @@ lolautruche_payline: - # Credentials given by Payline. - # Set them as environment variable. merchant_id: '%env(PAYLINE_MERCHANT_ID)%' access_key: '%env(PAYLINE_ACCESS_KEY)%' contract_number: '%env(PAYLINE_CONTRACT_NUMBER)%' - # Payline environment - # e.g. 'homo' for 'Homologation', 'prod' for 'Production', 'int' for 'Integration' - # Valid values are 'homo', 'prod', 'int' and 'dev'. - # Best practice is to define it with PAYLINE_ENVIRONMENT env var. environment: '%env(PAYLINE_ENVIRONMENT)%' - # Default curreny, as supported by Payline. # Can be EUR (or €), USD (or $), POUND (or £). default_currency: '€' # Route name for the confirmation page the user will be redirected to, once the payment has been processed. diff --git a/lolautruche/payline-bundle/2.0/config/routes/payline.yaml b/lolautruche/payline-bundle/2.0/config/routes/payline.yaml index e7864c41..920c2843 100644 --- a/lolautruche/payline-bundle/2.0/config/routes/payline.yaml +++ b/lolautruche/payline-bundle/2.0/config/routes/payline.yaml @@ -1,3 +1,3 @@ LolautruchePaylineBundle: - resource: "@LolautruchePaylineBundle/Resources/config/routing.yml" - prefix: / + resource: '@LolautruchePaylineBundle/Resources/config/routing.yml' + prefix: / diff --git a/lolautruche/payline-bundle/2.0/manifest.json b/lolautruche/payline-bundle/2.0/manifest.json index 4dfca9ef..b88d40d4 100644 --- a/lolautruche/payline-bundle/2.0/manifest.json +++ b/lolautruche/payline-bundle/2.0/manifest.json @@ -9,6 +9,8 @@ "PAYLINE_MERCHANT_ID": "your_payline_merchant_id", "PAYLINE_ACCESS_KEY": "your_payline_access_key", "PAYLINE_CONTRACT_NUMBER": "your_payline_contract_number", + "#1": "Valid values are 'homo', 'prod', 'int' and 'dev'.", + "#2": "e.g. 'homo' for 'Homologation', 'prod' for 'Production', 'int' for 'Integration'", "PAYLINE_ENVIRONMENT": "homo" } } diff --git a/lolautruche/payline-bundle/2.0/post-install.txt b/lolautruche/payline-bundle/2.0/post-install.txt index 1f6e20f8..21499e15 100644 --- a/lolautruche/payline-bundle/2.0/post-install.txt +++ b/lolautruche/payline-bundle/2.0/post-install.txt @@ -3,7 +3,7 @@ What's next? - * Configure Payline environment variables and settings in config/packages/payline.yaml. + * Configure Payline environment variables in .env. * Read the documentation at: https://github.com/lolautruche/LolautruchePaylineBundle/blob/master/Resources/doc/00-index.md