Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] ComponentError.cancelled triggered on opening external application #1591

Open
cdelmer opened this issue Mar 25, 2024 · 6 comments
Open
Labels

Comments

@cdelmer
Copy link

cdelmer commented Mar 25, 2024

Describe the bug

We're seeing a spike of issues primarily affecting bcmc_mobile and vipps where the components are sending an ComponentError.cancelled error, even though the payment gets authorized later through a notification.

From tracking events we were able to deduct that:
AdyenActionComponent.handle(_ action: Action) is called
ActionComponentDelegate.didOpenExternalApplication(component: ActionComponent) is not called
ActionComponentDelegate.didFail(with error: Error, from component: ActionComponent) is called with ComponentError.cancelled error.

To Reproduce
We can't figure out exactly in what configuration this happens, but from conversation with affected users:

  1. Select bcmc_mobile
  2. Authorise payment in bank app
  3. Our app opens again and user will see an error resulting from ActionComponentDelegate.didFail(with error: Error, from component: ActionComponent) method

Screenshots
We logged the error caught in didFail method in Crashlytics; the following screenshots are for one of the users affected by this issue
Screenshot 2024-03-25 at 20 32 31
Screenshot 2024-03-25 at 09 42 41

Environment

  • iOS Version: > 14
  • SDK Version: 5.6.0
  • Package management system: SPM
  • Xcode version: 15.2
@cdelmer cdelmer added the bug label Mar 25, 2024
@goergisn
Copy link
Contributor

Hi @cdelmer,
From what I can see the BrowserComponent is invoked which should not be the case for the bcmc_mobile flow.
Which might be caused by url of the RedirectAction being a http(s) url instead of a "deeplink".

To be able to dive deeper into this issue we might need some additional info.
Could you please get in touch with the technical support team to provide more information?

Best,
Alex

@aifrim-tgtg
Copy link

aifrim-tgtg commented Mar 26, 2024

Hey @goergisn,

The technical support team has sent us to github. Please check case 03634911, contains a few psp references. We can provide more examples if needed.

Regards,

@goergisn
Copy link
Contributor

Hi @aifrim-tgtg
perfect I will check and get back to you asap :)

@aifrim-tgtg
Copy link

Hey @goergisn,

Any news on this?

Regards,

@goergisn
Copy link
Contributor

goergisn commented Apr 5, 2024

Good morning @aifrim-tgtg,

We are looking into it but I don't have any updates on it yet.
I'll keep you posted here as soon as I know more.

In the meantime it might be interesting for the technical support team to know when this behavior started and/or if any update of api/sdk happened.

Best,
Alex

@aifrim-tgtg
Copy link

Yes, we migrated from 4.11.1 to 5.4.1 (and now to 5.7.0). The issue started with 5.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants