PayU-EMEA / plugin_magento_2

Plugin for Magento versions: >2.0.6, 2.1, 2.2
GNU General Public License v3.0
18 stars 13 forks source link

Added implementation of CSRF validation to POST controller action. #27

Closed dudzio12 closed 5 years ago

dudzio12 commented 5 years ago

https://devdocs.magento.com/guides/v2.3/extension-dev-guide/routing.html#action-class

dudzio12 commented 5 years ago

That's for Magento 2.3 compatibility. All requests from PAYU were declined and end with 302 code.

dudzio12 commented 5 years ago

Done

dudzio12 commented 5 years ago

I've reverted those changes, due to Magento 2.3 official requirements: PHP 7.1.3+, 7.2.x So there is no support for PHP <7.1.

It also broke compatibility with CsrfAwareActionInterface interface, so it must be like this.

regdos commented 5 years ago

We added new repo for Magento 2.3 https://github.com/PayU/plugin_magento_23 with this change.

Thank's for You help.