colinramsay.co.uk

Yodlee Fastlink Postmessage Not Working?

25 Jul 2018

The documentation for Yodlee’s Fastlink leaves something to be desired. It mentions that you can use window.postMessage to receive communications from the Fastlink iFrame, but in reality these never arrive. Unless…

Having rummaged through the Fastlink JavaScript source, I found that the postMessage would not be sent unless you specified a parameter called locationurl, something that’s only supposed to be necessary if you want to resize the iFrame. It also wasn’t clear how to add this new parameter. Turns out you have to jam it in to an extraParams parameter:

<input type="hidden" name="extraParams" value="locationURL=<Your calling URL>" />

Hopefully this saves someone else from wasting several hours while being ignored by Yodlee’s support staff.

UPDATE! Two weeks after I requested support, Yodlee sent me this:

Apologies for the delayed response. The sandbox environment doesn’t enable the post messages on the FastLink iFrame, which is why you’re not seeing a response.

Seems like they don’t know their own product too well…

Feedback or questions on this post? Create an issue on GitHub.