Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel6
outlinefalse
stylenone
typelist
printabletrue

Context

Burger King customer will add their Tesco Clubcard to the Memberships section of the BK UK App and allowing them to earn Clubcard points with every BK purchase. How this would work:

  1. Customer adds Tesco Clubcard to memberships section

  2. With every purchase, customers earns Tesco Clubcard points e.g. 3 points per £1 spent

  3. The Clubcard points are then added to the customer's Tesco Clubcard account

Memberships Service

For handling all the logic related to the memberhips link we created the Memberships service that allow us to communicate with the external companies servers. According to Tesco documentation, the following diagrams represent how a user logs into Tesco via the BK app.

Identification & Get User Profile data flow

image-20241113-133054.png

Identification & Credit Tesco points

...

Complete flow (with token refresh)

...