Hello,
Greetings for the day!
I am using IAV flow for verification and used given demo code for it. But i am getting error as mentioned below. I have mentioned steps also which which I have performed.
Error: {“code”:“CommunicationError”,“message”:“Unable to communicate with iframe. Serving this page over https instead of file should fix the problem.”} – Response: undefined
- Created personal verified customer
- Got iav-token for that customer
- Implemented js code according to this
https://developers.dwolla.com/resources/funding-source-verification/instant-account-verification.html
<script type="text/javascript">
$('#start').click(function() {
var iavToken = '4adF858jPeQ9RnojMHdqSD2KwsvmhO7Ti7cI5woOiBGCpH5krY';
dwolla.configure('sandbox');
dwolla.iav.start(iavToken, {
container: 'iavContainer',
stylesheets: [
'https://fonts.googleapis.com/css?family=Lato&subset=latin,latin-ext'
],
microDeposits: false,
fallbackToMicroDeposits: false
}, function(err, res) {
console.log('Error: ' + JSON.stringify(err) + ' -- Response: ' + JSON.stringify(res));
});
});
</script>
Please feel free to reach me if you have any queries. We are waiting for your response.
Thank you.