Skip to content

Commit

Permalink
Merge pull request #5 from tpay-com/DX-522
Browse files Browse the repository at this point in the history
fix for resolver
  • Loading branch information
kwojc authored Apr 16, 2024
2 parents b3acf15 + b7537e9 commit ec09473
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Model/Resolver/CreateTransaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ private function prepareTransaction($orderId, array $additionalPaymentInformatio
{
$data = $this->tpay->getTpayFormData($orderId);

$data['group'] = (int) ($additionalPaymentInformation['group'] ?? null);
$data['channel'] = (int) ($additionalPaymentInformation['channel'] ?? null);
$data['group'] = (int) ($additionalPaymentInformation['additional_information']['group'] ?? null);
$data['channel'] = (int) ($additionalPaymentInformation['additional_information']['channel'] ?? null);

if ($this->tpayConfig->redirectToChannel()) {
$data['direct'] = 1;
Expand Down

0 comments on commit ec09473

Please sign in to comment.