diff --git a/src/Action/CaptureAction.php b/src/Action/CaptureAction.php index 09ddeac..f59a517 100644 --- a/src/Action/CaptureAction.php +++ b/src/Action/CaptureAction.php @@ -143,9 +143,9 @@ private function prepareOrder(TokenInterface $token, OrderInterface $order): arr ); $buyer = [ - 'email' => (string)$customer->getEmail(), - 'firstName' => (string)$customer->getFirstName(), - 'lastName' => (string)$customer->getLastName(), + 'email' => (string) $customer->getEmail(), + 'firstName' => (string) $customer->getFirstName(), + 'lastName' => (string) $customer->getLastName(), 'language' => $this->getFallbackLocaleCode($order->getLocaleCode()), ]; $payUdata['buyer'] = $buyer; @@ -164,7 +164,7 @@ private function getOrderItems(OrderInterface $order): array $itemsData[$key] = [ 'name' => $item->getProductName(), 'unitPrice' => $item->getUnitPrice(), - 'quantity' => $item->getQuantity() + 'quantity' => $item->getQuantity(), ]; } }