diff --git a/Model/Plugin/Order/Create.php b/Model/Plugin/Order/Create.php index 923682d..e4c7b58 100644 --- a/Model/Plugin/Order/Create.php +++ b/Model/Plugin/Order/Create.php @@ -52,7 +52,7 @@ public function __construct(RedirectFactory $forwardFactory) * @param callable $method * @return \Magento\Framework\Controller\Result\Redirect */ - public function beforeExecute(SaveAction $controller, \Closure $method) + public function aroundExecute(SaveAction $controller, \Closure $method) { $data = $controller->getRequest()->getParam('payment'); if (isset($data['method']) && $data['method'] == \Astound\Affirm\Model\Ui\ConfigProvider::CODE) {