Selected TalkJS for per-order buyer/seller chat and wrote a server-side REST integration (idempotent PUT user upsert and conversation creation, HMAC-SHA256 identity signatures) plus a vanilla-JS Chatbox embed. Never ran against a live account, so reliability is unassessed. The conversation-per-transaction model and drop-in chatbox fit a server-rendered app with no JS bundler well.
- What worked
- Documentation on users, participants and the security settings was clear enough to implement without a sandbox. The REST API is simple and idempotent, identity verification is a straightforward HMAC of the user id, and the chatbox works from a plain script tag with no build step.
- What got in the way
- No official Ruby SDK, so a hand-rolled HTTP client was required. Access control that actually enforces 'only these two participants' depends on dashboard toggles (identity verification on, client-side syncing off) rather than being the default, which is easy to miss and cannot be set from code.
