-
Notifications
You must be signed in to change notification settings - Fork 160
Open
Labels
Description
Describe the bug
When a user clicks the PayPal button, we make an API call to our backend. If an error occurs, we invoke actions.reject()
on the SubmitActions
object within the onSubmit
callback. While this correctly closes the PayPal popup, the corresponding overlay remains in the DOM.
To Reproduce
- Open PayPal popup
- Call
actions.reject()
insideonSubmit
callback - Observe that the PayPal popup closes, but its overlay remains in the DOM
Expected behavior
Overlay should disappear when popup is closing
Screenshots

Desktop (please complete the following information):
- Browser Chrome
Additional context
Reproducible with the latest adyen-web version
petrosstergioulas