Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Pay is not shown again on dismiss of the error dialog #1800

Open
jaejoong-yoo-gtg opened this issue Oct 2, 2024 · 1 comment
Open
Labels
Confirmed bug Indicates that issue has been confirmed to be a bug by an Adyen developer

Comments

@jaejoong-yoo-gtg
Copy link

Description

In a situation where DropInServiceResult.Error with an error dialog is passed to SDK after submitting Google Pay payments, Google Pay is not shown again on dismiss of the error dialog. And, it just stays in a blank screen. It navigates back to the payment methods list if I click on the back button.
If it's hard to launch Google Pay again, it should go to the payment methods list at least, instead of staying in the middle of nowhere.

Steps to Reproduce

  1. I am able to consistently reproduce this issue: Yes
  2. Steps to reproduce the issue:
    1. Select Google Pay from payment methods list in DropIn
    2. Pay with a card that could fall into a case where DropInService would send an error result

Logs and Crash Reports

Code Snippets

This is a test code that will reproduce the issue all the time.

class PaymentsCheckoutService : DropInService() {
    override fun onSubmit(state: PaymentComponentState<*>) {
        launch {
            delay(500)
            sendResult(DropInServiceResult.Error(errorDialog = ErrorDialog(message = "error")))
        }
    }
}

Integration Information

  1. Server-side integration: Advanced flow
  2. Client-side integration: Drop-in
  3. SDK version: com.adyen.checkout:drop-in:5.6.0
  4. Android version(s) where issue occurs: API 34
  5. Device model(s) where issue occurs: Pixel 7a

Additional Context

N/A

@jaejoong-yoo-gtg jaejoong-yoo-gtg added the Bug report Indicates that issue has been marked as a possible bug label Oct 2, 2024
@OscarSpruit
Copy link
Contributor

Hi @jaejoong-yoo-gtg, thank you for reporting this bug! We were able to reproduce it and will look into a fix. We'll keep you updated on the progress.

@OscarSpruit OscarSpruit added Confirmed bug Indicates that issue has been confirmed to be a bug by an Adyen developer and removed Bug report Indicates that issue has been marked as a possible bug labels Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Confirmed bug Indicates that issue has been confirmed to be a bug by an Adyen developer
Projects
None yet
Development

No branches or pull requests

2 participants