Ask A Question

Notifications

You’re not receiving notifications from this thread.

Receiving Webhooks in Development with Ngrok and Docusign Discussion

Rupert Maspero Rupert Maspero

Would really appreciate the embed signature stuff if possible.

Reply

Its a year late, so probably not still fresh on your mind, but I would love to see the embedded signature video. I am new to programming in general, so all the help visualizing is appreciated..

Reply
+1 for embedded signature
Reply
+1 same for embedded. 
Reply
Any update on the Embedded video?

Reply
Web hooks just aren't appearing in ngrok. All it's showing me are gets. I'm following along, and it's clearly connected and updated the database, but it's not showing them in NGrok
Reply
No help with this, please?
Reply

Had the same problem, but seems to be solved by using the https:// url from Ngrok instead of http://

Reply
For people that are asking about embedded signing,  I actually did this recently on a project. Basically, Docusign have an endpoint which returns the url for embedded signing. With the url, you simply redirect the customer off site to sign and then docusign will redirect them back to your app with a status. 


Create JSON like so 

signing_url_json = {
    userName: "something"
    email: email,
    recipientId: "1",
    clientUserId: 1,
    authenticationMethod: "email",
    returnUrl: url
}


Then post that JSON to the endpoint


"/envelopes/#{envelopeId}/views/recipient", signing_url_json.to_json


I can go into much more detail if people want me to. 
Reply

hey,
the tutorial is great,
but I have a problem when creating user and the envelope in the console with my local server connected to ngrok, the post request is not done http: //3f554bf3.eu.ngrok.iodocusign/webhooks.xml

Reply

For anyone following along using Rails 6.0 - an extra step is required.

If you seeing an error like:

Blocked host: a620ba29.ngrok.io
To allow requests to a620ba29.ngrok.io, add the following to your environment configuration:
config.hosts << "a620ba29.ngrok.io"

Open your config/environments/development.rb file and add:

# Whitelist ngrok connections to development enviroment.
config.hosts << /[a-z0-9]+\.ngrok\.io/

This will whitelist the ngrok subdomain to access your rails host.

credit: Mike Rogers

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 85,376+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.