Skip to content

Commit

Permalink
Merge pull request #266 from mozilla-it/adr-1
Browse files Browse the repository at this point in the history
Adding doc/diagram around fxa to ctms integration
  • Loading branch information
bsieber-mozilla authored Oct 12, 2021
2 parents 507adaa + 466a745 commit 80df988
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
28 changes: 28 additions & 0 deletions adrs/madr-fxa-ctms.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Stripe Subscription Event Data Empowering Email User Journeys

* Status: proposed
* Deciders: Bryan Sieber, John Whitlock, Ben Bangert, Jon Buckley, (Benson Wong, Stephen Hood)
* Date: September 30, 2021

Technical Story: [design and document approach for marketing | https://mozilla-hub.atlassian.net/jira/software/c/projects/CTMS/boards/364?modal=detail&selectedIssue=CTMS-73]

## Context and Problem Statement

Marketing wants to be able to differentiate customers based on their subscription information to empower marketing campaigns.

## Decision Drivers

* Design sustainable system for longterm data-health
* FxA source of Truth
* Stripe rate limits


## Considered Options

* Cloud Function triggered through Firestore
* Background process in CTMS
* New temporary service

## Decision Outcome

Chosen option: " Cloud Function triggered through Firestore", because the event snapshots can be captured and published to a Pub/Sub, upon which they can be pushed to CTMS with a JWT. We believe this is a more sustainable option.
Loading

0 comments on commit 80df988

Please sign in to comment.