burstware / expo-plaid-link

Use the Plaid Link flow inside your expo app
MIT License
34 stars 20 forks source link

onSuccess callback never triggered #16

Open jetaix opened 2 years ago

jetaix commented 2 years ago

The onSuccess event is never triggered after a successful authentification (from Revolut) and I still stuck on the white screen with the black loader. Any idea ?

To Reproduce Steps to reproduce the behavior:

  1. Select a bank (Revolut)
  2. Go to the authentification Revolut flow
  3. Success screen from Revolut
  4. Redirect to Plaid view
  5. No success event triggered / infinite loader screen

Expected behavior Get a onSuccess callback

Screenshots image

Expo (please complete the following information):

Smartphone (please complete the following information):

Additional context the last event trigger(onEvent): { "eventName": "OPEN_OAUTH", "metadata": Object { "errorCode": null, "errorMessage": null, "errorType": null, "exitStatus": undefined, "institutionId": "ins_120183", "institutionName": "Revolut (ES)", "institutionSearchQuery": null, "linkSessionId": "xxx", "mfaType": null, "requestId": "xxx", "timestamp": "2021-11-05T00:20:58.054Z", "viewName": null, }, }

JBaczuk commented 2 years ago

@jetaix Are you sure it isn't the bank that is failing to respond? Have you tried another bank? Have you tried it in a web flow?

jetaix commented 2 years ago

@JBaczuk Yes I'm sure the bank (Revolut) response a success screen, it's work with another bank, I think it's specific to the Revolut response and how the success url/event is manage by the library.

jetaix commented 2 years ago

same issue with a other french bank called CIC

erikgoins commented 2 years ago

We're having the same issue, the component is returning a HANDOFF event, but not triggering Success.

https://www.loom.com/share/1408eb53bf6d462997f56ef8f604a1be

arisopop commented 2 years ago

Hello, I am having having the same issue. I can navigate and authorize in Revolut or Barclays, but in the and is not triggering the onSuccess event.

JBaczuk commented 2 years ago

Hello, I am having having the same issue. I can navigate and authorize in Revolut or Barclays, but in the and is not triggering the onSuccess event.

Do you have any idea if there is any network activity, does their server send a reply?

arisopop commented 2 years ago

Yes, the last event is OPEN_AUTH. I authenticate my bank , i see the success message from my bank but after that is not triggering the onSuccess event.

gurudewan commented 1 year ago

Anyone know if this is fixed? Deciding where I can use this library

jordzawada commented 1 year ago

Any word here yet? I am just using Plaid sandbox values and no on success event.

The last event I get is "HANDOFF" after I hit continue.

EDIT: I do get a public token back, but the browser does not close itself.

masiamj commented 1 year ago

Experiencing the same thing. Any thoughts here?

JBaczuk commented 1 year ago

I'm sorry I don't have time to try to reproduce this issue. If anyone would like to contribute, I'm happy to take PRs. If anyone would like to take over the project, please let me know.

dcolak8figures commented 1 year ago

Same issue here, onSuccess is not being called. No way to finish linking accounts.

Laphatize commented 1 year ago

Taking a look at this.