Skip to content

Commit

Permalink
Fix SCA
Browse files Browse the repository at this point in the history
  • Loading branch information
Karol Wojciechowski committed Aug 13, 2024
1 parent 2ee11be commit 524a86e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Model/TpayPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,12 @@ public function getTpayFormData(?string $orderId = null): array
$billingAddress = $order->getBillingAddress();
$amount = number_format((float) $order->getBaseGrandTotal(), 2, '.', '');
$crc = base64_encode($orderId);
$name = join(' ', [
$billingAddress->getData('company'),
$billingAddress->getData('firstname'),
$billingAddress->getData('lastname')]
$name = join(
' ',
[
$billingAddress->getData('company'),
$billingAddress->getData('firstname'),
$billingAddress->getData('lastname')]
);
$phone = $billingAddress->getData('telephone');
$language = $this->validateCardLanguage($this->resolver->getLocale());
Expand Down

0 comments on commit 524a86e

Please sign in to comment.