You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to go to the 2nd step of checkout, the following error is being thrown
ArgumentCountError: Too few arguments to function MultiSafepay\HyvaCheckout\Plugin\Checkout\Model\MethodMetaData\IconRendererPlugin::beforeRenderAsSvg(), 2 passed in vendor/magento/framework/Interception/Interceptor.php on line 121 and exactly 3 expected in vendor/multisafepay/magento2-hyva-checkout/Plugin/Checkout/Model/MethodMetaData/IconRendererPlugin.php
When trying to go to the 2nd step of checkout, the following error is being thrown
Issue can be explained because the method arguments weren't taken over exactly as they are in Hyvä Checkout: https://gitlab.hyva.io/hyva-checkout/checkout/-/blob/main/src/Model/MethodMetaData/IconRenderer.php?ref_type=heads#L62, and if you call
renderAsSvg
with one argument, then the code will crash.This change fixes it:
The text was updated successfully, but these errors were encountered: