Skip to content

Commit

Permalink
PAYOSWXP-158: Improve logging of address violations
Browse files Browse the repository at this point in the history
  • Loading branch information
momocode-de committed Dec 19, 2024
1 parent a1dc98a commit ca924bf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down

0 comments on commit ca924bf

Please sign in to comment.