Skip to content

[Drop-in] BLIK payment: Missing loader overlay on first CTA click causes double submission in v5.8.0+ #2328

@wrozwad

Description

@wrozwad

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:

  1. First click: No loader overlay appears, keyboard hides (since v5.9.1), SessionDropInService.onSubmit() is triggered 1st time
    1. Bottom sheet disappears after X seconds, then loader appears
      OR
    2. User assumes nothing happened and clicks again
    3. Second click: Loader overlay appears correctly and SessionDropInService.onSubmit() is triggered 2nd time, causing payment failures
    4. Bottom sheet disappears after X seconds, next loader appears

Steps to Reproduce

  1. I am able to consistently reproduce this issue: Yes
  2. Steps to reproduce the issue:
    1. Initialize Drop-in with BLIK payment method
    2. Enter BLIK code in the payment form
    3. Click the "Pay"/"Zapłać" CTA button once
    4. Observe no immediate loader overlay (keyboard hides if v5.9.1+)
    5. User clicks the button again thinking nothing happened
    6. Check logs for double onSubmit() calls
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug reportIndicates that issue has been marked as a possible bugNeeds more infoIndicates that issue requires more info from its creatorStale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions