Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nfourtythree committed Oct 12, 2023
1 parent 21a630f commit 72cc666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/PaymentsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ public function actionPay(): ?Response

$cancelUrl = $this->request->getValidatedBodyParam('cancelUrl');
if ($cancelUrl !== null) {
$order->cancelUrl = $view->renderObjectTemplate($cancelUrl, $order);
$order->cancelUrl = $this->getView()->renderObjectTemplate($cancelUrl, $order);
}

// Do one final save to confirm the price does not change out from under the customer. Also removes any out of stock items etc.
Expand Down

0 comments on commit 72cc666

Please sign in to comment.