Specifically I’m trying to capture all the POST parameters from a payment gateway as a single string, and then parse them looking for the string ‘ERROR’.
I’m aware that there’s a $c->request->parameters method, but I’m not quite sure how its used and I couldn’t figure it out from the CPAN documentation.
It returns a hash reference with the necessary data
A form with:
Would result in a hashref like: