Skip to content

LG-14905: socure webhook analytics event updates#11490

Merged
amirbey merged 3 commits intomainfrom
amirbey/LG-14905-socure-webhook-events-update
Nov 12, 2024
Merged

LG-14905: socure webhook analytics event updates#11490
amirbey merged 3 commits intomainfrom
amirbey/LG-14905-socure-webhook-events-update

Conversation

@amirbey
Copy link
Copy Markdown
Contributor

@amirbey amirbey commented Nov 9, 2024

🎫 Ticket

LG-14905

🛠 Summary of changes

  • add docv_transaction_token to webhook analytics events
  • correct user_id in webhook analytics event to use the user's uuid

📜 Testing Plan

  • complete Socure DocV and verify docVTransactionToken and user_id in event logs

@amirbey amirbey force-pushed the amirbey/LG-14905-socure-webhook-events-update branch from a883e89 to 3459e53 Compare November 9, 2024 02:41
@amirbey amirbey changed the title log docvtransacton token and user's uuid in webhook analytics events LG:14905: socure webhook analytics event updates Nov 9, 2024
@tahineemay tahineemay requested a review from solipet November 12, 2024 15:59
Copy link
Copy Markdown
Contributor

@solipet solipet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few suggestions, but greatly improved!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This spec seems out of place. Maybe move to

  • with a valid webhook key (existing context)
    • when event is missing (new context)

Comment on lines 82 to 83
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're going to use the compact form, let's use it whenever we can.

Suggested change
event_type:,
reference_id: reference_id,
event_type:,
reference_id:,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
reference_id: reference_id,
reference_id:,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
reference_id: reference_id,
reference_id:,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay!

@amirbey amirbey marked this pull request as ready for review November 12, 2024 17:12
changelog: Upcoming Features, Document Authentication, Socure webhook event attribute updates
@amirbey amirbey force-pushed the amirbey/LG-14905-socure-webhook-events-update branch from eda4677 to f748595 Compare November 12, 2024 18:44
@amirbey amirbey changed the title LG:14905: socure webhook analytics event updates LG-14905: socure webhook analytics event updates Nov 12, 2024
@amirbey amirbey merged commit fb04482 into main Nov 12, 2024
@amirbey amirbey deleted the amirbey/LG-14905-socure-webhook-events-update branch November 12, 2024 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants