Skip to content

Commit

Permalink
Fix blik lvl 0
Browse files Browse the repository at this point in the history
  • Loading branch information
s4ddly committed Jan 15, 2024
1 parent 3c6ad08 commit 9bc7c60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Controller/tpay/Create.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ private function prepareTransaction($orderId, array $additionalPaymentInformatio

if (6 === strlen($additionalPaymentInformation['blik_code'] ?? '')) {
$data['group'] = TransactionOriginApi::BLIK_CHANNEL;
$data['channel'] = null;
$this->handleBlikData($data, $additionalPaymentInformation['blik_code']);
} else {
$data['group'] = (int) ($additionalPaymentInformation['group'] ?? null);
Expand Down

0 comments on commit 9bc7c60

Please sign in to comment.