Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Payment method Paymentlink occurs in graphql storeconfig payment_methods field #565

Closed
t-heuser opened this issue Sep 28, 2022 · 2 comments
Labels
Question / Issue Further information is requested

Comments

@t-heuser
Copy link

Describe the bug
When requesting all available payment methods via GraphQl in the store_config query, the payment method mollie_methods_paymentlink is returned which should not happen as it's no payment method that should exist outside the admin scope.

Used versions

  • Magento Version number: 2.4.5
  • Open source/Enterprise/B2b: Open source
  • Mollie version number (Check configuration): 2.16.0

To Reproduce
Steps to reproduce the behavior:
Enable the payment method mollie_methods_paymentlink
Execute the following GraphQl query:

query storeConfig {
    storeConfig {
        payment_methods {
            image
            title
        }
    }
}

Expected behavior
The payment method mollie_methods_paymentlink is not returned.

Actual behavior
The payment method mollie_methods_paymentlink is returned.

Additional context
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?

@Frank-Magmodules Frank-Magmodules added the On Roadmap This is on our roadmap. See Roadmap.md for more details. label Oct 1, 2022
@Frank-Magmodules
Copy link
Collaborator

Hello @oneserv-heuser, 

Thanks for opening this issue. Looking at the documentation and checking the code for this specific attribute, I can’t seem to find any reference to this. Could it be that this field is provided by some custom code?

@Frank-Magmodules Frank-Magmodules added Investigating We are working on this issue together with the customer. and removed On Roadmap This is on our roadmap. See Roadmap.md for more details. labels Oct 3, 2022
@Frank-Magmodules Frank-Magmodules added Question / Issue Further information is requested and removed Investigating We are working on this issue together with the customer. labels Oct 3, 2022
@t-heuser
Copy link
Author

t-heuser commented Oct 4, 2022

@Frank-Magmodules Uff, you're absolutely right, I completely forgot about that module we have that does exactly this.
Thanks for your quick answer, I'm gonna stand in the corner to be ashamed of myself and fix the issue 😆

@t-heuser t-heuser closed this as completed Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question / Issue Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants