Skip to content

Commit

Permalink
Update Create.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kkong87 committed Feb 20, 2024
1 parent c38c5e9 commit 31663dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Plugin/Order/Create.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 31663dd

Please sign in to comment.