Skip to content

Final animation displayed regardless of disableFinalAnimation setting for Swish payment method #3588

@rottbers

Description

@rottbers

Describe the bug

When disableFinalAnimation is set to true and Swish is used as the payment method the final animation is still displayed, this is not the case for me when for example using Card as payment method.

To Reproduce
Steps to reproduce the behavior:

  1. Setup a checkout and drop-in component with Swish in the paymentMethodComponents array and disableFinalAnimation set to true
  2. During checkout select "Swish" as the payment method and go though any steps to complete the payment.
  3. The drop-in final animation is displayed

Expected behavior

I'd expect the final animation (e.g. "Payment successful" box with green checkbox) to not be displayed when disableFinalAnimation is set to true.

Screenshots

Screen.Recording.2025-10-16.at.15.19.55.mov

Additional context

  • Browser versions tested: Firefox 144 on MacOS 26 and Safari on iOS 26
  • SDK version: 6.22.0

Metadata

Metadata

Assignees

Labels

ConfirmedIssue is confirmed and needs fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions