travoltron / plaid

Laravel specific wrapper for Plaid
MIT License
28 stars 11 forks source link

Exchange Token Endpoint is Broken #9

Open MakerScott opened 7 years ago

MakerScott commented 7 years ago

The exchangeToken endpoint should point to: "item/public_token/exchange" not "exchange_token". I assume the API changed at some point.

travoltron commented 7 years ago

Which branch did you install from? 2.0 is under some heavy modification all over the place, so it may be a little wonky.

In the meantime, I'll take a look at that endpoint and see if I can patch that for you.

MakerScott commented 7 years ago

Master branch. It looks like all the endpoints need to change. I would take a look at that. It's my first time working with Plaid, so I'm not sure if they pushed breaking changes. I also didn't need to call the tartan URI in config, and I changed that to sandbox. The sample JS they provide on their site to launch Link uses the sandbox environment. The token can only be exchanged using the sandbox URI on the server side, and using my own client_id and secret vars.

travoltron commented 7 years ago

Yeah, looks like I'm operating on a legacy branch. This all is a wholesale change, with each product now being a distinct ITEM , and having its own access_token. Hrmmm. It might be a minute while I redo this. Thanks for the heads up.

travoltron commented 7 years ago

FWIW, I didn't get any notice from Plaid and I use their API in two different projects, and my existing connection works without trouble. But these all represent breaking changes.

However, they've been nothing short of amazing to work with thus far.

MakerScott commented 7 years ago

Interesting. I definitely got it working by adjusting these settings. It's possible they may have a legacy API that still works for older customers.

travoltron commented 7 years ago

No doubt, otherwise I'd have many other fires burning...

Oh well, time to revamp.

On Mar 26, 2017 5:58 PM, "Scott Weiner" notifications@github.com wrote:

Interesting. I definitely got it working by adjusting these settings. It's possible they may have a legacy API that still works for older customers.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/travoltron/plaid/issues/9#issuecomment-289319731, or mute the thread https://github.com/notifications/unsubscribe-auth/AChkMmhAC9Jhb47LmwVEK1yqL2CiFoh2ks5rpt-JgaJpZM4Mpfkc .