Closed dimaMackert closed 1 year ago
@dimaMackert ,
Thank you for the pullrequest and the detailed description.
I have just forwarded the issue to the responsible developer. We will get back to you as soon as we have feedback.
Hello @dimaMackert ,
We have tested your pullrequest and already bookmarked it.
Thanks for your effort and good work.
A customer has brought to our attention that the payment method Klarna no longer appears. After debugging, I found the error. \Payone\Core\Model\Plugins\MethodList::checkKlarnaMethods
The error is in the for loop. In case of a certain order of the payment methods, an unset is set to the wrong key and the Klarna payment methods do not appear anymore.
The error occurs only when Klarna is in the last position as payment method (klarna base and only one of the klarna payment methods).
Steps to reproduce
Result: All payment methods set in Payone, except Klarna, can be seen