Adyen / adyen-magento2

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

Alipay and Alipay HK Invalid Request #909

Closed andreawiki closed 2 years ago

andreawiki commented 3 years ago

We are using adyen version 6.6.5 magento version 2.2.11 Some browser show Invalid Request after clicking Alipay payment: WhatsApp Image 2020-12-14 at 6 33 22 PM

Working Mac - Chrome Version 87.0.4280.67 Mac - Chrome Version 87.0.4280.88 Mac - Firefox 84.0

Not Working Mac - Firefox Version 80.0.1 Mac - Chrome 83 (but upgrade to 87 then ok)
Mac - Firefox 83.0 Mac - Chrome Version 87.0.4280

floorjubbega commented 3 years ago

Hi @andreawiki,

Thank you for opening this GitHub issue!

The issue seems to point towards some issues within the request for Alipay. Could you please provide us with the JSON request and response from the info.log (var/log/adyen folder) for a transaction that was successful and one that failed? You could also share these logs within the zendesk ticket you had opened with us so we can further investigate.

Regards, Floor Adyen

floorjubbega commented 3 years ago

Hi @andreawiki,

I have deleted your comment including the logs, seeing it contains sensitive information (PSP, accountname). We will look into the logs.

I did notice that the successful request was for alipay_hk (using countrycode HK), while the invalid request used the generic type "alipay". Could you make sure to use type alipay_hk for your Hong Kong transactions and see if that resolves the issue you have been seeing?

Regards, Floor Adyen

andreawiki commented 3 years ago

Hi, Please try these 3 cases, should be correct, thxx

ALIPAY 2.zip UNION PAY 2.zip ALIPAY_HK.zip

cyattilakiss commented 3 years ago

Hi @andreawiki ,

Thank you for providing these details. I've tested the following cases in a test environment with your request on my merchant account just to be sure that it's not a merchant account configuration issue and also tested these on the latest module version to see if it has been an issue on v6 but has been foxed in v7. Here are my findings:

Your requests provided with the reference: CUP and Unionpay

Alipay_HK

Alipay

In case we can find a way to reproduce the issue with Alipay and Alipay_HK we can fix it but for now I am not able to reproduce it. CUP is not supported at the moment but Unionpay is.

Updated the comment: cup is supported but your merchant account configuration might not be correct, please reach out to our support team to double check if it's indeed a plugin issue or a merchant account configuration

Best, Attila Adyen

tnaber commented 2 years ago

Hi,

Closing this issue, please reopen if this is still an active problem for you :)

Cheers, Titus