-
Notifications
You must be signed in to change notification settings - Fork 133
Description
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:
- Select Apple Pay from the list of payment methods
- Select payment card
- Wait for success
- 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.
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
dropInisDropInComponent
Additional context
I was hoping the newly-exposed dismissesAutomatically property would help but it seems to be only the native system AP views.
