Skip to content

PM-5114: add HubSpot newsletter signup#40

Open
jmgasper wants to merge 1 commit into
developfrom
PM-5114
Open

PM-5114: add HubSpot newsletter signup#40
jmgasper wants to merge 1 commit into
developfrom
PM-5114

Conversation

@jmgasper
Copy link
Copy Markdown
Contributor

What was broken
Newly registered identity-api-v6 users were created in Topcoder systems but were not automatically subscribed to the Topcoder newsletter in HubSpot.

Root cause
The v6 registration flow did not include a HubSpot contact or communication subscription side effect, and the archived identity service did not contain equivalent HubSpot newsletter logic to port.

What was changed
Added a non-fatal registration side effect that upserts the HubSpot contact and subscribes the registered email address to the configured Topcoder newsletter communication subscription.
Documented the HubSpot configuration values required by identity-api-v6.

Any added/updated tests
Added a user service unit test covering the HubSpot contact upsert and newsletter subscription request payload for newly registered users.
The focused HubSpot registration test passes. The full test suite was run and still fails on unrelated existing spec/type drift outside this PM-5114 change.

What was broken
Newly registered identity-api-v6 users were created in Topcoder systems but were not automatically subscribed to the Topcoder newsletter in HubSpot.

Root cause
The v6 registration flow did not include a HubSpot contact or communication subscription side effect, and the archived identity service did not contain equivalent HubSpot newsletter logic to port.

What was changed
Added a non-fatal registration side effect that upserts the HubSpot contact and subscribes the registered email address to the configured Topcoder newsletter communication subscription.
Documented the HubSpot configuration values required by identity-api-v6.

Any added/updated tests
Added a user service unit test covering the HubSpot contact upsert and newsletter subscription request payload for newly registered users.
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.

1 participant