From 31663ddd0a8907e07057e64a097346cace2ced6b Mon Sep 17 00:00:00 2001 From: Kevin Kong Date: Tue, 20 Feb 2024 09:39:46 -0800 Subject: [PATCH] Update Create.php --- Model/Plugin/Order/Create.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {