-
Notifications
You must be signed in to change notification settings - Fork 5
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
Card payment method should be 'scheme'? #66
Comments
Hello @JustinElst, Thank you for creating this issue and providing a potential solution with your contribution. However, we are trying to understand the root cause of the issue on your end as we can't reproduce this behaviour and indeed successfully see card payment component on Hyvä checkout. I've already left some comments on the PR. I believe those changes shouldn't affect your implementation unless you have a customisation on For further diagnostic of the issue on your end, I would recommend checking the output of this return value. Basically, it returns an array with payment method adapter interfaces. It should have a value for AdyenCc payment method instance. Best Regards, |
Hi thanks for your reply. So I tried to debug this line. And I got this result: I checked what the response was for the /paymentMethods api: Could you explain why the Adyen_Payment module has this map, but this module does not? Because i am just 'mapping' the 'scheme' type payment method to 'adyen_cc' just as in Adyen_Payment. I don't know what the original 'card' type meant, but i can't reproduce getting that method type from the /paymentMethods api. |
Hello @JustinElst, Thank you for your response and again for your contribution. This mapping is used to filter out Magento payment methods which are not available in the As you've shared on the first screenshot, Currently, we need to stick to Best Regards, |
Describe the bug
The credit-card payment method did not show up for me. It seems like that is because the response from /paymentMethods gives the cards with the 'scheme' type payment method.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Have a credit-card payment method
Magento version
2.4.7-p3
Plugin version
adyen/module-hyva-checkout 1.2.1
adyen/module-payment 9.9.1
adyen/php-api-library 19.1.0
Desktop (please complete the following information):
Additional context
This was with the test-environment of Adyen.
Pull-request
I created a pull-request fixing the issue for me.
The text was updated successfully, but these errors were encountered: