diff --git a/src/Components/GenericExpressCheckout/CustomerRegistrationUtil.php b/src/Components/GenericExpressCheckout/CustomerRegistrationUtil.php index 2303f193..7243744e 100644 --- a/src/Components/GenericExpressCheckout/CustomerRegistrationUtil.php +++ b/src/Components/GenericExpressCheckout/CustomerRegistrationUtil.php @@ -73,8 +73,8 @@ public function getCustomerDataBagFromGetCheckoutSessionResponse(array $response $this->logger->error('PAYONE Express Checkout: The delivery and billing address is incomplete', [ 'billingAddress' => $billingAddress, 'shippingAddress' => $shippingAddress, - 'billingAddressViolations' => $billingAddressViolations, - 'shippingAddressViolations' => $shippingAddressViolations, + 'billingAddressViolations' => $billingAddressViolations->__toString(), + 'shippingAddressViolations' => $shippingAddressViolations->__toString(), ]); throw new RuntimeException($this->translator->trans('PayonePayment.errorMessages.genericError'));