Skip to content

[BUG] Unable to dismiss Adyen DropIn using Apple Pay #2382

@Natelegreat1

Description

@Natelegreat1

Describe the bug
Once we get a success (or delayed) response from Apple Pay, we navigate the User to the confirmation view, thanking them for their purchase.
However, the Adyen Apple Pay view is still visible, blocking the view.
While the Apple Pay view is processing payment, the Adyen Apple Pay view can be seen behind it meaning it's not dismissing even when selecting Apple Pay from the available list of payment methods.

To Reproduce
Steps to reproduce the behavior:

  1. Select Apple Pay from the list of payment methods
  2. Select payment card
  3. Wait for success
  4. Note that Apple Pay native view dismisses but the Adyen one is still visible

Expected behavior
When finalizing and/or dismissing the drop-in VC OR selecting Apple Pay, I would expect the Adyen Apple Pay view to dismiss too.

Screenshots
Image

Environment

  • Device: Phone 16
  • iOS Version: iOS 26.2
  • SDK Version: 5.22.0
  • Adyen API Version:
  • Package management system: Swift Package Manager
  • Xcode version: 26.1.1
  • Mac OS type: M3

Relevant source code

final class DropInController: UIViewController {
...
 dropIn.finalizeIfNeeded(with: success) {
            self.dropIn.viewController.dismiss(animated: animated) {
                if self.isDisplayed?.wrappedValue == true { self.dismiss(animated: animated) }
                completion()
            }
        }
...
  • where dropIn is DropInComponent

Additional context
I was hoping the newly-exposed dismissesAutomatically property would help but it seems to be only the native system AP views.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions