-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Labels
Bug reportIndicates that issue has been marked as a possible bugIndicates that issue has been marked as a possible bugNeeds more infoIndicates that issue requires more info from its creatorIndicates that issue requires more info from its creatorStale
Description
Description
After upgrading to SDK version 5.8.0, there's a regression in the Drop-in BLIK payment flow where the loader overlay doesn't appear immediately on the first CTA ("Pay"/"Zapłać") button click. This creates a poor UX where users think nothing happened and click the button again, resulting in double payment submission and "Ticket Used" errors.
Refused ER_TIC_USED The BLIK code was already used within the last 180 seconds.
Expected behavior: Loader overlay should appear immediately after clicking the pay button to prevent multiple submissions.
Actual behavior:
- First click: No loader overlay appears, keyboard hides (since v5.9.1),
SessionDropInService.onSubmit()is triggered 1st time -
- Bottom sheet disappears after X seconds, then loader appears
OR - User assumes nothing happened and clicks again
- Second click: Loader overlay appears correctly and
SessionDropInService.onSubmit()is triggered 2nd time, causing payment failures - Bottom sheet disappears after X seconds, next loader appears
- Bottom sheet disappears after X seconds, then loader appears
Steps to Reproduce
- I am able to consistently reproduce this issue: Yes
- Steps to reproduce the issue:
- Initialize Drop-in with BLIK payment method
- Enter BLIK code in the payment form
- Click the "Pay"/"Zapłać" CTA button once
- Observe no immediate loader overlay (keyboard hides if v5.9.1+)
- User clicks the button again thinking nothing happened
- Check logs for double
onSubmit()calls
- Screenshots or a screen recording:
App.2.20.1.Adyen.5.6.0.mp4
App.2.21.0.Adyen.5.14.0.-.single.click.mp4
michalewandowski
Metadata
Metadata
Assignees
Labels
Bug reportIndicates that issue has been marked as a possible bugIndicates that issue has been marked as a possible bugNeeds more infoIndicates that issue requires more info from its creatorIndicates that issue requires more info from its creatorStale