Closed RomanMoshchytskiy closed 2 months ago
Hi @RomanMoshchytskiy,
Thank you for reporting this issue. However, trying to replicate this internally following the steps you provided, we are not able to get to the point where any errors are being thrown. Testing admin orders with Adyen credit test cards, we are able to successfully complete the orders. I would advise debugging the flow before the error is thrown to understand what could cause the issue in your end.
Kind regards, Rok
Closing this issue due to inactivity.
Describe the bug Could not create admin order using credit card payment method. Getting the following Error message
An error has happened during application run. See exception log for details.
With the following log message[2024-05-30T11:03:31.532883+02:00] main.CRITICAL: Error: Cannot use a scalar value as an array in /vendor/adyen/module-payment/Gateway/Request/CheckoutDataBuilder.php:212
To Reproduce Steps to reproduce the behavior:
Expected behavior The order was created successfully.
Magento version 2.4.5-p7
Plugin version 9.5.0
PHP version 8.1
Additional context After updating the plugin to version 9.5.0, we were unable to successfully create an admin order with test credit card data on our staging server.
Pay by link
and frontend payment methods works fine.