Docusign Connect, кажется, отправляет нам дубликат события конверта для события Автоответчик.
Поток кажется go следующим образом:
AutoResponded
приходит событие через (без указания причины), указывающее пользователям, что есть проблема
I сейчас go в консоли Docusign, исправьте электронное письмо и повторно отправьте конверт
Sent
событие приходит через
AutoResponded
событие приходит снова с присоединенной причиной, даже если конверт был успешно отправлен
Вопрос: Почему второй AutoResponded
событие отправляется и как мне его остановить? Это похоже на ошибку!
Вот журналы XML:
1. первое AutoResponded
событие отправлено:
<?xml version="1.0" encoding="utf-8"?>
<DocuSignEnvelopeInformation
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.docusign.net/API/3.0">
<EnvelopeStatus>
<RecipientStatuses>
<RecipientStatus>
<Type>Signer</Type>
<Email>bad_email@gmail.com</Email>
<UserName>Agent Sign</UserName>
<RoutingOrder>1</RoutingOrder>
<Sent>2020-04-29T12:18:27.73</Sent>
<DeclineReason xsi:nil="true" />
<AutoRespondedReason />
<Status>AutoResponded</Status>
<RecipientIPAddress />
<AccountStatus>Active</AccountStatus>
<RecipientId>5c0a8b5a-29e6-4202-a2cb-3c1ee8a5dabd</RecipientId>
</RecipientStatus>
</RecipientStatuses>
<TimeGenerated>2020-04-29T12:18:28.8995763</TimeGenerated>
<EnvelopeID>e8a9f23a-e49d-4f51-b960-3e80d20c11b3</EnvelopeID>
<Subject>A subject</Subject>
<UserName>My Account</UserName>
<Email>my_email</Email>
<Status>Sent</Status>
<Created>2020-04-29T12:18:26.123</Created>
<Sent>2020-04-29T12:18:28.23</Sent>
<ACStatus>Original</ACStatus>
<ACStatusDate>2020-04-29T12:18:26.123</ACStatusDate>
<ACHolder>My account</ACHolder>
<ACHolderEmail>my_email</ACHolderEmail>
<ACHolderLocation>DocuSign</ACHolderLocation>
<SigningLocation>Online</SigningLocation>
<SenderIPAddress>52**** </SenderIPAddress>
<EnvelopePDFHash />
<AutoNavigation>true</AutoNavigation>
<EnvelopeIdStamping>true</EnvelopeIdStamping>
<AuthoritativeCopy>false</AuthoritativeCopy>
<DocumentStatuses>
<DocumentStatus>
<ID>1</ID>
<Name>My document</Name>
<TemplateName />
<Sequence>1</Sequence>
</DocumentStatus>
</DocumentStatuses>
</EnvelopeStatus>
<TimeZone>GMT Standard Time</TimeZone>
<TimeZoneOffset>1</TimeZoneOffset>
</DocuSignEnvelopeInformation>
2. После ручной корректировки адреса электронной почты и повторной отправки отправляется событие Sent
:
<?xml version="1.0" encoding="utf-8"?>
<DocuSignEnvelopeInformation
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.docusign.net/API/3.0">
<EnvelopeStatus>
<RecipientStatuses>
<RecipientStatus>
<Type>Signer</Type>
<Email>good_email@gmail.com</Email>
<UserName>Agent Sign</UserName>
<RoutingOrder>1</RoutingOrder>
<Sent>2020-04-29T12:20:03.667</Sent>
<DeclineReason />
<Status>Sent</Status>
<RecipientIPAddress />
<AccountStatus>Active</AccountStatus>
<RecipientId>5c0a8b5a-29e6-4202-a2cb-3c1ee8a5dabd</RecipientId>
</RecipientStatus>
</RecipientStatuses>
<TimeGenerated>2020-04-29T12:20:03.8080578</TimeGenerated>
<EnvelopeID>e8a9f23a-e49d-4f51-b960-3e80d20c11b3</EnvelopeID>
<Subject>A subject</Subject>
<UserName>My Account</UserName>
<Email>my_email</Email>
<Status>Sent</Status>
<Created>2020-04-29T12:18:26.123</Created>
<Sent>2020-04-29T12:18:28.23</Sent>
<ACStatus>Original</ACStatus>
<ACStatusDate>2020-04-29T12:18:26.123</ACStatusDate>
<ACHolder>My account</ACHolder>
<ACHolderEmail>my_email</ACHolderEmail>
<ACHolderLocation>DocuSign</ACHolderLocation>
<SigningLocation>Online</SigningLocation>
<SenderIPAddress>52*** </SenderIPAddress>
<EnvelopePDFHash />
<AutoNavigation>true</AutoNavigation>
<EnvelopeIdStamping>true</EnvelopeIdStamping>
<AuthoritativeCopy>false</AuthoritativeCopy>
<DocumentStatuses>
<DocumentStatus>
<ID>1</ID>
<Name>My document</Name>
<TemplateName />
<Sequence>1</Sequence>
</DocumentStatus>
</DocumentStatuses>
</EnvelopeStatus>
<TimeZone>GMT Standard Time</TimeZone>
<TimeZoneOffset>1</TimeZoneOffset>
</DocuSignEnvelopeInformation>
3. Сразу после отправки второго AutoResponded
события:
<?xml version="1.0" encoding="utf-8"?>
<DocuSignEnvelopeInformation
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.docusign.net/API/3.0">
<EnvelopeStatus>
<RecipientStatuses>
<RecipientStatus>
<Type>Signer</Type>
<Email>good_email@gmail.com</Email>
<UserName>Agent Sign</UserName>
<RoutingOrder>1</RoutingOrder>
<Sent>2020-04-29T12:20:03.667</Sent>
<DeclineReason />
<AutoRespondedReason>
<![CDATA[smtp; 550-5.1.1 The email account that you tried to reach does not exist. Please try 550-5.1.1 double-checking the recipient's email address for typos or 550-5.1.1 unnecessary spaces. Learn more at 550 5.1.1 https://support.google.com/mail/?p=NoSuchUser r18si2079394ilc.128 - gsmtp]]>
</AutoRespondedReason>
<Status>AutoResponded</Status>
<RecipientIPAddress />
<AccountStatus>Active</AccountStatus>
<RecipientId>5c0a8b5a-29e6-4202-a2cb-3c1ee8a5dabd</RecipientId>
</RecipientStatus>
</RecipientStatuses>
<TimeGenerated>2020-04-29T12:20:05.0110985</TimeGenerated>
<EnvelopeID>e8a9f23a-e49d-4f51-b960-3e80d20c11b3</EnvelopeID>
<Subject>A subject</Subject>
<UserName>My account</UserName>
<Email>my_email</Email>
<Status>Sent</Status>
<Created>2020-04-29T12:18:26.123</Created>
<Sent>2020-04-29T12:20:03.933</Sent>
<ACStatus>Original</ACStatus>
<ACStatusDate>2020-04-29T12:18:26.123</ACStatusDate>
<ACHolder>My account</ACHolder>
<ACHolderEmail>my_email</ACHolderEmail>
<ACHolderLocation>DocuSign</ACHolderLocation>
<SigningLocation>Online</SigningLocation>
<SenderIPAddress>52.**** </SenderIPAddress>
<EnvelopePDFHash />
<AutoNavigation>true</AutoNavigation>
<EnvelopeIdStamping>true</EnvelopeIdStamping>
<AuthoritativeCopy>false</AuthoritativeCopy>
<DocumentStatuses>
<DocumentStatus>
<ID>1</ID>
<Name>document_name</Name>
<TemplateName />
<Sequence>1</Sequence>
</DocumentStatus>
</DocumentStatuses>
</EnvelopeStatus>
<TimeZone>GMT Standard Time</TimeZone>
<TimeZoneOffset>1</TimeZoneOffset>
</DocuSignEnvelopeInformation>
А вот конфигурация: