lexik / LexikPayboxBundle

LexikPayboxBundle eases the implementation of the Paybox payment system
MIT License
40 stars 47 forks source link

Add public_key in parameters if not defined #39

Closed nykopol closed 9 years ago

nykopol commented 10 years ago

If the parameter public_key is not defined in config.yml the default value is not accessible in lexik_paybox.parameters. As Lexik\Bundle\PayboxBundle\Paybox\System\Base\Response use the value from lexik_paybox.parameters the validation can not work.

Olineuve commented 9 years ago

Implementation as changed a bit. Now public_key is directly set in the bundle's configuration, tested and then added to the lexik_paybox.parameters. I removed lexik_paybox.pulic_key that wasn't used.