Bug 34478: Use op and cud in pay -> paycollect redirect
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 15 Feb 2024 15:25:17 +0000 (15:25 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 1 Mar 2024 09:59:19 +0000 (10:59 +0100)
commit5a333e3cfa7dd55d4a1fa0d8a4e2cc40154029c4
tree14a30c5d30f22722d8deb49a0deddd9ca0f25300
parent0896724e34dfe81c8097095efcab53faf7f7383b
Bug 34478: Use op and cud in pay -> paycollect redirect

The pay to paycollect post/redirect flow here doesn't actually
consistute a state change, however it's much simpler to add the csrf
token check flow here than to refactor the code to a get (url's quickly
grow too large for a GET) or rework it in other ways.  I opted to do
this for now and work on a refactor at a future date.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt
members/pay.pl