Fix review remarks

This commit is contained in:
Jérôme Vieilledent
2019-11-25 17:20:57 +01:00
parent b748c3521b
commit ac12d06ff6
4 changed files with 5 additions and 10 deletions
@@ -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.
@@ -1,3 +1,3 @@
LolautruchePaylineBundle:
resource: "@LolautruchePaylineBundle/Resources/config/routing.yml"
prefix: /
resource: '@LolautruchePaylineBundle/Resources/config/routing.yml'
prefix: /
@@ -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"
}
}
@@ -3,7 +3,7 @@
<bg=blue;fg=white> What's next? </>
<bg=blue;fg=white> </>
* <fg=blue>Configure</> Payline environment variables and settings in <comment>config/packages/payline.yaml</comment>.
* <fg=blue>Configure</> Payline environment variables in <comment>.env</comment>.
* <fg=blue>Read</> the documentation at:
<comment>https://github.com/lolautruche/LolautruchePaylineBundle/blob/master/Resources/doc/00-index.md</>