QuickPay / magento-v2

Open Software License 3.0
5 stars 20 forks source link

Change to use plugin for Csrf backwards compatibility #12

Closed mlindholm closed 3 years ago

mlindholm commented 4 years ago

The current solution for the Magento\Framework\App\CsrfAwareActionInterface backward compatibility is not working for us as composer is mapping the callback to use the version meant for Magento 2.2.

Here is alternative solution that uses plugin for the Magento\Framework\App\Request\CsrfValidator to skip the validation for the Callback action.

Also cleaned out .idea and .DS_Store files that are not needed for module.