Describe the bug
When requesting all available payment methods via GraphQl in the store_config query while subselected mollie_available_issuers or mollie_meta an error occurs.
Used versions
Magento Version number: 2.4.5
Open source/Enterprise/B2b: Open source
Mollie version number (Check configuration): 2.16.0
To Reproduce
Execute the following GraphQl query while having atleast one mollie method acticated:
I know that there is an extra query molliePaymentMethods but the problem with that query is that it doesn't care about anything I set in the adminhtml as configuration for the methods, the title is ignored, which payment methods are activated, etc. Is this another bug or intended behaviour?
Describe the bug When requesting all available payment methods via GraphQl in the store_config query while subselected
mollie_available_issuers
ormollie_meta
an error occurs.Used versions
To Reproduce
Execute the following GraphQl query while having atleast one mollie method acticated:
Expected behavior The query works.
Actual behavior The query doesn't work.
Additional context The error:
The error
``` { "errors": [ { "debugMessage": "Warning: Undefined array key \"code\" in \/mnt\/c\/Users\/heuser\/PhpstormProjects\/backend\/vendor\/mollie\/magento2\/GraphQL\/Resolver\/Cart\/AvailableIssuersForMethod.php on line 49", "message": "Internal server error", "extensions": { "category": "internal" }, "locations": [ { "line": 6, "column": 13 } ], "path": [ "storeConfig", "payment_methods", 0, "mollie_available_issuers" ] }, { "debugMessage": "Warning: Undefined array key \"code\" in \/mnt\/c\/Users\/heuser\/PhpstormProjects\/backend\/vendor\/mollie\/magento2\/GraphQL\/Resolver\/Cart\/AvailableIssuersForMethod.php on line 49", "message": "Internal server error", "extensions": { "category": "internal" }, "locations": [ { "line": 6, "column": 13 } ], "path": [ "storeConfig", "payment_methods", 1, "mollie_available_issuers" ] }, { "debugMessage": "Warning: Undefined array key \"code\" in \/mnt\/c\/Users\/heuser\/PhpstormProjects\/backend\/vendor\/mollie\/magento2\/GraphQL\/Resolver\/Cart\/AvailableIssuersForMethod.php on line 49", "message": "Internal server error", "extensions": { "category": "internal" }, "locations": [ { "line": 6, "column": 13 } ], "path": [ "storeConfig", "payment_methods", 2, "mollie_available_issuers" ] }, { "debugMessage": "Warning: Undefined array key \"code\" in \/mnt\/c\/Users\/heuser\/PhpstormProjects\/backend\/vendor\/mollie\/magento2\/GraphQL\/Resolver\/Cart\/AvailableIssuersForMethod.php on line 49", "message": "Internal server error", "extensions": { "category": "internal" }, "locations": [ { "line": 6, "column": 13 } ], "path": [ "storeConfig", "payment_methods", 3, "mollie_available_issuers" ] }, { "debugMessage": "Warning: Undefined array key \"code\" in \/mnt\/c\/Users\/heuser\/PhpstormProjects\/backend\/vendor\/mollie\/magento2\/GraphQL\/Resolver\/Cart\/AvailableIssuersForMethod.php on line 49", "message": "Internal server error", "extensions": { "category": "internal" }, "locations": [ { "line": 6, "column": 13 } ], "path": [ "storeConfig", "payment_methods", 4, "mollie_available_issuers" ] }, { "debugMessage": "Warning: Undefined array key \"code\" in \/mnt\/c\/Users\/heuser\/PhpstormProjects\/backend\/vendor\/mollie\/magento2\/GraphQL\/Resolver\/Cart\/AvailableIssuersForMethod.php on line 49", "message": "Internal server error", "extensions": { "category": "internal" }, "locations": [ { "line": 6, "column": 13 } ], "path": [ "storeConfig", "payment_methods", 5, "mollie_available_issuers" ] }, { "debugMessage": "Warning: Undefined array key \"code\" in \/mnt\/c\/Users\/heuser\/PhpstormProjects\/backend\/vendor\/mollie\/magento2\/GraphQL\/Resolver\/Cart\/AvailableIssuersForMethod.php on line 49", "message": "Internal server error", "extensions": { "category": "internal" }, "locations": [ { "line": 6, "column": 13 } ], "path": [ "storeConfig", "payment_methods", 6, "mollie_available_issuers" ] }, { "debugMessage": "Warning: Undefined array key \"code\" in \/mnt\/c\/Users\/heuser\/PhpstormProjects\/backend\/vendor\/mollie\/magento2\/GraphQL\/Resolver\/Cart\/AvailableIssuersForMethod.php on line 49", "message": "Internal server error", "extensions": { "category": "internal" }, "locations": [ { "line": 6, "column": 13 } ], "path": [ "storeConfig", "payment_methods", 7, "mollie_available_issuers" ] } ], "data": { "storeConfig": { "payment_methods": [ { "mollie_available_issuers": null }, { "mollie_available_issuers": null }, { "mollie_available_issuers": null }, { "mollie_available_issuers": null }, { "mollie_available_issuers": null }, { "mollie_available_issuers": null }, { "mollie_available_issuers": null }, { "mollie_available_issuers": null } ] } } } ```I know that there is an extra query molliePaymentMethods but the problem with that query is that it doesn't care about anything I set in the adminhtml as configuration for the methods, the title is ignored, which payment methods are activated, etc. Is this another bug or intended behaviour?