Closed DuckThom closed 7 months ago
Thank you, @DuckThom, for bringing this issue to our attention. We will investigate your problem and its solution, and we will provide you with a response shortly. We appreciate your comprehensive report!
Hi there @DuckThom,
Again, thank you for opening this issue. We were able to reproduce this issue, and we solved it in almost the same way as your proposal. Next to that, to this from happening again, we’ve added a test to our end 2 end tests that checks if an order can be placed & paid through the GraphQL API. This will be included in our upcoming release. We appreciate your patience and for providing a clear description of the issue. Thank you.
any idea when this patch will be released?
Hi, @simonmaass, we are currently engaged in the manual Q&A process for the upcoming release. If everything goes smoothly, you can expect the release within this week. In the worst-case scenario, it will be resolved by Monday. We appreciate your patience!
@Frank-Magmodules thank you for the info!
Hello @simonmaass and @DuckThom, excited to inform you that we've successfully addressed the issue with the latest release, v2.32.3. I'm marking the issue as closed for now, but please feel free to reopen it if necessary.
Describe the bug
Used versions
To Reproduce Steps to reproduce the behavior:
mollie_available_issuers
fieldExpected behavior A list of issuers is returned
Actual behavior The exception is thrown
Screenshots If applicable, add screenshots to help explain your problem.
Additional context
Due to the added strict typing in multiple methods, the exception is now thrown where previously a NULL type was valid. One such place is the
$type
parameter in:\Mollie\Payment\Service\Mollie\GetIssuers::execute
This method is called within the same class, in the
getForGraphql
methodHowever, most of the payment methods do not have a list type in de default config, which makes
$this->general->getIssuerListType($method)
returnNULL
.For example, in
etc/config.xml
, the payment methodmollie_methods_ideal
has<issuer_list_type>radio</issuer_list_type>
. But,mollie_methods_klarna
doesn't have this set, making it NULL.This can also be seen when adding debug logging to
vendor/mollie/magento2/Service/Mollie/GetIssuers.php
to show all the methods with their issuer list type:Output:
Workaround / Patch