mintable icon indicating copy to clipboard operation
mintable copied to clipboard

Plaid Supported Countries

Open okwilkins opened this issue 4 years ago • 4 comments

https://github.com/kevinschaich/mintable/blob/d5eadf6ec321cc6897ec915174f3280ffda4f541/src/integrations/plaid/plaidIntegration.ts#L126

Hi! Are there any plans on using US & GB here? It would be nice to have support for more than just the US! I did some testing with just 'GB'. Plaid seems to fetch the data correctly, but then it doesn't edit Sheet 1 at all.

okwilkins avatar Jan 17 '21 02:01 okwilkins

It was possible in v1 which I used.

I've installed v2 and I also tried changing it to other country_codes (NL in particular). But still only get US banks.. Any idea how to solve that?

The plaid docs (https://plaid.com/docs/quickstart/#setting-up-in-europe) refers to the .env file where you need to ass two variables: These are the PLAID_REDIRECT_URI and PLAID_COUNTRY_CODES variables:

1 2 3

...

PLAID_COUNTRY_CODES=GB # Or any supported European countries (ES, FR, GB, IE, NL) PLAID_REDIRECT_URI=http://localhost:3000/

However, I can't find an .env file in mintable.

lecoffeeguy avatar Apr 16 '21 09:04 lecoffeeguy

Once you've installed through npm install go to mintable\lib\integrations\plaid\plaidIntegration.js and change line 179:

country_codes: ['US'], to your country.

Do the same in mintable\lsrc\integrations\plaid\plaidIntegration.js, line 126.

You should then be able to add accounts from a new country.

jacobdtapper avatar Apr 16 '21 23:04 jacobdtapper

Hi @jacobdtapper

Once you've installed through npm install go to mintable\lib\integrations\plaid\plaidIntegration.js and change line 179:

country_codes: ['US'], to your country.

Do the same in mintable\lsrc\integrations\plaid\plaidIntegration.js, line 126.

You should then be able to add accounts from a new country.

Thanks ! I found the plaidIntegration.ts, line 126 in src folder. But there is no "lib" folder. Can't find any other file where country codes are mentioned. Only changing line 126 doesn't do the trick..

I appreciate the help !

lecoffeeguy avatar Apr 17 '21 10:04 lecoffeeguy

Hi @jacobdtapper

Once you've installed through npm install go to mintable\lib\integrations\plaid\plaidIntegration.js and change line 179: country_codes: ['US'], to your country. Do the same in mintable\lsrc\integrations\plaid\plaidIntegration.js, line 126. You should then be able to add accounts from a new country.

Thanks ! I found the plaidIntegration.ts, line 126 in src folder. But there is no "lib" folder. Can't find any other file where country codes are mentioned. Only changing line 126 doesn't do the trick..

I appreciate the help !

For me, changing line 126 to country_codes: ['CA'], // TODO (for Canada) worked well

LeontiBrechko avatar Jan 23 '22 04:01 LeontiBrechko

Thanks guys. I added some docs to the FAQs section of the README here in https://github.com/kevinschaich/mintable/commit/cf3bf811e5f7a2429a59847b7e731120e0cefcab.

kevinschaich avatar Sep 21 '22 16:09 kevinschaich