定制 webgriffe/magento2-open-post-controller 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

webgriffe/magento2-open-post-controller

最新稳定版本:2.3.1

Composer 安装命令:

composer require webgriffe/magento2-open-post-controller

包简介

Defines an abstract Magento 2 controller class that disables the built-in form key control

README 文档

README

This library defines an abstract Magento 2 controller that disables all form key checks on POST requests. This is useful, for example, when implementing a controller that must receive POST requests from an outside system, such as a payment gayeway. For Magento 2.0 to 2.2 this module defines just a plain controller, as no such check was present in these Magento versions. For Magento 2.3+, this library defines a controller that implements the CsrfAwareActionInterface interface.

Use

Require this library by running the command:

composer require webgriffe/magento2-open-post-controller ^2.0

Depending on the currently installed Magento version, this will define a different version of an abstract controller class. Any controller that inherits from that abstract controller will then disable the form key checks.

统计信息

  • 总下载量: 14.22k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2019-10-07