paytrail / api-documentation

Paytrail Payment API documentation
MIT License
6 stars 11 forks source link

Error in Payment API documentation - example form #15

Closed jussihirvi closed 9 months ago

jussihirvi commented 2 years ago

On your Payment API documentation page for Examples, you have an example form.

On the line ${provider.parameters.map(parameterToInput}, the closing parenthesis ) is missing. Also, the code yields ugly commas between the hidden input fields. You could add join: ${provider.parameters.map(parameterToInput).join('')}.