I'd like to integrate Plaid Link with Dwolla and get a processor token in return, but am having a lot of trouble. I've had no problem integrating Plaid Link + Stripe in Node, but have had a heck of a time integrating it with Dwolla. In Node, you simply use the plaid public token and account id and exchange it for a stripe processor token like this:
plaidClient.createStripeToken(access_token, account_id, function(err, res) {
if(err) {
console.log(err)
} else {
processor_token = res.stripe_bank_account_token;
}
});
I tried the same for getting a Dwolla processor token but always get 'TypeError: plaidClient.createDwollaToken is not a function':
plaidClient.createDwollaToken(access_token, account_id, function(err, res) {
if (err) {
console.log(err);
} else {
console.log('dwolla processor token response: ' + res);
}
});
I'd really appreciate a point in the right direction or any help. It seems like there is a lot of help and support for Stripe, but not much for Dwolla whatsoever and it seems like a much harder API to integrate thus far.
via Alan
No comments:
Post a Comment