Closed
Description
opened on Oct 6, 2021
When a payment via the Adyen drop-in fails, we're currently blocking the entire drop-in component for 5 seconds:
dropin.setStatus( 'error', { message: error.message } );
setTimeout( () => {dropin.setStatus( 'ready' );}, 5000 );
Instead, it would be better to add the error message elsewhere on the page — outside of the drop-in component — and leave the drop-in status unaffected (or reset by setting the status to ready
).
Metadata
Assignees
Labels
No labels
Activity