GithubHelp home page GithubHelp logo

webhook for MFA accounts about plaid-ruby HOT 8 CLOSED

plaid avatar plaid commented on August 15, 2024
webhook for MFA accounts

from plaid-ruby.

Comments (8)

j4ustin avatar j4ustin commented on August 15, 2024

@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.

j4ustin avatar j4ustin commented on August 15, 2024

@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.

hosh avatar hosh commented on August 15, 2024

+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.

ACPK avatar ACPK commented on August 15, 2024

@j4ustin +1. Any progress on this as it's almost been a year? CC @dam13n

from plaid-ruby.

LucillaC avatar LucillaC commented on August 15, 2024

@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.

j4ustin avatar j4ustin commented on August 15, 2024

@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.

ldrbrandon avatar ldrbrandon commented on August 15, 2024

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.

be9 avatar be9 commented on August 15, 2024

Closing as outdated.

from plaid-ruby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.