Callback Notifications
Thursday, February 4, 2016 at 01:32amHello i have registered callback url with this code and it's registered successfully
i in response json on callbackurl i have get the {} dict when package is created.
is there sometinh missing???
url = "%s/callback" % self.API_ENDPOINT
data = {
"url":"%s/esign_silanis/silanis_callback" % my_url
"key":"",
"events":["PACKAGE_CREATE","PACKAGE_DECLINE","PACKAGE_COMPLETE"]
};
try:
resp = requests.post(url, headers=self.header, data=json.dumps(data))
except Exception:
_logger.exception('An error has occurred while trying to connect to e-SignLive service')
raise ValidationError(_('An error has occurred while trying to connect to e-SignLive service'))
Thanks
Reply to: Callback Notifications
Tuesday, February 9, 2016 at 03:41am