Adyen / adyen-web

Adyen Web Drop-in and Components
https://docs.adyen.com/online-payments
MIT License
187 stars 132 forks source link

GooglePay native payment sheet not working in newer version of Adyen Web script #2943

Closed jureperak closed 3 weeks ago

jureperak commented 3 weeks ago

Describe the bug Google Pay Native Payment Sheet is not functioning as expected in the latest version of your web script (at the moment 6.5.0). It shows the "web-view" instead of the native window. We are using Adyen Web Components/Drop-in v6.5.0 with dropin approach.

We know that your example shop, https://www.mystoredemo.io/# uses Adyen-web version 6.5.0

But we if rollback to the version e.g. 5.64.0 it will open GooglePay with Android native payment sheet.

We have tried with version 6.0.3. and also didn't work. So we assume that something was changed in major release 6.0.0

To Reproduce Steps to reproduce the behavior:

  1. Go to https://www.mystoredemo.io/#
  2. Add product to cart
  3. Go to cart
  4. Select Google Pay as the payment method.
  5. Click the "Pay with Google Pay" button.
  6. It will open Android web-view window

Expected behavior Should open Android native payment sheet

Screenshots Native example how it should be: native web-view example how it is now web-view

Smartphone (please complete the following information):

dmengelt commented 3 weeks ago

@jureperak both screens are native 😉

We are currently working on migrating everything to the more modern bottom sheet (your first image). The reason why you started seeing the older native screen (your second image) is because Adyen started to use Google Pay callbackIntents. We are currently sending traffic involving callbacks (offers, shipping, dynamic price updates) to the older native screen.

The migration for all Google Pay traffic to show the new native screen should complete still this year.

Sorry for the inconvenience...

ribeiroguilherme commented 3 weeks ago

Thanks for following up on this @dmengelt .

I am closing this issue since there is nothing we can do from the adyen-web side. Hopefully this improvement lands soon to everyone 🙏

Cheers