...
Customer adds Tesco Clubcard to memberships section
With every purchase, customers earns Tesco Clubcard points e.g. 3 points per £1 spent
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
Identification & Credit Tesco points
...
Complete flow (with token refresh)
...