sagepayForm-php icon indicating copy to clipboard operation
sagepayForm-php copied to clipboard

Max length settings are not enforced

Open mattfletcher opened this issue 5 years ago • 0 comments

Sage Pay limits the length of most of the fields submitted. They are detailed here:

https://www.sagepay.co.uk/file/14206/download-document/FORM_Integration_and_Protocol_Guidelines_050115.pdf?token=jwimtbXQc-MmWWdGJHNJZFeshXg2re_chVFqiebQ2wc

As far as I can see, this library doesn't check for that. Failing to limit them will cause the POST to fail.

mattfletcher avatar Jul 16 '19 18:07 mattfletcher