Skip to content

Commit

Permalink
Blik fix
Browse files Browse the repository at this point in the history
  • Loading branch information
krzGablo committed Jan 17, 2024
1 parent 75f5e91 commit 41ad80d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Controller/tpay/Create.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ public function execute(): ResponseInterface

$this->handleOpenApiTrId($paymentData, $transaction);

$this->tpayService->addCommentToHistory($orderId, 'Transaction title ' .$transaction['title']);
$this->tpayService->addCommentToHistory($orderId, 'Transaction title '.$transaction['title']);
$transactionUrl = $transaction['url'];

if (true === $this->tpay->redirectToChannel()) {
$transactionUrl = str_replace('gtitle', 'title', $transactionUrl);
}

$this->tpayService->addCommentToHistory($orderId, 'Transaction link ' .$transactionUrl);
$this->tpayService->addCommentToHistory($orderId, 'Transaction link '.$transactionUrl);
$paymentData['additional_information']['transaction_url'] = $transactionUrl;
$payment->setData($paymentData)->save();

Expand Down

0 comments on commit 41ad80d

Please sign in to comment.