plaid / react-plaid-link

React bindings for Plaid Link
https://plaid.github.io/react-plaid-link
MIT License
270 stars 152 forks source link

pre-selecting bank for a user does not work #334

Closed faithfulojebiyi closed 7 months ago

faithfulojebiyi commented 8 months ago

pre-selecting bank for a user does not work if using the routing number as suggested in the docs

phoenixy1 commented 8 months ago

@faithfulojebiyi Thank you for reporting this!

Plaid offers the ability to highlight (not pre-select) an institution in Link by providing the routing number to /link/token/create. This will only work for some institutions, where Plaid has the routing number on file for the institution and the routing number is unique to that institution. So there are a couple of possibilities for what could be causing this behavior:

1) Plaid doesn't have the routing number on file 2) Plaid does have it, but it isn't unique 3) The feature is working, but you are expecting it to work differently than it works (i.e. to pre-select the institution instead of highlighting it) 4) The routing number is for an institution that isn't compatible with your other settings in Link (for example, if you are initializing with investments and use the routing number for an institution that doesn't support investments) 5) There is a bug or limitation in the SDK causing this feature not to work

To help narrow down the possibilities, can you confirm that using the same /link/token/create call, you are seeing the highlight feature work in the regular web SDK but are not seeing it work in react-plaid-link?

Once you've done this, can you also provide the entire request details of /link/token/create you are using for testing?

Thanks!