Adyen / adyen-magento2-express-checkout

Adyen Magento 2 Express Checkout Module
MIT License
8 stars 2 forks source link

[PW-8234] BrowserInfo - JavaEnabled not being passed. #22

Closed gene-simonb closed 1 year ago

gene-simonb commented 1 year ago

Describe the bug When an express payment is being completed we are getting errors saying the javaEnabled value is not being passed to Magento which is causing an issue with the payment being accepted.

To Reproduce Steps to reproduce the behavior: Go to GooglePay Express payment. Proceed to checkout. Network request comes back with "Error with payment method. Please try and different method" Check Adyen PSP and the error is Refused (15_002 Required field javaEnabled missing for device channel browser)

Expected behavior Go to GooglePay Express Proceed to checkout. Payment should be accepted and works fine.

Additional context From raising a support ticket with your team we have spotted that an acutal request will send.

"browserInfo" : {
      "userAgent" : "Mozilla\/5.0 (iPhone; CPU iPhone OS 16_1_1 like Mac OS X) AppleWebKit\/605.1.15 (KHTML, like Gecko) Version\/16.1 Mobile\/15E148 Safari\/604.1",
      "acceptHeader" : "*\/*",
      "colorDepth" : 32,
      "language" : "en-GB",
      "javaEnabled" : false,
      "screenHeight" : 896,
      "screenWidth" : 414,
      "timeZoneOffset" : 0
   },

Where as the GooglePay express only sends

"browserInfo" : {
      "userAgent" : "Mozilla\/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit\/605.1.15 (KHTML, like Gecko) Version\/13.0.3 Mobile\/15E148 Safari\/604.1",
      "acceptHeader" : "application\/json, text\/plain, *\/*",
      "language" : "IE"
   },
candemiralp commented 1 year ago

Hello @gene-simonb,

Thank you for raising this issue. We created an internal investigation ticket for this issue. We will inform you when we finish the investigation.

Best Regards, Can