The mustache form needs to display errors from the gateway adapter's server-side validation and needs to validate client-side on submit.
Definitely need to validate required fields, currency code and amount. Bonus points for checking that CPF has a reasonable number of digits. If amount or currency code are invalid, the user should be able to correct them.
Description
Description
Details
Details
Related Changes in Gerrit:
Customize query in gerrit
Related Objects
Related Objects
- Mentioned In
- rEDOI4e9b7e938112: Deal with errors that are arrays
rEDOI6f8a7d3eca08: Deal with errors that are arrays
rMEXTde4ab3093af7: Updated mediawiki/extensions Project: mediawiki/extensions/DonationInterface…
rMEXT71f2052fbf59: Updated mediawiki/extensions Project: mediawiki/extensions/DonationInterface…
rEDOIf070713a6f02: Initial validation for mustache forms
Event Timeline
Comment Actions
Change 216767 had a related patch set uploaded (by Ejegg):
Deal with errors that are arrays
Comment Actions
Change 217564 had a related patch set uploaded (by Ejegg):
Deal with errors that are arrays