Comments (8)
@dam13n WebHooks aren't built into the library yet. I'll add this in as an enhancement. Should be out in the same release as transaction settings.
from plaid-ruby.
@dam13n I've added the options hash to the add_user call. You should now be able to use webhooks in your calls. I'm not closing this issue yet as I'm not satisfied with the tests for this specific issue.
It was just pushed up in the latest release to fix some other bugs, and didn't break any existing functionality.
from plaid-ruby.
+1 for webhooks
I also don't see complete documentation on webhooks in the API docs. I see what the "standard format" is, and the different kinds of webhook responses, but nothing on how to set it up, or the URL I can expect to be called after submitting a URL as a webhook.
from plaid-ruby.
@j4ustin +1. Any progress on this as it's almost been a year? CC @dam13n
from plaid-ruby.
@j4ustin I'm also curious if there has been any progress, I've been trying to implement web hooks and they do not appear to fire on any calls other than initial and historical transaction pulls
from plaid-ruby.
@apck @LucillaC, I am no longer a maintainer on this project in particular due to a massive job change I had that took over my duties. I let the team over at Plaid know about this way back in Q1 of this year. @michaelckelly might have more insight as to how feature requests can be made.
Sorry for the trouble it may have caused.
from plaid-ruby.
I actually just tested out a patch for the User.upgrade method and it works for adding a webhook to a user provided you're upgrading to 'connect' permissions.
So the method now looks like so:
def upgrade(api_level=nil, webhook=nil)
if api_level.nil?
api_level = 'auth' unless self.permit? 'auth'
api_level = 'connect' unless self.permit? 'connect'
end
opts = { access_token: self.access_token, upgrade_to: api_level }
opts[:options] = {webhook: webhook}.to_json if !webhook.blank? && api_level == 'connect'
res = Connection.post('upgrade', opts)
# Reset accounts and transaction
self.accounts = []
self.transactions = []
update(res)
end
And you use it the same as before, restore a user (or create one)
plaid_user = Plaid.set_user('test_chase', ['auth'])
then just call it like so: plaid_user.upgrade('connect','http://requestb.in/')
the .upgrade
method still works the same if you upgrade to something else and don't pass in a webhook url
from plaid-ruby.
Closing as outdated.
from plaid-ruby.
Related Issues (20)
- Getting NoMethodError when creating a link_token
- Need A Better Check for `Rails.logger` HOT 3
- Ruby 3.0 support HOT 3
- Error in README file example HOT 1
- client_id must be a properly formatted, non-empty string HOT 1
- Feature request - ability to use custom faraday middleware HOT 6
- Is it possible to support setting verification status for same day micro deposits item? HOT 1
- Configuring a timeout works correctly, but raises a `Plaid::ApiError` instead of some kind of timeout error HOT 10
- Plaid return false on require 'plaid' and some classes didn't work HOT 4
- Support Faraday 2 HOT 3
- IdentityVerificationUserData is not checking for nil on phone number response HOT 1
- DateTime is deprecated
- Use autoLoad to speed up loading code HOT 14
- Creating a Plaid::ApiError object with a string as argument doesn't work as intended HOT 4
- calling .transactions per docs raises NoMethodError HOT 1
- Recurring Transfer status cancelled invalid date (Date::Error) HOT 1
- InstitutionsSearchRequest does not allow products to be null HOT 3
- Exception raised when trying to inspect or get message from Plaid::ApiError HOT 5
- Invalid Attributes HOT 2
- Sandbox webhook transfer not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plaid-ruby.