Adyen / adyen-react-native

Adyen React Native
https://docs.adyen.com/checkout
MIT License
44 stars 32 forks source link

DropIn: Starting GooglePay Component. #386

Closed Alieltahan closed 6 months ago

Alieltahan commented 6 months ago

Describe the bug I'm using Adyen and working as starting it with 'dropin'. I'm sending to Adyen the desired PaymentMethod and its configuration only, so I wanted to open GooglePay Directly and avoiding seeing Googlepay as PaymentMethod and choose it in order to open GooglePay overlay.

when I start('googlepay'), and click on the button it opens normally, and when clicking on Pay the overlay hides, but the screen kept dimmed, and no log is happening in didSubmit nor didFail.

To Reproduce Steps to reproduce the behavior:

  1. Click on the button to start Adyen start('googlepay')
  2. Click on Pay.
  3. Error: Adyen over lay hidden, and screen kept dimmed.

Expected behavior Adyen closes successfully and calls didSubmit.

Smartphone (please complete the following information):

Additional context App is running on:

Alieltahan commented 6 months ago

Node v upgraded to 21.7.1, and still issue persist.

descorp commented 6 months ago

Hey @Alieltahan

What version of SDK you are using? v.1.2.0 or v2 Beta ?

I'm using Adyen and working as starting it with 'dropin'.

when I start('googlepay'), and click on the button it opens normally,

So is it a DropIn or just GooglePay?

the overlay hides, but the screen kept dimmed,

Could you provide video or GIF ?

Alieltahan commented 6 months ago

Hi @descorp

Thank you for your reply, I figured it out, it was a missed configuration in Android files.

Closing this thread as it's not an issue :)

descorp commented 6 months ago

Thanks @Alieltahan

Do you mean onActivityResult ?