Skip to content

[EPC-9645] Fix empty modal issue on 3DS2 fingerprint only actions#2933

Merged
khushboo-singhvi merged 3 commits intomainfrom
ECP-9645
Apr 16, 2025
Merged

[EPC-9645] Fix empty modal issue on 3DS2 fingerprint only actions#2933
khushboo-singhvi merged 3 commits intomainfrom
ECP-9645

Conversation

@candemiralp
Copy link
Contributor

Description

The plugin loads the modal if there is any action returns from the /payments API call. However, 3DS2 action can be completed frictionless under certain circumstances. In this case, the modal is shown without a content and creates a bad user experience.

Ideally, this modal should be shown only if the action sub-type is challenge.

In order to identify the action, the plugin needs to wait for the response of /submitThreeDS2Fingerprint as the final action will be revealed after this call. As the card component is responsible for this call, we decided to implement a callback to watch all handled actions by the card component and show the modal if the action is 3DS2Challenge. Otherwise, the modal will be hidden during the payment journey.

This PR solves the issue for regular and tokenized card payments methods as well as card wallets.

Tested scenarios

Following cases have been tested on card, card vault and Google Pay payment methods.

  • 3DS2 challenge flow
  • 3DS2 frictionless flow

@candemiralp candemiralp added the Fix Indicates a bug fix label Apr 4, 2025
@sonarqubecloud
Copy link

@khushboo-singhvi khushboo-singhvi merged commit e9f1ef4 into main Apr 16, 2025
14 of 15 checks passed
@khushboo-singhvi khushboo-singhvi deleted the ECP-9645 branch April 18, 2025 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fix Indicates a bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants