lexik / LexikPayboxBundle

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

Invalid DATEQ format in ParameterResolver.php for Paybox Direct Plus #47

Closed Jibato closed 9 years ago

Jibato commented 9 years ago

Hi, I think there is a problem in the DirectPlus ParameterResolver format definition for the 'DATEQ' parameter. It is '%014d' and IMHO it should be '%014s'. Because 14 digits number is too long to be an integer.

Do you confirm ? Thanks for this great bundle!

cedric-g commented 9 years ago

Hi, yes maybe it's better to format it as a string. I've updated the code.

Jibato commented 9 years ago

Thank you!