Adyen / adyen-magento2

Adyen Payment plugin for Magento2
MIT License
155 stars 211 forks source link

Get available payment methods returns empty response. #545

Closed sergy-gzh closed 4 years ago

sergy-gzh commented 5 years ago

Magento version: 2.3.3 Plugin version: 4.5.4 Description Configuration part: I have installed latest version of Adyen magento module. Configured the adyen account number and test API key. Enabled Adyen Credit Card. Tested payment method on frontend - works as expected. Testing the REST API according to this documentation: https://docs.adyen.com/plugins/magento-2/magento-pwa-storefront#get-payment-methods

Both endpoint for guest shopper and customer shopper return empty response. At least Adyen Credit Card expected.

rkewlani commented 4 years ago

Hi @sergy-gzh, This forum is only for code related issues and bug reporting. You may contact our support team for configuration related issues. Our tech support team will definitely help you.

Regards, Rajni

sergy-gzh commented 4 years ago

Hi @rkewlani ! The issue is code related. Please take a look at the description one more time. Perhaps I can make it more clear, please let me know what can be done.

craigew commented 4 years ago

Hi,

I am experiencing the same issue. Magento 2.3.3 Extension version 5.0.2

I can see the response from Adyen in the logs, but the Magento endpoint returns nothing.

Regards,

Craig

cyattilakiss commented 4 years ago

Hi @sergy-gzh and @craigew ,

Thank you for raising the issue, we are going to validate the docs and the endpoint asap. Can you maybe provide us the request object you send to the endpoint just to see if maybe the issue is there?

Thank you in advance, Attila Adyen

cyattilakiss commented 4 years ago

Hi @sergy-gzh ,

I just tested it with a dev instance of mine and it works well for me for both guest and logged in users for the version 5.1.0. I checked the differences between the version 5.1.0 and 5.0.2 and 4.5.4 (the ones that you mentioned in the issue report) and found that in the pull request we made some changes regarding filtering some payment methods on the frontend instead of on the backend for example the credit card payment method which you mentioned: https://github.com/Adyen/adyen-magento2/pull/591

If you upgrade to the 5.1.0 version this issue should be solved.

I will close this ticket now and tag it as already solved but please feel free to reopen it if you have more questions.

Have a great day! Best, Attila Adyen