Skip to content

Commit

Permalink
Pass payment and token to processing template
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaGallinari committed Sep 24, 2024
1 parent 02c08e2 commit af07b35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Controller/PaymentController.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ public function processAction(string $payumToken): Response
'afterUrl' => $token->getAfterUrl(),
'paymentStatusUrl' => $paymentStatusUrl,
'redirectUrl' => PaymentDetailsHelper::getRedirectUrl($paymentDetails),
'payment' => $syliusPayment,
'token' => $token,
];
$this->logInfo($syliusPayment, 'Showing process page to user.', $params);

Expand Down

0 comments on commit af07b35

Please sign in to comment.