Docusign developer webhook not allowing http

孤人 提交于 2020-02-06 08:35:27

问题


When setting up a webhook URL I need to use an http connection for my dev account. The docs clearly say that this is a valid option. Only the production env needs HTTPS but dev env can have HTTP or HTTPS See here and here.

I have tried on the account level where it will not even allow me to save the configs if URL is not https:

Also, when trying to set up the webhook on the envelope level:

$event_notification = new \DocuSign\eSign\Model\EventNotification(); 
$event_notification->setUrl("http://subdomain.app.webhook.com:8082/docusign/");
$envelope_definition->setEventNotification($event_notification);

This throws a failure which shows in the Failed Connect Notifications section in the admin sandbox as follows:

My feeling is that the port I'm using has something to do with it. I need to use that port for various tunneling reasons. But I'm not sure how it's affecting it and the error message I receive says clearly that uri needs to start with https, which is confusing coz in dev it doesn't.
Any help is appreciated.


回答1:


You are referring to old links created before June 15, 2017, DocuSign has stopped supporting HTTP in Demo/Sandbox environment as well since June 15, 2017 for any new account created after this date in Demo or PROD. Please check DS Support link for the announcement.

You need to set HTTPS only in DEMO or PROD, For Dev purpose, I would suggest to use either NGROK or get a free HTTPS certificates are available from the Let’s Encrypt project.



来源:https://stackoverflow.com/questions/50815458/docusign-developer-webhook-not-allowing-http

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!